Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Image Block - Output src only


CameronGBG

Question

Site URL: https://trailyardvalpo.com

Hi,

We created a custom template for our client to use on their Squarespace site. One issue we've ran into is how images are handled from the Admin & site editor. Right now, all of the images displayed on the site are uploaded to squarespace via the git repo, inside of the `assets` folder.

When we tried to utilize the "Image Block" block-field to enable users to upload their own images within the site editor, we found that this also creates additional markup (A significant amount of markup) to the page. This ultimately breaks the layout we've created with our custom theme.

Long story short, we're looking for a way to utilize the "Image Block" block-field, but to only output the image source in the "page.region" for the specified page. If we just get the source from Squarespace, we can use our own markup on the site.

Link to comment

2 answers to this question

Recommended Posts

Create an account or sign in to comment

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

×
×
  • Create New...