ED Imageresizer
ExpressionEngine 1.x, ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Erskine Design
Imageresizer not returning any values
General
aidank12
|
Posted: 24 October 2011 11:51 AM |
|
|
|
Hi Guys,
I have installed Imageresizer and running into issues displaying the images.
I have created a matrix field (course_gallery) for the gallery and added some images to it.
In the template, I have the following simple code and it displays the image
{course_gallery} <img src="{the_image}" maxWidth="100" /> {/course_gallery}
I then tested with the Imageresizer code
{course_gallery}
<li> {exp:ed_imageresizer image="{the_image}" maxWidth="130" maxHeight="83" cropratio="130:83" alt="{image_description}"} </li> {/course_gallery}
the sample code doesn’t output anything, just leaves <li></li> with nothing in between. I know I have the matrix tag correct because the simple img tag outputs the correct image.
Any ideas on what I am doing wrong here?
Thanks
Aidan
|
|
|
Geoff Towle
|
Posted: 21 December 2011 03:44 PM |
# 1
|
|
|
Same here. Oddly, it is working on one site, but not another. Same server, same plugin version (1.0.4), and same EE version (2.3.1 - same build 20111017). I have triple-checked the paths that need to be added to /system/expressionengine/config/config.php and all the syntax.
EDIT: Turns out I needed to quadruple-check my syntax. I had set the “image” parameter as “img”. “image” is correct.
|
|
|
jpdesigndev
|
Posted: 03 April 2012 03:20 PM |
# 2
|
|
|
aidank12 - 24 October 2011 11:51 AM Hi Guys,
I have installed Imageresizer and running into issues displaying the images.
I have created a matrix field (course_gallery) for the gallery and added some images to it.
In the template, I have the following simple code and it displays the image
{course_gallery} <img src="{the_image}" maxWidth="100" /> {/course_gallery}
I then tested with the Imageresizer code
{course_gallery}
<li> {exp:ed_imageresizer image="{the_image}" maxWidth="130" maxHeight="83" cropratio="130:83" alt="{image_description}"} </li> {/course_gallery}
the sample code doesn’t output anything, just leaves <li></li> with nothing in between. I know I have the matrix tag correct because the simple img tag outputs the correct image.
Any ideas on what I am doing wrong here?
Thanks
Aidan
I am having this exact issue as well. Extremely odd.
|
|
|