Cover images I uploaded are missing.
I think it was caused by running the “clean_unused_images.php” script from the tools menu (contributed scripts).
The records in video data that have Cover URL field values containing “cache/img/n.jpg” (where “n” is a number”) are missing the image files.
The records in video data that have Cover URL field values containing “http:// --- “ were not removed by the cleanup script.
I presume the image files in cache/img/ with long numeric filenames are copied images from the IMDB and the image files I located from different sources (e.g. Amazom.com) copied and uploaded are named n.jpg and were removed by the cleanup script.
Thus I suspect the “clean_unused_images.php” script removed these files. I looked at the code, but I am not experienced enough with PHP to identify where the error exists. It might have to do with the “cache_file_exists” function (in ./core/cache.php), or how the value in the Cover URL field of the videodata table is populated.
It would be nice if someone could identify a fix for this; but at least other uses should be warned not to use the “clean_unused_images.php” script until a fix is released. Or – disable that script in the Tools menu until a fix is identified.
I did perform a backup prior to running the script – so I do have the missing files and can recover.
I would like to understand the encoding of the filenames in the cache/img directory and how those filenames match the value stored in the Cover URL field of the videodata table – if someone cares to explain.