I have a data collection called Projects, to which I'll add items for the books, films and YouTube shows I'm working on.
I want to add an image for each item, but I'm having problems with the image on the Dynamic Item Page as the images are of different sizes. Some of them are landscape, others portrait and as they come from different sources, few of them are the same size. If I use a landscape image placeholder, then portrait images are cropped to show only the middle of the image and vice versa. Stretching images also produces unsatisfactory results.
Is there a setting I've missed when designing the image placeholder? Or is it a matter of running code when the page loads, perhaps based on fields in the data collection for ImageHeight and ImageWidth?
Any advice gratefully received.