I suggest you..

Return image base64 encoded

Hello,
I like your service very much!

Could you please add a parameter for encoding?

Example: &encoding=base64 returns the base64_encode($image) string.

Thats very useful for embedding images directly. And the string is cached via Cloudflare. So it's fast and efficient.

Thanks!

8 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Nick @ www.merq.org shared this idea  ·   ·  Admin →

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Nick @ www.merq.org commented  · 

        Thanks for this fast implementation!
        I let you know if there are any issues.

      • Update: Also fixed some problems when the proxy runs into an error. If you use base64, and an error occures, it will return "data:text/plain;Error". If you want to know the full details of the error, you need to remove "&encoding=base64" to see the full message.

        This is to prevent XSS-injection of error messages into your <img> tag.

      • Nick @ www.merq.org commented  · 

        Thanks!
        I am very excited about this feature and hope that it will be integrated soon :)

      Feedback and Knowledge Base