daniellenoakes Posted December 4, 2023 Posted December 4, 2023 hey im looking to add an image into the description section of a simple list! any help would be fantastic thank you
KwameAndCo Posted December 5, 2023 Posted December 5, 2023 I'm actually working on a plugin for this. You've spurred me on to complete it and publish it. If you're interested in testing it and getting a free copy in exchange for a review and feedback, let me know. tuanphan 1 Work With Me 🖥️💻📱 Please remember to tag me so that I get a notification and respond to your help requests. If my answers have helped you, please drop a like and mark my answer as best to help other users find solutions quickly. You can also thank me or make requests by buying me a coffee ☕. (Caffeine fuels me to take more requests) For Squarespace Tips & Tricks, visit @squareskills (Youtube 📺 Tutorials) For Premium and FREE plugins, visit Squareskills (Plugin Store) 🧩 For Custom Plugins email me 🧩
daniellenoakes Posted December 5, 2023 Author Posted December 5, 2023 4 hours ago, KwameAndCo said: I'm actually working on a plugin for this. You've spurred me on to complete it and publish it. If you're interested in testing it and getting a free copy in exchange for a review and feedback, let me know. I would be delighted to help you in the launch of your plugin, sounds fantastic. It's such a needed thing!!! Thank you very much @KwameAndCo
tuanphan Posted December 6, 2023 Posted December 6, 2023 While waiting for the plugin, you can also try this quick approach to insert images First, add this code to Website Tools (under Not Linked) > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $('.list-item-content__description a:contains(".jpg")').each(function() { var $t = $(this); $(this).contents().filter(function(){ return this.nodeType != 1; }).remove(); $t.attr({ src: $t.attr('href') }) .removeAttr('href target'); $(this).replaceWith(function(){ return this.outerHTML.replace("<a", "<img").replace("</a", "</img") }); }); }); </script> <style> .list-item-content__description img { width: 150px; height: auto; } </style> Next, edit each List Item >> Add Image URL Highlight image url > Click Link Icon > Paste same image url > then click Gear icon Enable this option > Save Result. If it doesn't work, please share link to page where you use Simple List, we can check easier lgwebdesign and daniellenoakes 1 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
sheena.levi Posted May 28 Posted May 28 Thanks @tuanphan! Is there a way to do this by uploading a local file on the actual website assets?
sheena.levi Posted May 30 Posted May 30 (edited) On 12/6/2023 at 8:59 AM, tuanphan said: While waiting for the plugin, you can also try this quick approach to insert images First, add this code to Website Tools (under Not Linked) > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $('.list-item-content__description a:contains(".jpg")').each(function() { var $t = $(this); $(this).contents().filter(function(){ return this.nodeType != 1; }).remove(); $t.attr({ src: $t.attr('href') }) .removeAttr('href target'); $(this).replaceWith(function(){ return this.outerHTML.replace("<a", "<img").replace("</a", "</img") }); }); }); </script> <style> .list-item-content__description img { width: 150px; height: auto; } </style> Next, edit each List Item >> Add Image URL Highlight image url > Click Link Icon > Paste same image url > then click Gear icon Enable this option > Save Result. If it doesn't work, please share link to page where you use Simple List, we can check easier Thanks @tuanphan! Is there a way to do this by uploading a local file on the actual website assets? Edited May 30 by sheena.levi additional questions
sheena.levi Posted May 30 Posted May 30 Thanks @tuanphan! Is there a way to do this by uploading a local file on the actual website assets? And any way to style multiple photos? Like put them next to each other (instead of vertical) and click on them to view them bigger? Thank you!
tuanphan Posted June 1 Posted June 1 On 5/28/2024 at 9:44 PM, sheena.levi said: Thanks @tuanphan! Is there a way to do this by uploading a local file on the actual website assets? Strange. I remember I answered yesterday.. You can create a test page > Add Gallery Section > Upload image there > Save > Right click on image > Copy Image Address URL On 5/31/2024 at 2:31 AM, sheena.levi said: Thanks @tuanphan! Is there a way to do this by uploading a local file on the actual website assets? And any way to style multiple photos? Like put them next to each other (instead of vertical) and click on them to view them bigger? Thank you! You can share link to page where you use List, I can check code easier. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Mikala Posted June 27 Posted June 27 Hi there Is there an option to put an icon above the title of a simple list? Would like to heave icons here (see screenshot)
tuanphan Posted June 29 Posted June 29 On 6/27/2024 at 5:43 PM, Mikala said: Hi there Is there an option to put an icon above the title of a simple list? Would like to heave icons here (see screenshot) When you edit List Section, it has an option Image, you can enable it then add your icon. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Mikala Posted July 8 Posted July 8 On 6/29/2024 at 10:07 AM, tuanphan said: When you edit List Section, it has an option Image, you can enable it then add your icon. Thank you! How can I make it very small? More like an icon than an image? Now it looks like that:
tuanphan Posted July 13 Posted July 13 On 7/8/2024 at 5:21 PM, Mikala said: Thank you! How can I make it very small? More like an icon than an image? Now it looks like that: You can use this code to Custom CSS box .list-item-media { max-width: 100px; margin: 0 auto !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
lgwebdesign Posted October 1 Posted October 1 On 12/6/2023 at 1:59 PM, tuanphan said: While waiting for the plugin, you can also try this quick approach to insert images First, add this code to Website Tools (under Not Linked) > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $('.list-item-content__description a:contains(".jpg")').each(function() { var $t = $(this); $(this).contents().filter(function(){ return this.nodeType != 1; }).remove(); $t.attr({ src: $t.attr('href') }) .removeAttr('href target'); $(this).replaceWith(function(){ return this.outerHTML.replace("<a", "<img").replace("</a", "</img") }); }); }); </script> <style> .list-item-content__description img { width: 150px; height: auto; } </style> Next, edit each List Item >> Add Image URL Highlight image url > Click Link Icon > Paste same image url > then click Gear icon Enable this option > Save Result. If it doesn't work, please share link to page where you use Simple List, we can check easier This worked like a charm. Thank you so much.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment