When an image is deleted, the files are successfully deleted from the image folder, but when an image with the same file name is uploaded, the file name gets incremented (test_0.thumbnail.jpg). It should not increment when there is'nt an existing image with the same name.

Comments

walkah’s picture

Status: Active » Closed (fixed)

the renaming is done by the file.inc file api ... so not an image bug. However, it sounds like what's happening is you're trying to re-upload the image prior to cron's cleaning out the images/temp directory.

you can work around this by cleaning out the temp directory before re-uploading

Uwe Hermann’s picture

Status: Closed (fixed) » Active

Correct, I had to do this once or twice, too. Please document this behavious somewhere, though.

Uwe.

drewish’s picture

Status: Active » Closed (fixed)

This version is no longer supported. If this issue is occurring with a more recent version please open a new issue.