ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Using imgsizer plugin

February 16, 2011 1:31pm

Subscribe [3]
  • #1 / Feb 16, 2011 1:31pm

    rorourke

    113 posts

    I’m having some difficulties getting the imgsizer plugin to work on a new site. I’ve installed it properly (and have used it with success before). But on this install I get an error when I try to call the imgsizere tag. Using this:

    <ul id="images" class="modal-links group">
     {exp:channel:entries channel="image" status="open"}
         <li>{exp:imgsizer:size src="{full_img}" height="120"}{sized}</a>{/exp:imgsizer:size}</li>
     {/exp:channel:entries}
     </ul>

    Fatal error: Call to undefined function imagecreatefrompng() in /var/www/sites/hosted-dww/sarahstockstill.com/system/expressionengine/third_party/imgsizer/pi.imgsizer.php on line 466

    I looked at the error line, briefly, doesn’t seem to be any diff than the imagecreatefromjpeg function?

  • #2 / Feb 16, 2011 1:38pm

    Lisa Wess

    20502 posts

    Hi, rorourke -

    I’d recommend contacting the plugin author for assistance with this add-on.  I’ve also moved this to CodeShare for you since it’s a third-party issue.

    Thank you.

  • #3 / Feb 16, 2011 1:41pm

    rorourke

    113 posts

    Thanks Lisa,

    Developer recommends all support questions go through EE forms.. which is why I posted it here.

    =)

  • #4 / Feb 16, 2011 1:55pm

    Lisa Wess

    20502 posts

    rorourke, you might see our community news guidelines; while the community can help you, add-on developers need to offer their own support venue if they’re going to support their add-ons.  But we’ve never offered official support for third-party add-ons.  That’s always up to the author of that add-on.

  • #5 / Feb 17, 2011 2:29pm

    Mark Bowen

    12637 posts

    What size is the original image that you are trying to resize? As far as I know imagecreatefrompng has a maximum size of 1040x1000 so ensure your image isn’t maxing out there.

    Next up do you have GD support installed on the server?

    Best wishes,

    Mark

  • #6 / Feb 18, 2011 12:55am

    rorourke

    113 posts

    How can I determine if GD support is installed? It is selected, as it is be default, in the System Administration > Image Resizing PReferences.  But my hunch is that, no, it isn’t, as this is a rather custom server environment being run by our own sys admin.

    Wasn’t aware it was a necessary prereq for EE imgsizer?

    Thanks Mark!!

  • #7 / Feb 18, 2011 3:34am

    Ingmar

    29245 posts

    Just run the server wizard, it will tell you.

  • #8 / Feb 18, 2011 3:40am

    rorourke

    113 posts

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases