If some image was deleted, the ID is lost. The idea behind this seems to be clear to me (re-using the ID could result in old references to this ID getting re-activated with the wrong target). Still there should be a possibility to re-use the ID, e.g. if a screenshot was accidentally deleted.
Idea of implementation:
- in the matrix view, next to the "Add" button an input could be placed (for the ID to replace), together with an additional checkbox (confirm replace) which is by default always unchecked. If used, on submit there should be an additional warning (Javascript popup or additional page in between)
- selecting "screenshots/1" (where "1" is a deleted ID) either by typing in the URL or by following some broken link, a user with SCREENSHOTS_ADMIN should not only receive the error message, but the possibility to upload a new screenshot.
Well, Radek - looks like I'm keeping you busy, huh? ;)