Forum

Thread tagged as: Runway

Image preview not showing

"Select or upload a file" does not always show a preview after selecting an image.

After saving and a refresh JPEGs and PNGs previews appear. However, SVGs don't show a preview at all.

The images are always added to the content ok though - i.e. you can view it on the live web page.

Any idea of how to get this working? I've tried both Chrome and Firefox.

Robert Chambers

Robert Chambers 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show me your diagnostics report?

No problem - just sent it via a private ticket. Thanks.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok...

Does your server have the SVG mime type configured? Do SVGs show on the front end?

Yes, the SVGs show fine on the front end.

The mime type looks fine in the response header if you access the SVG direct too.

JPEGs and PNGs aren't always showing a preview straight away too. Although a refresh seems to make those appear.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you on the latest version?

Yes, Perch Runway: 2.7.5

Drew McLellan

Drew McLellan 2638 points
Perch Support

Do you get any errors in the browser console?

The only error I see in the console is: "Failed to load resource: the server responded with a status of 404 (Not Found) chosen-sprite@2x.png">https://staging.mydomain.co.uk/cms/core/assets/css/chosen-sprite@2x.png"

Drew McLellan

Drew McLellan 2638 points
Perch Support

Presumably that's no the image you're attempting to upload?

No, that's not the upload image.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, I'll see if I can replicate it.