Announcement

  •  » Beta testing
  •  » watermarks and special characters in file name

#1 2014-08-24 11:02:21

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13790

watermarks and special characters in file name

Hi rvelices,

Today I've encountered the problem twice: an "exotic" character in watermark file name breaks derivatives generation. Examples of today:

* N@t'photo.png
* tous droits réservés.png

(the space doesn't seem to be the problem, but single quote and accents are a problem).

Do I add a preg_match on watermark submission? Better idea? (automatic renaming)

Offline

 

#2 2014-08-24 11:44:30

rvelices
Former Piwigo Team
2005-12-29
1960

Re: watermarks and special characters in file name

I think automatic renaming is better.

Offline

 

#3 2014-08-25 03:53:31

michaelh99
Member
Texas
2014-08-19
46

Re: watermarks and special characters in file name

Does "automatic renaming" mean you'd silently change the name of the file I've specified?

If so, as a user I'd prefer you leave my file name alone and either use it as-is (ideal) or tell me what's wrong and make me fix it.

And if I'm coming late to this party and poking my nose in where it's not wanted, just ignore me.  I'm a new user.

Offline

 
  •  » Beta testing
  •  » watermarks and special characters in file name

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact