Download available at: http://techrepublic.com.com/5138-3513-5873162.html
How organized (or disorganized) is your photo gallery? Is there anything that PHP cannot do?
Discussion on:
View:
Show:
Good script! Thank you. But here's I had to fix for middle of "Listing B":
should be
should be
But there was no text appearing after "should be". There appeared to be a blocked image.
... should be <img src=thumbnail.php?file=$file>
My guess is you entered the code directly. When the website tried to display it, it parsed the HTML tags instead of simply showing them. (oops).
This reminds me vividly of putting "\n" repeatedly in my PHP and wondering why there weren't any line breaks in browser. It wasn't until I viewed the source that I realised I should have been echoing "<br>" instead (and I almost forgot to use the ASCII in THIS sentence).
My guess is you entered the code directly. When the website tried to display it, it parsed the HTML tags instead of simply showing them. (oops).
This reminds me vividly of putting "\n" repeatedly in my PHP and wondering why there weren't any line breaks in browser. It wasn't until I viewed the source that I realised I should have been echoing "<br>" instead (and I almost forgot to use the ASCII in THIS sentence).
my browser is firefox and my host uses exif but nothing seems to work. the only response from the thumbnail.php is the path where the thumbnail resides. and the gallery.php gives me a blank screen with nothing on it. I am a novice to php. could some one send me a example of one that works with the directory included. I think that is screwed up
only one photo is coming from the folder but i have more than 3 photos how to resolve?
I see the exif information but no thumbnail images
It is so important when you provide sample code to check syntax.
You have:
imgsrc (this is invalid.)
img src is the correct syntax. You left out a space. Otherwise great article.
You have:
imgsrc (this is invalid.)
img src is the correct syntax. You left out a space. Otherwise great article.
- Keyboard Shortcuts:
- Prev
- Next
- Toggle









































