You are viewing a single comment's thread from:

RE: Php image acceleration and modification - Photon

in #utopian-io7 years ago

Thank you for the contribution. It has been approved.

Great post, good mix of code, description and images.

Your code example is missing a crucial part. The image output once processed. What happens after this? $process->process();

  • File output?
  • Inline use for the img tag?

You can contact us on Discord.
[utopian-moderator]

Sort:  

Hello @helo,

I forgot to mention it, the process method sets header for browsers (as image/jpeg|png|gif) and puts image the content. I will edit when i get back to my pc.

Thanks.