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

    (@vanyukov)

    Hi @ajtatum,

    Image sizes will be similar to the ones you have for your images locally. The savings are minimal between, let’s say, a 780x425px and a 530x288px image. But if you think that this is a good improvement, I could definitely have a go at it.

    Best regards,
    Anton

    Thread Starter ajtatum

    (@ajtatum)

    Sorry for the delayed response, but if I understand correctly, the images Cloudflare uses are based on the WordPress thumbnail sizes. Is that correct?

    I’m just asking as I currently use ShortPixel Adaptive Images and it grabs the original image and renders the exact size needed depending on the device, etc. So, if I look at the image on desktop and a mobile phone, the image size could vary dramatically and could negatively impact page load times on mobile devices.

    So, I think it would definitely be a great feature as Google does consider mobile performance and if you’re loading large images. I do understand this is a small project, but if this led to it being a “PRO” feature for a reasonable price, I’d switch over from using ShortPixel AI.

    Plugin Author Anton Vanyukov

    (@vanyukov)

    @ajtatum, yep, the Cloudflare images are based on the WordPress thumbnail sizes, correct. This was a limitation from the initial Cloudflare Images releases, where they had image size variations. Now it’s possible to have an automated way of changes sizes. So I’ll try to add this in 1.1.4 version (next version after 1.1.3, which should be released today/tomorrow)

    Best regards,
    Anton

    Thread Starter ajtatum

    (@ajtatum)

    Oh man! I can’t wait to try it out! You’re awesome!

    Plugin Author Anton Vanyukov

    (@vanyukov)

    Hi,

    Sorry for not updating this thread. I’ve been away on the WordCamp Asia event. I’ve started working on this feature, and it should be ready in the next week or two. I’ll post a beta to try out, once it’s ready.

    Best regards,
    Anton

    Plugin Author Anton Vanyukov

    (@vanyukov)

    I have published a beta version of the plugin with auto resize functionality. Appreciate any feedback. Especially if there’s any “double” loading. For example, an image in the original size + the same image in actual size (can be seen in the browser console on the network tab).

    https://github.com/av3nger/cf-images/releases/tag/1.2.0-beta.2

    Plugin Author Anton Vanyukov

    (@vanyukov)

    I receive two notifications of replies, but not seeing the reply here… Maybe they were held up for moderation. Anyways, I’ve tested the plugin, and it seems to be working fine for me – I can save/edit settings without issues. Are there any errors in debug.log or browser console? Which hosting are you testing this on? PHP version?

    Not sure where it went either. But I do see a console error.

    upload.php:35 GET https://www.milesgeek.com/wp-content/plugins/cf-images-1.2.0-beta.2/assets/css/cf-images.min.css?ver=1.2.0-beta.2 net::ERR_ABORTED 404

    I looked, as there is no CSS directory in the new plugin zip. I should mention it did not upgrade the old plugin per usual, for some reason it did a new install.

    Hi Anton,

    I have the same problem as the rest. Like milesgeek, it did not upgrade the old plugin but installed a new with no CSS.

    After installing under bulk upload images, it says “initializing…….”

    and nothing is happening.

    PHP8.0

    Plugin Author Anton Vanyukov

    (@vanyukov)

    Oh, sorry for that. For some reason, the build did not attach to the Git release. I’ve re-saved the release, the correct file to use is cf-images-1.2.0-beta.2.zip. The other ones are source code files, that need to be pre-built before using.

    Thanks, that worked like a champ.

    Things look pretty good for me on first pass. I’m seeing an image width returned which changes based on my viewport. I’m not seeing duplicates in the network tab that you suggested to check for.

    When I switch to mobile view in the browser I noticed the width retrieved from Cloudflare increases. But I profess I do not know if this is correct or not, wanted to point it out. Perhaps a mobile display resolution warrants a higher quality download for example so it may be correct.

    New uploads with preserved paths also appear to be working for me.

    Plugin Author Anton Vanyukov

    (@vanyukov)

    I’ve pushed the release out. I will mark this thread as resolved, just so we stop spamming everyone. Feel free to open new ones, if any issues are discovered.

    Best regards,
    Anton

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Images not being resized’ is closed to new replies.