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

  • 0

If you haven't received an answer yet, you can post on some FB groups
+ Squarespace Customization Resource Groups
+ Squarespace Community

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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...