RE: [PHP-DB] One more GD ? -- filename

2005-04-06 Thread Bastien Koert
Have a look here...I have some sample code on calling images from a db. It used the two pages like you do here and passes the ID back and forth to the image production page...maybe it will help http://www.weberdev.com/get_example-4062.html bastien From: Craig Hoffman [EMAIL PROTECTED] To:

Re: [PHP-DB] One more GD ? -- filename

2005-04-06 Thread Craig Hoffman
I believe the problem is somewhere in the GD script. Because when I view the source it shows an empty variable. I should at least see the name of variable in the source. Any ideas? img src='include/function_gd.php?route_photo='..'' height='x' width='x' align='center' id='image' On Apr 6,

RE: [PHP-DB] One more GD ? -- filename

2005-04-06 Thread Juffermans, Jos
Hi, If I understand correctly, you're using include/function_gd.php?route_photo=$thumb as image source which is the script you pasted. If you use a script as image source, the script should output the image data - not just store the image. I'm not sure what you're trying to do but if you have an

Re: [PHP-DB] One more GD ? -- filename

2005-04-06 Thread Craig Hoffman
Hi Jos, I understand what your saying. The problem is all the image names are listed in the DB (image.jpg, image1.jpg and so on) and all images have titles attached. For example, Title: Large Green Sea Turtle Image: LargeGreenSeaTurtle.jpg As you can see, the GD script randomly pulls photo

RE: [PHP-DB] One more GD ? -- filename

2005-04-06 Thread Juffermans, Jos
-Original Message- From: Craig Hoffman [mailto:[EMAIL PROTECTED] Sent: 06 April 2005 18:12 To: php-db@lists.php.net Cc: Juffermans, Jos Subject: Re: [PHP-DB] One more GD ? -- filename Hi Jos, I understand what your saying. The problem is all the image names are listed in the DB

Re: [PHP-DB] One more GD ? -- filename

2005-04-06 Thread Craig Hoffman
] One more GD ? -- filename Hi Jos, I understand what your saying. The problem is all the image names are listed in the DB (image.jpg, image1.jpg and so on) and all images have titles attached. For example, Title: Large Green Sea Turtle Image: LargeGreenSeaTurtle.jpg As you can see, the GD script