- Issue created by @isaacrc
- last update
6 months ago 15 pass - Issue was unassigned.
- Status changed to Needs review
6 months ago 10:13am 15 May 2024
Files with the same name in the same folder but with different extensions are overwritten during conversion. For example, if you have image.png, image.jpg, and image.jpeg and convert all the images to .jpg, you will end up with only one image.jpg. This results in three different file IDs (fid) pointing to the same URI, with the other two files being deleted.
- Go to the config page: /admin/config/media/image-resizer
- Select "jpg" in Enforce image type
- Upload different images with the same name but different extension, example (image.jpg and image.png) in the same year-month
directory.
- Process the queue and verify that now you only have image.jpg and both images are pointing to only one and that the other has been
deleted.
Use getDestinationFilename from FileSystem
Provide a MR
Needs review
1.0
Code