DIAGNijmegen / website-content

This repository stores all the content for the diag websites.
MIT License
5 stars 74 forks source link

Replaced image is not re-optimized? #500

Open keelinm opened 1 year ago

keelinm commented 1 year ago

If an image is replaced (with an image of the same name), the optimization should re-run. Need to check if this happens, as it appears that it may not.

michellestegem commented 3 months ago

Need to check if this happens -> is checked; optimization does not happen when an image is replaced but not renamed

Temporary workaround: Rename the image, such as changing 'name-member.png' to 'name-member_renamed.png', then push the updated file name. Afterward, rename the image back to its original name. As a result, optimization is triggered again for this image due to its removal and return.