DIAGNijmegen/website-content

Replaced image is not re-optimized?

keelinm opened this issue · 1 comments

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.

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.