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 28. Apr 2024, 04:58

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  [ 12 posts ] 
Author Message
PostPosted: 24. Apr 2009, 17:43 
Offline

Joined: 9. Feb 2009, 18:16
Posts: 80
Location: Rochester, MN USA
Is it possible to somehow mark several images for download and then run that as a batch?

We have a website that is an image gallery for a synchronized skating team that parents upload to. Now we are trying to make scrapbooks and parents are trying to download a lot of images - but not all images. Drilling down through an image to download it and then back out to get the next is kind of a hassle.

I understand that there is a way to eliminate a step having a click on the preview download the image rather than opening it (enable_direct_download I think), but it seems to me that stray clicks could end up downloading many unwanted images.

I tried having someone select multiple images in the JFU uploader and downloading them, but they have to name each picture instead of just accepting the original name and downloading all images at once. It would be nice if I could do something with the TWG explorer sidebar in the gallery.

If you need to look at the site, I can send a login by PM.

T.


Top
 Profile  
 
 Post subject:
PostPosted: 24. Apr 2009, 17:50 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
In TWG you can enable download as zip if you provide a zip with all images.
See: http://www.tinywebgallery.com/en/faq.php#h19

And in JFU you can also enable download as zip. You only have to make sure that the zip file can be created on the fly.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 24. Apr 2009, 18:31 
Offline

Joined: 9. Feb 2009, 18:16
Posts: 80
Location: Rochester, MN USA
TinyWebGallery wrote:
And in JFU you can also enable download as zip. You only have to make sure that the zip file can be created on the fly.


How would you create the zip file on the fly?


Top
 Profile  
 
 Post subject:
PostPosted: 24. Apr 2009, 18:40 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
it's created temporary in the same directory as the files are.

Any you have to enable it in the config.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 24. Apr 2009, 18:58 
Offline

Joined: 9. Feb 2009, 18:16
Posts: 80
Location: Rochester, MN USA
The only thing I found in the config was "$enable_download_as_zip=true;".
This is enabled for me but the description sounds as if it is just for premade zip files.

I also selected several images in JFU but couldn't find a way to download as zip.


Top
 Profile  
 
 Post subject:
PostPosted: 24. Apr 2009, 19:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You use JFU - why do you dig around in the tfu_config.php?
ALL settings are set in the backend and loaded from the database. And these settings do overwrite the settings in tfu_config.php (They are actually set in my_tfu_config.php)

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 24. Apr 2009, 19:59 
Offline

Joined: 9. Feb 2009, 18:16
Posts: 80
Location: Rochester, MN USA
Oh, now I get it.

I tried enabling zip through the JFU config. I selected a bunch of images and ran the download. It allowed me to name the zip file and said it was preparing the download, but it didn't take very long and the download was only 4k. What is the maximum number or size of a download, or where is it specified?


Top
 Profile  
 
 Post subject:
PostPosted: 24. Apr 2009, 20:16 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Check if you have a tfu.log in the tfu directory. Maybe the zip file was getting too big. Start with only 2 smaller files to check if it works.

Which version of JFU are you using?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 24. Apr 2009, 22:02 
Offline

Joined: 9. Feb 2009, 18:16
Posts: 80
Location: Rochester, MN USA
JFU is 2.8.1

This was in tfu.log:

04.24.2009 21:26:44 - File cannot be processed because not enough memory is available! Needed: ~127206400. Available: 83886080

I have memory set to 80M in php.ini. The images are about 5.5mb each.

T.


Top
 Profile  
 
 Post subject:
PostPosted: 24. Apr 2009, 22:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
have you tried with 2 files only?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 24. Apr 2009, 22:35 
Offline

Joined: 9. Feb 2009, 18:16
Posts: 80
Location: Rochester, MN USA
A small quantity of files does work.


Top
 Profile  
 
 Post subject:
PostPosted: 24. Apr 2009, 22:53 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Problem is that the zip is created in memory. and php can only do the amount that fits into memory.

for TWG you can create the zip manually like I have described before.

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 8 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:
powered by phpbb | Datenschutz/ Privacy policy