• Hi there,

    I’d like to find out where/if Astra creates additional image sizes when a picture is uploaded.

    thanks
    Karl

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • +1

    Astra definitely creates additional images with each upload. You can access your image file uploads via FTP & see a list of the additional images generated for each image uploaded to the media library. Each generated image has appended text tagged onto the end of the file name like this: 300×300, 768×768, 800×800, etc.

    Some of these extra files come from WordPress itself and can be changed via your website’s WordPress dashboard panel in Settings > Media. I have 3 options to set: Thumbnail Size, Media Size, and Large Size. You can also just add this to the end of your domain (without the quotations) and it will take you to the settings page for your image sizes. “/wp-admin/options-media.php”

    When you are viewing the list vis FTP of all the extra generated images files, you’ll want to keep in mind your WordPress dashboard settings. Whatever you’ve typed into the fields for Thumbnail Size, Media Size, and Large Size, the image file names with those appended numbers come from there & all additional sizes (that don’t match those 3 dashboard settings) come from the Astra theme.

    It is highly recommended you paste the proper code into the functions.php of your Astra’s child theme functions.php and not Astra’s functions.php itself. Any changes made in Astra’s theme files will be overwritten every time the theme is updated & you’ll lose the modification. I know there is a way to prevent Astra from generating the images via the child theme’s functions.php file, but I’m not sure what code to paste into that file. It would be helpful if Astra provided this.

    Astra, can you provide us with the code to paste in our child theme’s functions.php file to prevent additional images from being generated?

    Hi @karlcw and @brookebot

    Astra doesn’t create additional images unless you set a custom size for the Featured Images (available only on Astra Pro) and it will be saved in the wp-content/uploads/[years]/[month] folder.

    I hope that clarifies.

    Kind regards,
    Herman

    Oh sorry! I used the word “definitely” when I should’ve said “I believe” Hmmm. Wonder where my additional image sizes are coming from then. I don’t have Pro. Maybe WooCommerce or Elementor? Detective work is in order. Any tips welcome. Thank you!

    • This reply was modified 4 years, 8 months ago by RaraAvis.
    • This reply was modified 4 years, 8 months ago by RaraAvis.
    Thread Starter karlcw

    (@karlcw)

    Hi @brainstormteam

    So, can you help to explain the fact that I’ve switched off every plugin that could possibly have anything to do with images, made sure the WP image size settings are all on zero but when I upload an image I get 4 additional image sizes?

    Have a look : https://craig-west.co.uk/wp-content/uploads/2020/06/images.png

    Unless my site is broken, or I’m missing something blindingly obvious, I can’t see how this isn’t the theme.

    Your input and/or ideas will be most welcome.

    Karl

    ?Hi @karlcw,

    ?What if you try to switch to another theme, does the same scenario exist?

    Kind regards,
    Herman? ??

    Do you have a plugin which is forcing your images to webP? Maybe thats the culprit….

    Hi,

    The culprit is WP itself. The higher the definition of the uploaded image, the higher the number of additional images created. WP can create from 3 to 9 images. Definition may vary from 150×150 to 2048×2048. However, no additional image can be more defined than the original (no upsizing). Some themes may create their own additional sizes. This is not the case of Astra, though.

    More information about how to manage this here :

    https://www.ilovewp.com/blog/wordpress-tutorials/wordpress-image-sizes-a-ticking-time-bomb/#comment-3391

    https://www.ads-software.com/support/topic/too-many-sizes/

    https://premium.wpmudev.org/blog/wordpress-image-sizes/

    Patrick

    kaplan

    (@kaplan)

    Thanks Patrick and Karl. Karl, I was seeing the exact same file structure as well.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Astra Image sizes’ is closed to new replies.