Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
problem with picture direct download url and spaces https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=77 |
Page 1 of 1 |
Author: | sophana [ 28. Oct 2005, 22:25 ] |
Post subject: | problem with picture direct download url and spaces |
Hi When direct download is enabled, when there is a space in a picture filename the picture url is malformed. The space is converted into a +. Note that there is no problem with the dir name, the space changed into + is only for the filename. |
Author: | TinyWebGallery [ 31. Oct 2005, 11:39 ] |
Post subject: | |
i'll take a look. direct dl is always a apecial case because the url has to be encoded differently there then for normal usage. I haven't checked this parameter for a while. /michael |
Author: | infirmus [ 21. Feb 2006, 09:34 ] |
Post subject: | Re: problem with picture direct download url and spaces |
sophana wrote: Hi
When direct download is enabled, when there is a space in a picture filename the picture url is malformed. The space is converted into a +. Note that there is no problem with the dir name, the space changed into + is only for the filename. Yeah I'm experiencing the same problem. |
Author: | TinyWebGallery [ 21. Feb 2006, 10:14 ] |
Post subject: | |
I'll check this for 1.4. Put this on ly toto list ... just don't use direct download meanwhile ? Why are you using the direct download anyway? /Michael |
Author: | TinyWebGallery [ 21. Feb 2006, 16:41 ] |
Post subject: | |
Hi, I just checked this for 1.4 - I already fixed this here. Working on the documentation right now - will 1.4 be released soon Or send me an email if you like to test 1.4. /Michael |
Author: | infirmus [ 2. Mar 2006, 12:23 ] |
Post subject: | |
TinyWebGallery wrote: I'll check this for 1.4.
Put this on ly toto list ... just don't use direct download meanwhile ? Why are you using the direct download anyway? /Michael The main (only?) reason I use direct download is so that when users save the file it has the correct filename instead of the name of the php script. |
Author: | TinyWebGallery [ 2. Mar 2006, 18:42 ] |
Post subject: | |
o.k. I'll check if I can change that ! |
Author: | infirmus [ 3. Mar 2006, 04:17 ] |
Post subject: | |
TinyWebGallery wrote: Hi,
I just checked this for 1.4 - I already fixed this here. Working on the documentation right now - will 1.4 be released soon Or send me an email if you like to test 1.4. /Michael It still doesnt work in 1.4! [edit] I fixed it by changing line 99 of image.inc.php from Code: $image_full = $basedir . "/" . $twg_album . "/" . $image; toCode: $image_full = $basedir . "/" . $twg_album . "/" . urldecode($image);
|
Author: | TinyWebGallery [ 3. Mar 2006, 10:18 ] |
Post subject: | |
Hi - try the latest dl. 1.4 is online now because funpic killed my account. and this was the only version I had right now ... /Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |