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!
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!