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 24. Nov 2024, 11:39

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  [ 8 posts ] 
Author Message
PostPosted: 19. Sep 2008, 18:02 
Offline

Joined: 11. Sep 2008, 16:35
Posts: 5
I had been trying TWG 1.7.4, but it quit working, so I installed 1.7.5 on another site. Looking at the admin page, though, I see that it still says v 1.7.4.

Anyway, I set up a directory on my home server and added a few images. Then, I created a similar directory in TWG on my hosted server and put a u-r-l-dot-t-x-t file there pointing to the home server pix.

Then, I clicked on "Create Cache" to create the cache images. The thumbs were created, but the small images weren't and do not get created until someone clicks on the image, but, as you know, this is way too slow. How can I get the "Create Cache" feature to work for the small images, too?

There was one other thing that wasn't working, but I don't recall now. I'll post it when next I encounter it.

Great script! Thanks.

Jere


Top
 Profile  
 
 Post subject:
PostPosted: 20. Sep 2008, 17:43 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
strange. because the small and the thumbs are created the same way - only a different size.

The cache only get generated once - therefore only the person the watches the small image first has to wait once.

Do you get any messages in the log file?
If you have created the cache and refresh the page: does it try to create the cache again or does it say that the cache is created.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 20. Sep 2008, 23:39 
Offline

Joined: 11. Sep 2008, 16:35
Posts: 5
Tried it on 1.7.4, too, with same results--thumbs generated, no small images.

There are no messages in the log file.

If I generate the cache and then refresh the page, the cache which was just generated is deleted, and it says that x images need to be generated.

Jere


Top
 Profile  
 
 Post subject:
PostPosted: 21. Sep 2008, 00:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The cache is deleted? This is very strange because this is only done if you trigger this explicitly in the backend or the files are older then the cache setting.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Sep 2008, 02:38 
Offline

Joined: 11. Sep 2008, 16:35
Posts: 5
I have PM'd you login info.

Jere


Top
 Profile  
 
 Post subject:
PostPosted: 21. Sep 2008, 09:59 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
i only saw that 0 image needed to be generated ...


/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Sep 2008, 14:52 
Offline

Joined: 11. Sep 2008, 16:35
Posts: 5
There are 4 images in the remote directory:

gordon3_Taps-1965-011.jpg
gordon3_Taps-1965-020.jpg
gordon3_Taps-1965-021.jpg
gordon3_Taps-1965-080.jpg

If you go to TWGXplorer and look in the cache folder, you will see that there are only thumbs for these photos and no small pix.

Here's a screenshot via SmartFTP:

Image

Jere[/img]


Top
 Profile  
 
 Post subject:
PostPosted: 21. Sep 2008, 17:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I checked the code and you were right - for external images where the size could not be determined the cache was not build. I have change the code that the cache is build now.
But the resize_only_if_too_big parameter is ignored then. The images are always resized. For most users this does not matter at all ;).

Redownload the 1.7.5 version from the forum and update the inc folder.

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 65 guests


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