Jump to content

Add image to post-submit message

Recommended Posts

Site URL: https://www.whatrocks.co/en/survey

Hi everyone,

I'm trying to add a QR code in the post-submit message of a form block.

I have added the following piece of code in the HTML block of the post-submit page:

<img src="https://images.squarespace-cdn.com/content/v1/59eb2e94f9a61e52138e4b0f/ed91fe6a-1a39-4b21-888c-546172ea199e/Non-geolocated+QR+Code+McDonald%27s+CA+%28QR+code+Monkey%29.png" alt="" /><img class="thumb-image" data-src="https://images.squarespace-cdn.com/content/v1/59eb2e94f9a61e52138e4b0f/ed91fe6a-1a39-4b21-888c-546172ea199e/Non-geolocated+QR+Code+McDonald%27s+CA+%28QR+code+Monkey%29.png" data-image="https://images.squarespace-cdn.com/content/v1/59eb2e94f9a61e52138e4b0f/ed91fe6a-1a39-4b21-888c-546172ea199e/Non-geolocated+QR+Code+McDonald%27s+CA+%28QR+code+Monkey%29.png" data-image-dimensions="1095x1095" data-image-focal-point="0.5,0.5" alt="" data-load="false" data-image-id="622ec7eef5f19a1c406ab005" data-type="image" />

But the QR code still doesn't show.

Could you please kindly advise?

Thanks!

Link to comment
  • Replies 1
  • Views 511
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Try the following.

<img src="http://images.squarespace-cdn.com/content/v1/59eb2e94f9a61e52138e4b0f/ed91fe6a-1a39-4b21-888c-546172ea199e/Non-geolocated+QR+Code+McDonald%27s+CA+%28QR+code+Monkey%29.png">

I think the main thing that was tripping you up was ending your img tags with />

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.