Show image from url

Hi!
I’m trying to show an image from an URL. Can it be done?
I can’t add the image as an asset because I’m importing links via zapier → CMS.

I tried this JQuery code:
$( document ).ready(function() {
console.log( “ready!” );
var photo_link = $(“#photo_link_text”).text();
$(“#image”).attr(“src”,photo_link);
});

I get a Cross-origin-read-blocking error.

Have you tried doing it as an HTML embed?

Thanks for the quick answer.
I was using “code embed”. Same as HTML embed?
I found my error; My picture link wasn’t actually not a picture, but a web page with my picture and more. Problem solved. The code above worked when the ID #photo_link_text was set to a URL with a jpg.

Thanks again.

2 Likes