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
  • Created
  • Last Reply

Top Posters In This Topic

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);


Edited by bangank36

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.