This should be easy, and I've looked at this similar thread here https://community.sellerdeck.com/for...ag, but I can't for the life of me get it to work.
To reduce my image size for page loading times I've created a number of small images for mega-menu that have an 's-' prefix to the section image filename specified in sellerdeck. i.e. 'gizmo.jpg' has a smaller image for megamenu named 's-gizmo.jpg'
What I'm trying to do is get sellerdeck to generate the new filename automatically in the megamenu layout but I just can't get it to work. After getting fed up of uploading all the time I've been trying to just get the right text in the variable and use it in the 'title' for the image so I can at least see it working in preview mode but whatever I do I can't get sellerdeck to create a simple bit of text 's-imagename.jpg'
I've tried sectionimagefilename, sectionimagefilenameraw, basename around both, stripping out the extra bits using strings. Nothing seems to work.
Anyone know how to do this? I've been at it all day!
To reduce my image size for page loading times I've created a number of small images for mega-menu that have an 's-' prefix to the section image filename specified in sellerdeck. i.e. 'gizmo.jpg' has a smaller image for megamenu named 's-gizmo.jpg'
What I'm trying to do is get sellerdeck to generate the new filename automatically in the megamenu layout but I just can't get it to work. After getting fed up of uploading all the time I've been trying to just get the right text in the variable and use it in the 'title' for the image so I can at least see it working in preview mode but whatever I do I can't get sellerdeck to create a simple bit of text 's-imagename.jpg'
I've tried sectionimagefilename, sectionimagefilenameraw, basename around both, stripping out the extra bits using strings. Nothing seems to work.
Anyone know how to do this? I've been at it all day!
Comment