ImageScaler bug 9 years 4 days ago #82714

  • Topic Author
  • threem
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 1
  • Thanks: 0
I know it is a free plugin but I wanted to let you guys know there is a bug that will make the images not show if you have your PHP Memory limit (ini_get('memory_limit')) set to unlimited '-1' value.

The bug is on line 282 where it checks if the memory in use plus the memory needed is greater than the memory limit.
It should also check for the $memoryLimit == -1 so to fix I just changed this:
if (function_exists('memory_get_usage') &&
     memory_get_usage() + $memoryNeeded > $memoryLimit) {
  $memory = false;

to this:
if( $memoryLimit == -1 ) $memory = true;
else if (function_exists('memory_get_usage') &&
               memory_get_usage() + $memoryNeeded > $memoryLimit)  {  $memory = false;  }

Please Log in or Create an account to join the conversation.

Re: ImageScaler bug 9 years 1 day ago #82775

  • djhargrove's Avatar
  • djhargrove
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Official Support
  • Posts: 3419
  • Thanks: 222
thank you for the update I will notify the dev's for you and let them know.
The following user(s) said Thank You: threem

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.042 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links










Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

Questions et réponses sur les forums de l'AFUJ


Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!