Hello,
I am creating dynamic images for stats for a video game. But they are taking a while to load. So I figured I'd cache them and have a cron job run every half hour or so and update the actual images. But I can't export the image (right now its being created using
header('Content-type: image/png');
Do I have to remove that for them to save correctly? I get this error when trying to save using imagepng:
The image “[url]http://****.com//****.png”[/url] cannot be displayed, because it contains errors.
Or is there a faster way to cache the images?
I'm new to creating Dynamic images, so anything should help 😉
-h3r0