Automatic photo zoom

velo#9415986
velo#9416236