Cozimo Posted July 6, 2020 Share Posted July 6, 2020 As the title asks, I'm trying to avoid having to manually input the name of hundreds of images on my site. I have used this code in the past and it works just fine with Gallery Blocks: <script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha384-vk5WoKIaW/vJyUAd9n/wmopsmNhiy+L2Z+SBxGYnUkunIxVxAv/UtMOhba/xskxh" crossorigin="anonymous"></script> <script> window.Squarespace.onInitialize(Y, function(){ $('.slide img').each(function(i) { $('.image-slide-title').eq(i).html('' + $(this).attr('alt').replace('.jpg', '') + ''); }); }); </script> Any other suggestions would also be massively appreciated! EarvinChong 1 Link to comment
tuanphan Posted July 6, 2020 Share Posted July 6, 2020 Summary Block use different class name. Can you share link to page where you use grid summary? EarvinChong 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Cozimo Posted July 6, 2020 Author Share Posted July 6, 2020 5 minutes ago, tuanphan said: Summary Block use different class name. Can you share link to page where you use grid summary? Here it is, it's currently just a test page right now and got a plugin called 'Universal Filter' injected. EarvinChong 1 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