PDA

View Full Version : OVERLIB and THUMBNAIL LINK what is it??


dvolve
03-02-2006, 12:08 AM
I have been looking everywhere! and I mean everywhere!

Okie, this should be simple, how do I use overlib to show the current photo in thumbnail format?

the problem is I cant figure out what the direct link to the latest thumbnail is (not dynamic of course)

I thought it would be this:

http://your-site.com/index.php?showthumb=latest&thumbtag=image

But when I put that in my URL, it goes straight to the main page with the main current photo... not the latest thumbnail...

Any help would be great!!!

PS I know OverLib pretty well so all I need is the actual thumbnail link... thats all!


cheers,
Andre'
http://dvolve.com/photo

GeoS
03-02-2006, 01:33 AM
And did you uploaded this addon:
http://pixelpost.org/v1/index.php?x=downloads&details=80

dvolve
03-02-2006, 02:12 AM
And did you uploaded this addon:
http://pixelpost.org/v1/index.php?x=downloads&details=80

I just did... but now all I see are ASCII characters...

I remember reading something about that, but I can't seem to find what forum it was in...

dvolve
03-02-2006, 02:21 AM
I just did... but now all I see are ASCII characters...

I remember reading something about that, but I can't seem to find what forum it was in...



See????


http://www.dvolve.com/photo/index.php?showthumb=latest&thumbtag=image

GeoS
03-02-2006, 06:29 AM
It need correct header before. It looks like binary file just same as all graphic files :)

dvolve
03-02-2006, 08:26 AM
It need correct header before. It looks like binary file just same as all graphic files :)


what do you mean correct header? ive checked the headers and they are what they are supposed to be.

can you expand on your answer? thanks!!!!

GeoS
03-02-2006, 06:56 PM
I.e. before sending it to browser you can send info to it that data will be JPEG image (because otherwise browser can't know what it is and how to interpret):
header('Content-Type: image/jpg');

dvolve
03-03-2006, 12:40 AM
I.e. before sending it to browser you can send info to it that data will be JPEG image (because otherwise browser can't know what it is and how to interpret):
header('Content-Type: image/jpg');


Okay, now where do I put that??? Not in the main index or my image template?? or is it?

GeoS
03-03-2006, 11:42 AM
Somewhere before sending content of image. I dont have code of this plugin in front my eyes so right now I cant help you. Maybe at evening Ill look on it.
Write me a PM about it.