• Resolved Chris Yau

    (@chris-yau)


    Hi,

    I am not very understand well on the options

    1. If “Serve from custom domain” enabled, will use Cloudflare images? How it works if “Serve from custom domain” enabled?
    2. What’s the benefit or best prastic to enabling “Keep media library structure”?

    many thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Anton Vanyukov

    (@vanyukov)

    Hi @chris-yau,

    By default, Cloudflare Images are served from the imagedelivery.net domain. If you would like to serve from a custom domain, that’s what the option is for. For example, you can set it to serve from your site domain. The domain must be connected to Cloudflare for this to work. If you want to use a subdomain, you will also need to add a CNAME record.

    The “Keep media library structure” will preserve the image paths. By default an image URL will look something like: https://imagedelivery.net/<account hash>/18aca3de-f80b-4deb-0926-06951f2a7400, and with the option enabled it will become https://imagedelivery.net/<account hash>/<your domain>/2023/12/image.jpg.

    Best regards,
    Anton

    Thread Starter Chris Yau

    (@chris-yau)

    Hi @vanyukov,

    So if enabled “serve from a custom domain” that will not use images offloaded in Cloudflare images and will use the images directly from custom domain set? thanks

    Plugin Author Anton Vanyukov

    (@vanyukov)

    @chris-yau, the images will still be from Cloudflare Images, just with a custom domain, hence the requirement for the domain to be connected to Cloudflare (or CNAME added for subdomains).

    Best regards,
    Anton

    Thread Starter Chris Yau

    (@chris-yau)

    Many thanks for the information, have nice weekend 🙂

    Plugin Author Anton Vanyukov

    (@vanyukov)

    Thanks! I’ll mark this as resolved. Feel free to open a new thread if you have any other questions.

    Best regards,
    Anton

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘If “Serve from custom domain” enabled, will use Cloudflare images?’ is closed to new replies.