JamiePrescotti Posted November 1, 2020 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.
creedon Posted November 2, 2020 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 the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
Beyondspace Posted November 3, 2020 Posted November 3, 2020 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> BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
JamiePrescotti Posted November 3, 2020 Author Posted November 3, 2020 Question solved by bangank36 thank you!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.