Forum Moderators: coopster
can any one tell me
How to show the large images when i click on the thumbnails or mouse over on them in dreamweaver CS4
In the Dreamweaver we had an option called "Create a Web Photo Album"
but through this option we can't get the images from the database and show them as i said above
can anyone tell me the tutorials link for it or any suggestion hot to do it
hope you understood my question
thanks in advance
if you pull your name from a database and then store it in a variable called $imgnum and you use the same number with a t_ prepended to represent the thumb then you could represent the thumbnail with 't_' . $imgnum
I also don't store images in the actual db, I store the names and paths in the db but the images themselves sit in a directory somewhere
none of that may seem to answer your question but we would have a link like so
<?php
echo '<a href="',$imgnum,'.jpg"><img src=t_"',$imgnum,'.jpg"></a>';
?>
I hope that helps a bit
if you are just looking for how to show an image from a db take a look at this
[webmasterworld.com...]