in reply to clickable slide show perl

Hello and welcome,

Please check your formatting next time (that's what the preview button is for).

I don't know exactly what your question is, but here are some quick pointers:

Image resizing: you can use Image::Magick to scale images. Alternatively you can just resize an image in HTML using the width and height attributes of the IMG tag (ugly and slow, but it works).

As for the slide show: I'd just use something like:

print qq[<a href="show.cgi?image=$previd">previous</a> <a href="show. +cgi?image=$nextid">next</a>];
And get the $previd and $nextid form your database.

Joost

Replies are listed 'Best First'.
Re: Re: clickable slide show perl
by jwlarson3rd (Acolyte) on Dec 04, 2003 at 02:37 UTC
    sorry about formatting. exactly how would I get $previd and $ nextid from mysql database.I already scale the pictures and compress on upload.I can already display all of the images as buttons on one generated page (cgi.pm) what I am trying to do is when a user clicks on a thumbnail image he activates (using onclick event ) clickable slide show with next,prev,exit links.