• I followed these instructions, which were excellent BTW: https://vcore.au/tutorials/how-to-setup-cloudflare-images-plugin/ There are a few minor errors, but not enough to stop me getting through to the end and seeing manually uploaded images in the Cloudflare database.

    HOWEVER

    1. If I add a new image to wordpress it is not automatically syncd to cloudflare (Edit: ooops, if i enable that option it works 😉 )
    2. If a public user goes to my site and loads an old page, the images on that page are not uploaded from my original server to Cloudflare images (so that other users seeing the same page would then get the cached image). So, I’m guessing I need to manually upload everything, but I have TWENTY THOUSAND images. When I upload 100 at a time from the media library, Cloudflare times out somewhere. (I see the bulk offload option and will try that)
    3. what happens when i use the wordpress editor to crop and rotate an image i offloaded last week? I’ve used your option in your plugin to keep the original image on my server as well , so i guess i’m editing the original. (wordpress would normally create a new image behind the scenes here called XXXX-scaled.jpg)
    • This topic was modified 7 months, 1 week ago by the5krunner.
    • This topic was modified 7 months, 1 week ago by the5krunner.

    The page I need help with: [log in to see the link]

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

    (@vanyukov)

    Hi @the5krunner,

    You should be able to bulk offload images. There’s also a CLI command: wp cf-images offload that you can use to bulk offload all the images.

    I haven’t actually tested the editing images functionality. If WordPress creates a new edited image, it would be auto offloaded. I’m guessing that’s how WordPress handles images, otherwise there would be cache issues. But if WordPress actually edits the original, then the plugin will not update the Cloudflare version. I can change this to mimic WordPress.

    Best regards,
    Anton

    Thread Starter the5krunner

    (@the5krunner)

    ok ty.

    yes the bulk offload does much of the job. however it creates other problems

    i now have images on cloudflare that did not respect the orientation i had on wordpress. ie iuplaoded to wordpress last year. i rotated by 90 degrees soon after. i offloaded yesterday but the original orientation is retained.

    as you’ve said, if i rotate the image now on wordpress you dont recognise that. so i have mis-orientatted images on cloudflare

    i now have to identify potentially hundreds of them whch are often shown on more than one post. i then have to upload a new image, ‘correctly’ orientated and raplce all instances with the new images.

    this is a major task

    the issue of rotating images isbecoming more commonplace because iphone can get such good quality. people often hold iphones the ‘wrong’ way.

    Plugin Author Anton Vanyukov

    (@vanyukov)

    @the5krunner,

    I’ve added tracking to image edits in this beta version: https://github.com/av3nger/cf-images/releases/tag/1.9.6-beta.1

    This should correctly track image edits and sync changes to Cloudflare.

    However, if orientation is set via EXIF, serving the image in nextgen format will strip out the metadata. Unfortunately, I can’t do much about this from the plugin side, metadata is only applicable to JPEG images, that’s how Cloudflare handles this.

    You can tweak the plugin functionality to your needs. For example, there’s this filter:

    $attachment_id = apply_filters( 'cf_images_media_post_id', $attachment_id );

    You could check images that are EXIF-rotated and unset the $attachment_id so that the plugin ignores such images. Or manually ignore them from bulk processing in the media library.

    Best regards,
    Anton

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Thank you…BUT !!! Auto adding to cloudflare Images’ is closed to new replies.