Hi,
Maybe anyone has worked with this before. I have a cakephp app where i need to dynamically create images. When i use
header('Content-Type: image/png');
imagepng($dest);
i get this - The image cannot be displayed, because it contains errors.
When i try this
imagepng($dest,"image.png");
The image is never saved, tried different locations. Any help with this?
I've tested the code on a no-cakephp file, it works. Why it does not work with cake?
Thanks