![]() |
Dynamic Gallery question for programmers
Has anybody solved the problem of how to layout a dynamically generated gallery where the thumbs and images are both landscape and portrait and vary in the # on the page? Is this an if-else question and a query to each image type? Is there a faster solution?
|
Quote:
|
if you use php for it you can read the dimensions of the pic and then use them the way suitable.
|
use and template toolkit. Separates your code and html so you dont go blind and/or stupid when you do updates and it's very robust in it's features so you could pretty much just chalk it up anyway you wanted. Use ImageMagick/perlmagick to get dimensions and resize to thumbnails on the fly or once and cache.
|
All times are GMT -7. The time now is 09:27 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123