sturbitt Posted February 20, 2007 Share Posted February 20, 2007 I have built a web site to display pictures in a directory structure (with the help of this forum). In the past I just called a php script (picture.php) from a HTML link to calculate and display the thumbnails i.e.: echo "<TD> <A HREF=\"picture.php?image=$passeddirectory/$file&size=1024\"> <img src=\"picture.php?image=$directory/$file&size=150\" alt=\"$file\" /> <A/>"; However I am to trying and speed up my web site I would like to store the resulting thumbnail. So how do I run my script and capture the resulting image? i.e.: $thumb = "picture.php?image=$passeddirectory/$file&size=150"; I know this is wrong but can it be done? Thanks again for your help! Cheers Steven Quote Link to comment Share on other sites More sharing options...
willpower Posted February 20, 2007 Share Posted February 20, 2007 collect it is a session var perhaps Quote Link to comment Share on other sites More sharing options...
sturbitt Posted February 20, 2007 Author Share Posted February 20, 2007 I have just done some redesigning and work out a way of getting the info I need into the picture.php script. Cheers Steven Quote Link to comment Share on other sites More sharing options...
willpower Posted February 28, 2007 Share Posted February 28, 2007 pehaps you could share this for others to view. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.