Jump to content

Making images in a gallery original size when viewing image

Recommended Posts

So basically I'm a complete noob and I don't even know if this is possible but I'm trying to find out if I can make it so when I right click view image in a gallery it will give me the original size.  I want my gallery to have the max 6 columns because I have many photos but whenever I do that it makes the max width like 300 (.jpg?format=300w)  What I'm asking is there anyway to make it so it will direct to the full size format (without the format=) automatically.

Link to comment
  • Replies 4
  • Views 406
  • Created
  • Last Reply

Please post the URL for where you are clicking on the gallery.

If your site is not public please set up a site-wide password, if you've not already done so. Post the password here.

We can then take a look at your issue.

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

This is confirmed working solution, paste it in Advanced->Code Injection

<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
  /* Custom code for display full image on grid 
     author: bangank36
  $(document).ready(function() {
    $(".gallery-masonry-lightbox-link img, .gallery-grid-item-wrapper img, .gallery-masonry-item-wrapper img").each(function() {
      var src = $(this).attr("data-src");
      $(this).attr("src", src);


BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!


Link to comment


This topic is now archived and is closed to further replies.

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