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.

ImageSizer parse error

February 24, 2011 6:06am

Subscribe [2]
  • #1 / Feb 24, 2011 6:06am

    kwgray

    49 posts

    Hi

    I am working on a site in EE 1.6.9 Build 20100430

    I have installed the ImageSizer plugin v2.5.6

    My sample code is

    {exp:imgsizer:size image="/images/uploads/title.jpg" width="200" alt="title" }

    I then get an error on the site page as follows

    Parse error: syntax error, unexpected ‘{’ in /sitename/system/plugins/pi.imgsizer.php on line 700

    Also, when I try to view the Plugin Manager page on the CP, I get a completely blank page. Only by removing the ImageSizer plugin from the plugins folder do I get access back to the Plugin Manager.

    Weird, huh?

    Can anyone help?

    Many thanks

    Ken

  • #2 / Feb 24, 2011 8:17am

    anoopbal

    152 posts

    Are you missing the src=”” tag?

    {exp:imgsizer:size src="" width="" height="" alt="{title}" class=""}
  • #3 / Feb 24, 2011 8:35am

    kwgray

    49 posts

    I’m not sure as for some reason the plugin is still borking my Plugin Manager within the CP.

    I’ve gone down the phpThumb route with extract_url_plus instead

    /resources/phpthumb/phpThumb.php?src=/images/uploads/{exp:zm_extract_url_plus show=

    which does what I need.

    Would still like to get image sizer working though, but cannot see why it’s causing such a problem with the Plugin Manager.

    Cheers

  • #4 / Feb 24, 2011 3:50pm

    Ingmar

    29245 posts

    Moved to the CSC as it concerns a third-party add-on. Thanks.

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

ExpressionEngine News!

#eecms, #events, #releases