Loading product photos of different sizes
- Started
- Last post
- 7 Responses
- adev0
No, they're not that far off, just enough to make making a nice organized grid a PITA without having a lot of white space around the products to handle the differences
- adev0
Dropdown, that Jquery one will work great. Thanks!
- acescence0
you could pick one critical dimension and just give your image tag that dimension and leave out the other. you can then at least force a width and maintain proper ration.
or... you could have a cron job that runs and finds new directories/images and resizes them.
- mikotondria30
use some php to resize and rescale it on the front-end..
http://pastie.org/638481
- dropdown0
one of many Jquery methods:
- acescence0
if the sizes aren't varying too far beyond the ideal then do it on the front end, but if you have huge images that you're displaying as thumbnails, you're wasting tons of resources pushing those out and should resize on the back end