Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

download gif ok, but not jpg ...
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3218
Page 1 of 1

Author:  zanrf [ 20. Jan 2012, 13:44 ]
Post subject:  download gif ok, but not jpg ...

Hello,
with TWG 1.8.3, I try to donwload pictures in .jpg... but this does not work (in .gif it's ok)
In debug:
01.20.2012 12:40:06 - Action:dir; Directory: __/__/pictures/Hiver 2011-2012
Request: /admin/upload/tfu_file.php?action=dir&dir=&ts=1327059607169&tfu_rn=1326215536960615377157051870105&tfu_is_flash_10=1&tfu_ut=-1&TFUSESSID=90f5020b3a995ba69e5d873b732265d1
Stack: tfu_file.php:52:tfu_debug:Action:dir; Directory: ../../pictures/Hiver 2011-2012

Thanks
Franz

Author:  TinyWebGallery [ 20. Jan 2012, 16:29 ]
Post subject:  Re: download gif ok, but not jpg ...

you mean you download through the uploader?

You can enable direct download in admin/upload/tfu_config.php if your server somehow kills jpg.
I just tested on my demo with TWG 1.8.7 and then ir work fine.

- Michael

Author:  zanrf [ 21. Jan 2012, 15:42 ]
Post subject:  Re: download gif ok, but not jpg ...

Thanks for your answer.
I try with : $allowed_file_extensions = 'all';
but it's the same...
01.21.2012 14:40:06 - Action:dir; Directory: __/__/pictures/Hiver 2011-2012
Request: /admin/upload/tfu_file.php?action=dir&dir=&ts=1327153205319&tfu_rn=1326572481319888369037154684968&tfu_is_flash_10=1&tfu_ut=0&TFUSESSID=01d6fe7806b3423f0e39a88926b190ca
Stack: tfu_file.php:52:tfu_debug:Action:dir; Directory: ../../pictures/Hiver 2011-2012

Author:  TinyWebGallery [ 22. Jan 2012, 20:37 ]
Post subject:  Re: download gif ok, but not jpg ...

the part you post has nothing to do with the download. The action has to be "download".

And have you enabled direct download?

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/