Fix file name generation for uploaded images - #120
Conversation
rdy4ever
commented
Jan 28, 2026
| Questions | Answers |
|---|---|
| Description? | In the latest version of the module, newly uploaded slides (for example, after upgrade) have wrong file names (double extension concatenated in the name and no dot to separate it - for example: 48fef018a667ee0b10f9d4da0c619f8186a00f5test_namejpgjpg). This PR fixes the file name generation. |
| Type? | bug fix |
| BC breaks? | no |
| Deprecations? | no |
| Fixed ticket? | Fixes #119 |
| How to test? | Upload new images and see that now the file names are correct |
|
Hello @rdy4ever! This is your first pull request on ps_imageslider repository of the PrestaShop project. Thank you, and welcome to this Open Source community! |
|
QA — verified ✅ Reproduced the filename generation on
Before, This also resolves #126 (same line, "saved without a dot/extension") — they're the same bug, so #126 can be closed as a duplicate of #119 once this is merged. LGTM. |