PDA

View Full Version : Latest thumb as a file?


Janvanhove
01-12-2006, 07:42 AM
The latest thmub addon is nice, and usefull, but I was wondering if there was a way to have a non-dynamic URL for that thumb? i.e. the script genarates a file with a name like "latestthumb.jpg" so that linking from other sites doesn't run the php script for each page print...

I'm in no way a php programmer, so modifying the script myself or writing one from scratch is rather out of the question...

Any suggestion or ideas are welcome!

PJ

raminia
01-12-2006, 08:04 AM
it might work for u
http://www.pixelpost.org/v1/index.php?x=downloads&details=80

Janvanhove
01-12-2006, 08:11 AM
yes, that's what I'm using for now, and it works (I'm even using to display my latest thumb as my avatar on some forums... :) ), but it runs the index.php script every time the thumb is called for from another page...

Maybe it's just wishful thinking to have it done automatically, and that I have to do it manually, copy the front page thumb to a static location so that others can pick it up...

PJ

raminia
01-12-2006, 08:45 AM
yeap. there is a modification/hack in the forum that creates a file named latest_thumb.jpg

Janvanhove
01-12-2006, 11:28 AM
Sorry, but I can't seem to locate the hack...:confused:
Could you point me to the right thread?

Thanks!

PJ

raminia
01-12-2006, 11:32 AM
I didn't find it before. it's somewhere ... ummm sorry i dont' know where.:)

raminia
01-12-2006, 11:37 AM
btw the addon I introduced should work 'cause you should ahve PHP in the site that runs PP and it only needs that. there was a better and similar addon by tinyblob for that as well.

raminia
01-12-2006, 11:39 AM
OK I found the link to that mod:
http://forum.pixelpost.org/showpost.php?p=6066&postcount=9
with this you can use a link to latest thumb as
http://www.my_photoblog.com/thumbs/last_thumb.jpg

Janvanhove
01-12-2006, 04:47 PM
Thanks !

I'll try that...

PJ