We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Blank page when using imgsizer plugin

Development and Programming

lukemcr's avatar
lukemcr
154 posts
16 years ago
lukemcr's avatar lukemcr

I just switched webservers, and imgsizer stopped working. It just displays a blank page for every template with imgsizer tags. Any ideas? I’ve tried adjusting my cache settings and done everything I can think of. I’m using version 2.5.6, but I get the same problem with earlier versions.

Luke

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
16 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

My first suggestion is to double check the permissions of the folder imgsizer is writing to.

If that doesn’t solve the problem, try turning on Template Debugging (Admin > System Preferences > Output and Debugging Preferences) and see if anything is off there.

If the page is still blank in that case it may be PHP errors. Try turning error reporting on for super admins (same location as template debugging in the CP) and also checking your PHP error_log if you have access to it (depends on your hosting provider).

       
lukemcr's avatar
lukemcr
154 posts
16 years ago
lukemcr's avatar lukemcr

Thanks Erik. I got it figured out - gd was compiled with PHP on the server, but the -with-jpeg-dir=/usr option was not.

So, if anyone else is having this annoying problem - make sure your PHP is compiled with jpeg support. (You might want to add png support while you’re at it.)

Edit:

To make sure that your gd is working well, put this in an empty template, enable PHP in the admin, and look at the template from the front-end:

<?php
var_dump(gd_info());
?>

The results should look something like this:

array(11) { ["GD Version"]=>  string(27) "bundled (2.0.34 compatible)" ["FreeType Support"]=>  bool(false) ["T1Lib Support"]=>  bool(false) ["GIF Read Support"]=>  bool(true) ["GIF Create Support"]=>  bool(true) ["JPG Support"]=>  bool(true) ["PNG Support"]=>  bool(true) ["WBMP Support"]=>  bool(true) ["XPM Support"]=>  bool(true) ["XBM Support"]=>  bool(true) ["JIS-mapped Japanese Font Support"]=>  bool(false) }
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.