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.

plugin: Image Sizer

July 14, 2010 8:20pm

Subscribe [15]
  • #16 / Aug 14, 2010 6:16pm

    Ryan Downie

    170 posts

    It might be your code, I do things a little different with images with what is supplied but you could try

    {exp:imgsizer:size src="{custom_image_field}" width="204" height="167"}

    See if that works. It should output the img tag

  • #17 / Aug 14, 2010 7:08pm

    JasonLeeLab

    53 posts

    No luck. Thanks though.

    I’ve used ImageSizer on 15+ projects before this one without any trouble. 

    But luckily I can get away without using it on this project.

  • #18 / Sep 06, 2010 7:22pm

    11Media

    157 posts

    I’m getting a strange error when using remote=“on” - and using an external image.

    Can someone test this?

    EE 2.1.0
    Lumis: 2.6

    But removing remote=“on” and using a local image it works….

  • #19 / Sep 21, 2010 5:11pm

    I see that David Rencher (Lumis) has just released a new version, Imagesizer 2.6.4 for EE2
    There are quite a few changes in the code comparing it to 2.6.0
    I don’t understand the code to know exactly what the differences mean though, but maybe it will fix the problems people are having.

  • #20 / Mar 26, 2012 4:32pm

    Adam Christianson

    115 posts

    I have been working on an upgrade from our 1.6.9 EE site moving to EE 2.4 and when I went to enable and call the Image sizer plug-in I immediate got errors in Safari and Firefox.

    Neither browser would load the page when calling the Image Sizer tags.

    In Safari (Mac) I got the error

    Cannot decode raw data: NSURLErrorDomain:-1015

    In Firefox:

    Content Encoding Error

    I discovered that I could fix the issue by setting the ‘Enable GZIP Output?’ setting to ‘n’ in the EE control panel (Admin > System Administration > Output and Debugging Preferences).

    I believe it may be due to how the plug-in passes back the output to EE.  This add-on looks like it had a similar issue until it was modified to pass the output back to EE’s output handler rather than output directly.

    Anyone know how this fix might be implemented?

  • #21 / Aug 27, 2012 7:26pm

    aleklisefski

    24 posts

    I’m getting the same error. Not sure if it is Image Sizer that is the only culprit. I’ve changed to GZIP output to “no” and am still getting the “cannot decode raw data” error in Safari and “Content Encoding Error” in FF. Can anyone help with this?

  • #22 / Jun 03, 2013 1:51pm

    impdesigns

    115 posts

    To anyone getting the Deprecated function remove_double_slashes() warning in the Developer’s log of 2.6.x EE installs:

    This can be fixed relatively easily. It’s the result of a function in EE being replaced by a helper. (See this link if you’re super geeky: EE Dev Reference)

    Just open the imgsizer plugin file (/system/expressionengine/third_party/imgsizer/pi.imgsizer.php) and add this line

    $this->EE->load->helper('string');

    That loads the helper. Then replace all instances of

    $some-variable = $this->EE->functions->remove_double_slashes($some-variable);

    with

    $some-variable = reduce_double_slashes($some-variable);

    where $some-variable is some defined variable.

    This fix was totally nicked from Devot-ee’s support forums for a different add-on.

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

ExpressionEngine News!

#eecms, #events, #releases