Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #400351

    hi.

    I am just starting out using both WordPress and your theme and I’m a bit confused regarding uploading images to the media library.

    I know that there are media import settings located in settings > media and i believe i understand the various uses for the 3 formats: thumbnail, medium size and large size – at least as they apply to blog entries.

    but i’m a bit confused by what is happening on my server after i upload an image. besides my original image (which retains it’s true size), wordpress has created 17 additional images – in a vast assortment of sizes. 3 of the 17 match the parameters set out in the media settings but what are the other 14? why are they being created and what are they potentially being used for (in the enfold theme)?

    additionally, these 14 others are oddly cropped – none have been resized proportionally?

    and, not being familiar with the way wordpress works, does WP only load the image size i specified on my page at the time of the page load? or does it – by default – load all these 17 images before delivering the page content to the viewer?

    in the end, i’m creating a one page website – no blog – so i want to make sure my page loads fast and is not burdened by having to load/reference all these additional images.

    looking forward to some clarification and thanks in advance.

    cheers-

    cindy

    #400922

    Hi cworkman1!

    The different sized images are for use in different areas of your theme. The blog and portfolios for example use different sized images to make sure everything stays sharp.

    You do not have to worry, WordPress is not going to load all of them when someone views your page. It will only load the specific sizes that are requested.

    Cheers!
    Elliott

    #401633

    dear elliott,

    thanks for your reply and for the explanations. glad too to hear WP will only load images as they are required by the page.

    but i do have some concerns as they apply to my unique website. i’m creating a one-page website with no blog. it will an online artist portfolio site and so chock full of slider portfolios which will require an ungodly amount of images.

    I will be using a 3rd party slider to create these portfolios so i’m not sure how they’ve configured things e.g. what set dimensions they might use and/or the number of variations they automate during the upload process – which would be in addition to those configured for the enfold theme (smartslider2).

    so in the end i’m concerned that with a media library that could potentially include 1,000 images, the image count will jump to 14,000 quickly with all these mandated variations.

    in the end, i’ll only need images for backgrounds of color blocks, for my menu (custom css) and for these slider portfolios.

    i’ve found another 3rd party plugin that will allow me to create folders inside the media library – so this will help organize the images but is there a way to prevent this automation?

    – can i limit/prevent these various image variations from being written and upload only one image – at my intent size? by this i mean, i upload an image that’s 1200×1200 and that’s the only one that get’s uploaded/created?

    – is there a way to circumnavigate this automation process completely? e.g. i tried (via ftp) to upload an image into the uploads folder, but it doesn’t show up in the media library. my take-away from this is that in order for items to be seen/worked with in the WP admin UI, images need to be uploaded using the admin interface. or am i missing something?

    thanks in advance for your reply.

    cheers-

    cindy

    #402267

    Hi!

    If you’d like you can change lines 118 – 144 in the functions.php file to this.

    $avia_config['imgSize']['base'] = [];
    $avia_config['selectableImgSize'] = [];
    

    Or just delete the image sizes that you do not need. If it was me though I would just leave them alone. If you have a bunch of 1200 x 1200 images loading on your page then that is going to take a long time for the user to download them all so it makes sense to let WordPress create small thumbnail versions to use. You will run out of bandwidth a lot faster than storage space.

    Also, nowadays hosting providers give you lots of GB’s of server space so even if you upload 5000 pictures (plus all of the thumbnails) your probably not going to fill up the space (but double check with your hosting provider to be sure). If for some reason they are not giving you a lot of space then they will probably give you an option to upgrade your hosting package. But really I do not think that is going to be an issue at all. I’m on the cheapest hosting package with my provider for $25 a year and they give me 25 GB’s which can hold around 25,000+ photos (I crop mine before uploading so they are roughly 500KB each excluding the thumbnails).

    EDIT: I double checked and the 25GB for my hosting provider was two years ago. Now they provide me 100GB for the same price. :)

    Regards,
    Elliott

    • This reply was modified 9 years, 9 months ago by Elliott.
    #402369

    dear elliot,

    thanks for your reply and advice – much appreciated.

    one further question, you mention changing code in the function.php file that’s part of the enfold theme.

    if i’m following a workflow using a child theme (to prevent my customizations from getting lost due to future theme updates) – would i :

    – copy the code mentioned above to the child them’s function.php and customize it from there?

    – or do i need to add something additional code to the child theme’s function.php ensure that the child theme’s function.php takes priority over the parent (enfold theme) function.php?

    looking forward to your reply and thanks.

    cheers-

    cindy

    #402917

    Hi!

    I didn’t do much testing with it but you could try adding this to the bottom of your child theme functions.php file.

    function avia_backend_add_thumbnail_size() { return; }
    

    There is not really a good reason to remove them though. Just remember that you have done this in case your wondering in the future how to size your images with the Masonry shortcodes, etc etc. Your sizes are limited because of this customization.

    Best regards,
    Elliott

    #403683

    dear elliot,

    thanks again for your reply.

    and i’ve taken your advice. biting the bullet and leaving it as is as who knows what the future might bring…perhaps a B-L-O-G…..:}

    cheers-

    cindy

    #404232

    Hey Cindy!

    Great, just get back to us if you should have any more questions.

    Cheers!
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.