Thanks for the kind words.
This is not supported out of the box but can be easily achieved with JQuery.
Provided that you have the “Make files clickable” checkbox selected you could use this code:
jQuery(document).ready(function($) {
cell = $('.stickylist-fileupload a');
image = cell.attr('href');
cell.html('<img width="100" src="' + image + '">');
});
This will replace all clickable images with thumbnails. Note that you most likely will want to change the image width in the code to fit you needs.
Note! For this to work you need to update Sticky List as i have made a small code change. No new version is released so you need to manually update the plugin by downloading it from here.
I’m going to mark this topic as resolved.
Thread Starter
zedem
(@zedem)
So sorry for the late response, been off work for a bit. Thank you for your response. I just have two further questions. Firstly, can I upgrade to the latest version or should I use the version you posted above? Secondly, where can I place the jQuery code? I’ve placed it under custom javascript (under my theme’s options) but couldn’t get it to work in this manner as it keeps breaking the theme.
Thanks so much.
You can use this with the latest version.
YYou need to make sure that this code runs when the page is loaded. It’s hard for me to tell you exactly how since it depends on your theme. Could you give me a temporary login to your site?
EMail is [email protected]