JoomGalleryfriends / JG4-dev

Development repository for JoomGallery v4.x
GNU General Public License v3.0
10 stars 6 forks source link

[Upload service] Alias is not correctly generated if image title comes from metadata #107

Open MrMusic opened 1 year ago

MrMusic commented 1 year ago

Steps to reproduce the issue

Set in configuration in the Uploads tab: 'Target image field' -> "Title" and 'Source Metadata Field' -> "Title (iptc)" Upload an image that has content in the 'IPTC title' field.

Expected result

After uploading the image title has the content of the IPTC title field. The alias of the image should be created from the image title.

Actual result

The alias is created from the 'general title' or from the filename, depending on whether 'Original filename' is activated in the configuration.

Additional comments

The alias is probably created before the image title is finalised.