Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-23-2003, 09:35 PM   #1
besterman
Confirmed User
 
Join Date: Jan 2003
Posts: 623
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?
besterman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-23-2003, 09:51 PM   #2
Arty
Confirmed User
 
Join Date: Nov 2002
Posts: 880
Quote:
Originally posted by scorpion3600
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?
Try placing them in a fixed size table area based on the biggest one...
Arty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-23-2003, 09:56 PM   #3
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
if you use php for it you can read the dimensions of the pic and then use them the way suitable.
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-23-2003, 10:07 PM   #4
liquidmoe
Confirmed User
 
Join Date: Mar 2002
Location: NY
Posts: 4,994
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.
liquidmoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.