JamiePrescotti Posted November 1, 2020 Share Posted November 1, 2020 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
JamiePrescotti Posted November 2, 2020 Author Share Posted November 2, 2020 Hoping someone can help Link to comment
creedon Posted November 2, 2020 Share Posted November 2, 2020 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 best , and see my profile. Thanks for your support! Link to comment
Beyondspace Posted November 3, 2020 Share Posted November 3, 2020 (edited) This is confirmed working solution, paste it in Advanced->Code Injection <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script> <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); }) }); </script> Edited November 3, 2020 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, Keyword HighlighterIf 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
JamiePrescotti Posted November 3, 2020 Author Share Posted November 3, 2020 Question solved by bangank36 thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment