Single and multiple images

2 posts by 2 authors in: Forums > CMS Builder
Last Post: September 30, 2019   (RSS)

By MercerDesign - September 30, 2019

Hi, I am building a site that needs to be as simple as possible for my client, I have an image upload area so they can load up a single image or multiple images, so basically I want the CSS to recognise if a single image has been loaded up or if multiple images have been loaded up, so if only one image has been uploaded I want the CSS to be max-width:100% but if more than one image then the CSS changes so the image is max-width: 50% and float:left. Can this be done?