Suggestion: Do the query and get the max image w & h (should be stored in the db)
pass the results back to the main window where a JavaScript onLoad function creates a single popup that can handle the largest dimensions, plus buttons for the slide show. An optional way is show thumbnails & allow click to display enlarged image. There was a tag on the exchange to get image size -- CF_ImageSize, i think! Dick On Wednesday, November 13, 2002, at 12:31 PM, Bob Haroche wrote: > I'm working on a feature where a visitor can click on a link for "more > photos". That triggers a pop up window which displays the first of X > images in a slideshow. The list of images is created from a db query. > > The images will be uploaded by the client and may not be all the same > dimensions. I'd like to have the slideshow window dynamically adjust > to expand or contract around each image currently being displayed. > > I know this had to be done at some time so I'm looking for a good > custom tag or script to start with. > > Two questions: > > 1. Any recommendations for such a script? > > 2. Using CF5 how would one grab an image's width and height? > > Thanks. > > ------------- > Regards, > Bob Haroche > O n P o i n t S o l u t i o n s > www.OnPointSolutions.com > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

