• Resolved jooy96

    (@jooy96)


    Hello, first of all I would like to thank you for providing the plugin for free. This has allowed me to migrate images using CloudFlare without worrying about traffic costs, so thank you for your hard work.

    I have verified that the images are all uploaded through the plugin.

    However, I have noticed that the URLs of some of the images are still pointing to the host server domain.

    Here are the sites that are experiencing the issue

    https://jootc.com/

    For example, the thumbnail image for the first post shows the following (This is not the result I want.):

    https://jootc.com/wp-content/uploads/2022/11/addr-in-use-5000.png

    However, the thumbnail image for the second post is showing the following without any issues (This is the result I want.):

    https://imagedelivery.net/oqyERuCgVQd6S5Vv8tpSLQ/a1d033e2-d2f0-4ea8-012c-c6f2349c5c00/w=585,h=300

    This happens randomly every few posts. It also happens where the website logo or other images are displayed.

    Why is this happening? I have deleted all images from CloudFlare and tried again, but the same problem occurs.

    (I used machine translation because I don’t speak English very well. Thank you for your understanding)

    Regards,

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

    (@vanyukov)

    Hi @jooy96,

    I have seen a couple of times, where a certain image was not uploaded to Cloudflare for some reason. Could you please verify that in the media library, the image has the status as “Offloaded”

    Also, a simple test would be to create a new test post and add a Gutenberg image block with the image in question. If it’s not replaced there, there probably is some issue with the upload.

    Best regards,
    Anton

    Thread Starter jooy96

    (@jooy96)

    Hello, I apologize for the delay in responding. I’ve been working on other things and haven’t gotten around to it.

    I created a new post with the new images, but the link was still pointing to the domain link, not the CDN link.

    Yes, as you say, both the existing problematic images and the new ones were showing an ‘Offloaded’ status in the media library, although they were actually uploaded to the CDN server.

    How can I change all the images to the CDN host? Thanks.

    My wp-config.php:

    define( ‘CF_IMAGES_ACCOUNT_ID’, ‘ID’ );
    define( ‘CF_IMAGES_KEY_TOKEN’, ‘TOKEN VALUE’ );

    And Server Spec:

    • WordPress 6.2.2
    • PHP 8.2.7
    • AWS EC2 + Docker + NginX 1.24.0

    Thanks.

    • This reply was modified 10 months, 1 week ago by jooy96.
    Plugin Author Anton Vanyukov

    (@vanyukov)

    Hi @jooy96,

    I have reached out to the theme developers to try and get a copy of the theme so I can debug and fix this for you. I’ll keep you updated on this thread once I have more information.

    Best regards,
    Anton

    Thread Starter jooy96

    (@jooy96)

    Wow! Thank you for sharing the information. 😀

    If there are any resources you need, please feel free to ask me. I’ll provide information as soon as it’s helpful.

    Plugin Author Anton Vanyukov

    (@vanyukov)

    Hi @jooy96,

    I think I was able to figure it out and fix. Could you please test the beta package from here – https://github.com/av3nger/cf-images/releases/tag/1.2.1-beta.2

    Best regards,
    Anton

    Plugin Author Anton Vanyukov

    (@vanyukov)

    I have released an update with the fixes. I’ll mark this as resolved. Please feel free to create a new thread, if any issues are still present.

    Best regards,
    Anton

    Thread Starter jooy96

    (@jooy96)

    Hello, Sorry for late response.

    I deleted all the images from Cloudflare, upgraded the plugin to the latest version, and tried again.

    And now, all images are pointing to the CDN links correctly!

    (The logo in the header at the top of the main page is still not pointing to the CDN path, but this could be a configuration issue with my theme, so I don’t think I need to consider it).

    So it looks like all my issues have been resolved.

    Thank you so much for your fast and wonderful support.

    Plugin Author Anton Vanyukov

    (@vanyukov)

    @jooy96, awesome! Glad that I was able to help

    Best regards,
    Anton

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Images are all uploaded, but some thumbnails don’t convert domains’ is closed to new replies.