gregstoll / gallery2

A fork of the Gallery project (galleryproject.org) that supports PHP 8
GNU General Public License v2.0
44 stars 24 forks source link

Allow using a modern slugify method for files and folders #120

Closed miceno closed 1 year ago

miceno commented 1 year ago

A new feature to allow choosing the way the app converts image file names. It is relevant for security and also for compatibility with the file system.

For international users, the modern slug method allows transliteration of accented chars, like ñ or á.

For example: Converts a file name like Fotografía (España) [1924].jpg to fotografia-espana-1924.jpg, while classic slug method converts it to Fotograf__a _Espa__a_ _1924_.jpg.