Hi, allow me to try to explain what I'm trying to acheive.
I want to dynamically pull in images as backgrounds to my template layout, however these images could be of any size. Using only CSS, I would like to resize these background images to ensure that:
- The image never appears more than 200px wide
- The image never appears more than 200px tall
- Images smaller than 200x200 are not resized at all
- Aspect ratio is always maintained
Any ideas what the nescessary code would be?