Open gjost opened 1 year ago
sorl-thumbnail
has no way to clear/clean individual thumbnails, so solved this by deleting the thumbnails manually:
/var/www/ddrpublic/media/cache/
Biggest problem was that browsers cached the thumbnails aggressively and it was difficult to tell if the fix worked.
If we had a larger collection we'd probably have to write a script that used the API to get filenames and stuff.
Collection files are video interviews. Access files were imported via
access_path
i.e. not generated byimagemagick
from the videos. There was a mismatch between the images and their associated videos. The image files were fixed and republished, but the thumbnails have already been made and are not updating.sorl.thumbnail
generates the hashed filenames from the filenames, geometry, and efx rather than the file contents, so the existing thumbnails are "stuck".sorl.thumbnail
doesn't seem to have a way to clear particular images.Proposed fix: