How does wordpress.com handles images?

  • Unknown's avatar

    Hello all,

    first of all, please pardon my poor english.

    On self-hosted sites, wordpress is making at least three copies for each uploaded image. The size of these copies depends upon the values from media settings (thumbnail size, medium size, large size). If you set these values to 0, wordpress will no longer resize the image to thumbnail, medium and large. This could be useful if space is a concern and you only upload small or optimized images.

    I am curios if this is true for wordpress.com too. I know wordpress.com has it’s own CDN and it is able to dynamically manipulate the image and return any size you want for it. So, it does not make sense to create copies of the image, regardless of media settings values.

    Could you shed some light in this matter? Thanks.

  • Unknown's avatar

    Howdy!

    I have found some relevant results on how WordPress.com handles images, please visit the following links :

    Optimize Your Images

    https://en.support.wordpress.com/?s=images+at+wordpress.com
    (Got this link after searching on support site)

    Working With Images

    Troubleshooting Image Uploads

    Hope this helps.

  • Hi @aldusro, we do use our CDN to cache images in the sizes needed. You definitely don’t need to upload more than one copy of an image here.

    Does that help? If not, can you let me know what you need to do here so I can point you in the right direction?

  • Unknown's avatar

    Hi @supernovia, it does not help.

    Here is a clarification: on my self-hosted blog, I just uploaded an image called city.jpg that has 1 MB. But now, on the server I have 6 images:

    0 : city.jpg (the original one)
    1 : city-150×150.jpg (thumbnail sized)
    2 : city-300×169.jpg (medium sized)
    3 : city-600×338.jpg (created by the theme with add_image_size)
    4 : city-768×432.jpg (medium-large sized)
    5 : city-1024×576.jpg (large sized)

    They sum up 1.25 MB. They eat more space then just my original image.

    If I go in my dashboard -> Media Settings, and I set all values to 0 (instead of 150×150, 300×300 and 1024×1024), then wordpress will no longer create images 1, 2 and 5. So I will end up saving some space.

    Is this behavior common to wordpress.com blogs too?

  • Unknown's avatar

    Note: my self-hosted blog is not hosted on wordpress.com.

  • @aldusro in our space calculations we just look at the size of the originally uploaded image.

    One thought for your self-hosted site, though: if you are setting to 0 and thus keeping only the full-size image, you’re using up more bandwidth and maybe even your viewer’s mobile data when you display it full size where it does not need to be.

    And space tends to be cheaper than bandwidth.

    You might consider using Jetpack to handle your images, or to at least handle what images it can, so as to reduce bandwidth waste and improve your site’s loading time.

  • Unknown's avatar

    @supernovia

    Ok, you look at the size of the originally uploaded image. But do you physically make more copies of that image, based upon Media Settings value, like a self-hosted wordpress blog, or not?

    If I would be able to look to the server, will I find, for instance, city-150×150.jpg, city-300×169.jpg etc? Or you never make any copy, regardless of media settings values, and you only keep the original images on the server?

    I know about the potential drawbacks for a self-hosted site. Please note that I manually optimize all my images. It is not uncommon that my full-size image has 20 KB and a resized copy made by WordPress is actually bigger.

    Thanks.

  • We use a CDN and caching and what not, so I suppose you could say that’s multiple copies. None of that counts against your space usage though.

    If you decide to host here I’d personally recommend (from my experience) uploading images maybe 3x what you anticipate you’ll need.* Otherwise you’ll be like me, digging through old images to replace the tiny thumbnails of ten years ago ;)

    *unless you have so many images you know you’ll run out of space

  • Unknown's avatar

    That cleared things up. Thank you for indulging me through this rather lengthy conversation. :)

  • The topic ‘How does wordpress.com handles images?’ is closed to new replies.