ticket:14 Fixed photo scaling.