I have a zip file containing images as a static resource. After repackaging the zip and uploading a new copy I'm no longer able to access the contents from VisualForce pages.
I access the image like this in the VF page:
<apex:image url="{!URLFOR($Resource.Doc_images, 'image.png')}"/>
That worked fine originally, but after updating the zip the image can no longer be found. The static resource is there and I can download it from <server>/resource/<id>/MyNamespace__Doc_images
. The downloaded zip is not corrupted and appears to have the right files inside.
But <server>/resource/<id>/MyNamespace__Doc_images/image.png
is not found.
Did anyone experience this before, and is there a solution / workaround?