I'm using the ImageSizer plug-in. When you insert an image in content (like an article body) you can set the width and height attributes on the img tag. When the page is displayed, it will compare the actual image dimensions to the specified dimensions in img tag and create a thumbnail that is resized (and cropped if necessary/requested) that is shown instead of the full image. Click the thumbnail image and a lightbox pop up shows up.
This works in the body of a review but I've been modifying my own template and I wanted to include the review image in my template and have it automatically create the thumbnails instead of having to upload a separate image for the thumbnail. Eventually I'd like to do the same when I customize the list templates.
This way I can enforce consistency of image/thumbnail sizes and make things easier without having to manually create a thumbnail and remember what size it should be.
I made the changes in review/template.html.php but the output of that file doesn't seem to run through plugins.
I'm not very familiar with Joomla code but I found a method that should supposedly filter text through the content plugins.
echo JHTML::_('content.prepare', $imgTag);
Doesn't seem to work for me.
I noticed that somehow the comment avatars were being recognized and thumbnails were generated and the image code changed to allow for a popup of the full sized image.
I haven't been able to figure out why the comment template is being run through the plug in and not my review template. Any thoughts?