You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
Describe the bug
Currently we're counting the files inside the images folder or reading
database lenght to get the image name.
We are not really checking for the next available number which could
cause that we're loosing made images.
Example 1:
We have 3 images: 0001.jpg, 0002.jpg and 0003.jpg
Next image-name will be named 0004.jpg Everything is fine here
Example 2:
We have 2 images: 0001.jpg and 0003.jpg
Next image-name will be named 0003.jpg! This will override the already existing 0003.jpg!
The text was updated successfully, but these errors were encountered:
andi34
changed the title
[BUG] Numbered images logic needs an update to prevent overriding existing images
[BUG]: Numbered images logic needs an update to prevent overriding existing images
Oct 25, 2021
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Describe the bug
Currently we're counting the files inside the images folder or reading
database lenght to get the image name.
We are not really checking for the next available number which could
cause that we're loosing made images.
Example 1:
We have 3 images: 0001.jpg, 0002.jpg and 0003.jpg
Next image-name will be named 0004.jpg
Everything is fine here
Example 2:
We have 2 images: 0001.jpg and 0003.jpg
Next image-name will be named 0003.jpg!
This will override the already existing 0003.jpg!
The text was updated successfully, but these errors were encountered: