-
Posts
12 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Posts posted by sheena.levi
-
-
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?
-
Thanks @tuanphan! Is there a way to do this by uploading a local file on the actual website assets?
-
-
I am looking for this option too, any updates?
-
Experiencing the same issue on my site, anyone have a fix for this?
-
-
add an image into a simple list description
in Customize with code
Posted
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!