Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 1. Oct 2022, 20:50

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 23. Jun 2006, 03:20 
Offline

Joined: 22. Jun 2006, 22:06
Posts: 2
I am looking to be able to link directly to the resized (medium size) image for use on bbs's. However many do not allow a dynamic images inside [ img] tags. Is there any way to do this? I think I would be satisfied if I could link to a cashe image but the medium image does not appear to be stored in cashe the way the thumbnail is.

Any ideas?

-luv
http://www.klinetimes.com/gallery.php


Top
 Profile  
 
 Post subject:
PostPosted: 23. Jun 2006, 10:18 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

bbs's ?

anyway - you can link to the small images as well - just use the link from a thumbnail and change the extension from

"thumb.jpg"
to
"small.jpg"

TWG is using direct link to the cache for thumbnails because its just much faster ;)
For the small image this is not done because I track the downloads. This would not be possible for a direct link.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 23. Jun 2006, 16:04 
Offline

Joined: 22. Jun 2006, 22:06
Posts: 2
Thanks for the tip!

bbs's ? - fourms, just like this one (bbs=bulletin board system)

If the cashe is cleared and recreated do the new files have the same name as the old ones did? IOW if the cash was cleared would links to those images break?

Thanks again.

-luv


Top
 Profile  
 
 Post subject:
PostPosted: 23. Jun 2006, 16:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
jep - they will have the same name.

and yes - if you clear the cache the link will break of course. the automatic generation is done if you call the image over the image.php!

You should maybe also disable the optimzation of the cache dir - the .small.jpg are removed if they are not touched for x days.

change
$cache_time=42;
to
$cache_time=-1;


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy