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

Renaming filename doesn't work
https://www.tinywebgallery.com/forum/viewtopic.php?f=13&t=2829
Page 2 of 2

Author:  TinyWebGallery [ 23. Dec 2010, 09:14 ]
Post subject:  Re: Renaming filename doesn't work

it seems that only the images with a big JPG extensions are affected!

I check that the extensions cannot be changed - maybe this could be a problem.

I'll check...

- Michael

Author:  TinyWebGallery [ 23. Dec 2010, 13:39 ]
Post subject:  Re: Renaming filename doesn't work

I found the problem.

it's because of the .JPG + the activated normalization which makes all filenames lowercase. So the extensions do not match anymore.

I have changed this setting in your profile.
Additionally I changed the check in JFU that it is not case sensivive at this point. This is already available in 2.12.1.
Then both settings work toghether.

Best,
Michael

Author:  momba [ 23. Dec 2010, 19:34 ]
Post subject:  Re: Renaming filename doesn't work

I still can't edit the *.JPG ones... which I understand I can edit them by ftp but I really need to make this "user-proof".

Something in the settings still seems to be case sensitive.

Author:  TinyWebGallery [ 23. Dec 2010, 19:39 ]
Post subject:  Re: Renaming filename doesn't work

Edit? I thought we talk about rename - Just testet - works fine.

- Michael

Author:  momba [ 24. Dec 2010, 02:51 ]
Post subject:  Re: Renaming filename doesn't work

Yes, yes rename. I meant to say "rename" not edit.

Author:  momba [ 24. Dec 2010, 03:21 ]
Post subject:  Re: Renaming filename doesn't work

I tried changing a *.JPG file to *.jpg and it still doesn't work for me... do I have to uninstall and upgrade to 2.12.1 to make this work?

Author:  TinyWebGallery [ 24. Dec 2010, 10:23 ]
Post subject:  Re: Renaming filename doesn't work

Just check the error message! you are changing the extension! If you like this you have to enable this in the config. Because of seurity reasons the default is that extensions cannot be changed.

But for the next version I could loosen this restriction that it could be done case insensitive...

someone renames a .php file to jpg - uploads it - renames it back to .php end exacutes this on the server!

- Michael

Author:  TinyWebGallery [ 24. Dec 2010, 10:38 ]
Post subject:  Re: Renaming filename doesn't work

Small update - just enhanced the flash locally. I do some tests and update then the download as well.

- Michael

Author:  TinyWebGallery [ 24. Dec 2010, 11:18 ]
Post subject:  Re: Renaming filename doesn't work

Now in JFU 2.12.1 the case of extensions can be changed even when rename of extensions is not allowed because I think this is safe ;).

- Michael

Author:  momba [ 28. Dec 2010, 04:27 ]
Post subject:  Re: Renaming filename doesn't work

I just upgraded and renaming files works perfectly. Many, many thanks.

Author:  TinyWebGallery [ 28. Dec 2010, 10:27 ]
Post subject:  Re: Renaming filename doesn't work

great.

- Michael

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