[Plugin: Limit Image Size] filesize is a cached value
-
Hi,
I tried the plugin and found it a great helper.
Original Size and Final Size are the same since filesize is a cached value.
Following fix will help:
——-
diff -uNr limit-image-size/limit-image-size.php downloads/limit-image-size/limit-image-size.php
— limit-image-size/limit-image-size.php 2012-06-23 22:01:51.485743371 +0200
+++ downloads/limit-image-size/limit-image-size.php 2012-06-18 18:35:31.000000000 +0200
@@ -141,7 +141,6 @@
if ($imagem) {$size = round(filesize($arquivo)/1024,2);
– clearstatcache();$megapixels = $imagem[0]*$imagem[1];
$limite_mp = $limite * 1024 * 1024;
—-Regards,
Dirkhttps://www.ads-software.com/extend/plugins/limit-image-size/
- The topic ‘[Plugin: Limit Image Size] filesize is a cached value’ is closed to new replies.