NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Thomas on April 13, 2008, 11:19:33 PM

Title: pre Web project question - Images
Post by: Thomas on April 13, 2008, 11:19:33 PM
Hello,
I need to display thumbnail images (JPG). To one selected record belonging 1 to 200 images. These images are in seperate folders as files and the path is stored in DB. According to available size (frameset) the images must show i.e. 5 in a row a.so. Can this be done with Webserver ?
TIA, Thomas
Title: Re: pre Web project question - Images
Post by: Bruce on April 14, 2008, 12:00:35 AM
Hi Thomas,

I'm not sure if I understand your question 100%, but here's what I think you're saying.

You have a parent table (let's call it "User").
There is a related table (let's call it "Photos") which contains many records for each User.
(the record contains the path to the image on disk.)

You'd like to make a browse on Photos where each row of the browse is 5 photos wide?
yes, you can do this.

Regarding thumbnails - there are a few approaches to this. One is to store pre-thumnailed versions of each image. This is obviously the fastest. The other is to generate a thumbnail of the image on the fly. You can do this using a normal Clarion Image library - something like ImageEx or FreeImage should do fine.

cheers
Bruce