IÂ´m having a problem in displaying employees images. If I upload an image to a employee, it shows the image but cuts it to fit the image-box. In image.py the comments say it maintains the aspect ratio but it doesnÂ´t.
The solution IÂ´ve found, is to display the field 'image' in the view and not 'image_medium' or 'image_small'. Only with 'image' is fits the image keeping the aspect ratio.
Anyone knows how images work and why they donÂ´t keep aspect ratio?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/29/13, 1:40 PM|
|Seen: 756 times|
|Last updated: 3/16/15, 8:10 AM|