Minify the HTML Output kills dynamic image processing
-
Hi support,
Thanks for a great plugin that really speeds up the user experience!
On my site I generate images dynamically which is working fine until I enable “Minify the HTML output”. The image is generated serverside and returned using php. An example URL would be:
https://staging2.navnelabels.nu/wp-content/plugins/b2t-labels/b2t-labels-preview.php?line1=preview&line2=text&line3=%20&font=Roboto&color=000000and the html in the webpage would look like:
The simplified PHP code looks something like this:
$result=Imagick generated image
header(‘Pragma: public’);
header(‘Content-Type: image/’ . $result->getImageFormat());
echo $result;Please feel free to contact me for more information or if you need to test it.
The topic ‘Minify the HTML Output kills dynamic image processing’ is closed to new replies.