Omer Levy6850816
Posts: 0
Joined: Mon May 05, 2014 1:49 am

Image src from URL MIME

How do I get around the issue:

Resource interpreted as Image but transferred with MIME type text/html: "http://appery.io/404.htm"

When setting the src field of an image asset to a url? The url is of type a href="https://" rel="nofollow"https:///a. Do I need to base64 encode that image before the src can be assigned, or can I do this another way?

Appery("myImage").attr('src', myURL);

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Image src from URL MIME

Hello,

You don't need base64 encode if you want to use https;// URL. I can't reproduce this issue with image component and https:// URL. Could you tell us the steps how can we reproduce this?

Return to “Issues”