I’m really confused as to how to use thumbnails with MODX.
I’ve got the ImgResizer plug-in installed, but I still don’t know how to get MODX to generate thumbnails on the fly and incorporate them into template variables.
Let’s say you have a TV called "Picture" and you pick a picture, the plug-in auto-generates the thumbnail - but how do you include it inside your template variables, or on the page, or whatever.
Can someone clear up the 100% full-proof way of including, and using thumbnails, especially with regards to template variables?
Many thanks.
Hi,
unfortunately I don’t know imgResizer. Most of the time, I’m using phpThumb phx modifier.
here is a sample
<img src="[*tv_image:phpThumb=`some params ...`*]" />
hope that helps.
:-)
I’ll try that plug-in instead.
With thanks!
Unforutently I couldn’t get that plugin/snippet to work - maybe I did it wrong. But no image ever got displayed. I even double checked the link it was generating - and there wasn’t even an image it was referencing.
In either case I would prefer any other thumbnail generating snippet, perhaps one that works 100% of the time, or is more popular/successful?
Are there any other php thumbnail plug-ins that work with Template Variables? Its really getting quite frustrating trying/testing different snippets/plug-ins that don’t support Template Variables.
phpthumb modifier works great.
You have to edit the config php file in the snippets folder and create the cache folder.
:-)
I’ve used DirectResize instead to solve this problem.
(Closed)