WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
if (class_exists('imageOptimizer')) { ob_start(); page_content(); $content = ob_get_contents(); ob_end_clean(); image_optimize($content);}else { page_content();}
Wow...great idea!
Something that should already be available in the the WYSIWYG editors!
if (class_exists('imageOptimizer')) { ob_start(); page_content(); $content = ob_get_contents(); ob_end_clean(); image_optimize($page_id, $content);}else { page_content();}
if (class_exists('imageOptimizerControl')) { image_optimizer_control($page_id);}else { echo "imageOptimizerControl not found!";}
Very nice and welcome function!!
I can't wait for my new server in January, that has PHP5. Must do with PHP4 for a little time...
panke.info is a local portal, where everyone who is allowed to publish articles take his own images directly from his digital camera an place it within the articles.
what are the image settings you use on panke.info? I only see a lot of very large images...
I only visited the section "Fotografien": http://panke.info/pages/fotografien/der-verlauf-der-panke.php?dir13=
Edit: Ah, I have detect what you mean: it seem that the imageOptimizer have a problem with some images, for example at Flussbeschreibungen - at this page are optimized images but also a big, not optimized image: D1%20Lietzengraben%20CS.jpg. I must check the reason for this behaviour - perhaps the whitespaces...
QuoteI only visited the section "Fotografien": http://panke.info/pages/fotografien/der-verlauf-der-panke.php?dir13=ok - this image is a png with transparency and big, but the imageOptimizer dont touch it...
No no sorry, I didn't mean the single image on that page, but the complete galleries there under.
if (class_exists('imageOptimizerControl')) { image_optimizer_control($page_id);}else { echo "imageOptimizerControl is not installed!";}