need more info. is the image stored in the db? or just the link? if the image isn't stored in the db then is your problem that the record is deleted but not the file itself? if so, how are you deleting the file? are you using unlink()? can you provide more info and some code?