This topic has 15 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #131535
     graphite
    Participant

    Hi I had set image dimension values to 0 to Media setting and also comment off two lines in functions.php

    `//set_post_thumbnail_size( 938, 9999 ); // Unlimited height, soft crop
    //add_image_size( ‘blog_carousel’, $kleo_config[‘image_sizes’][‘blog_carousel’][‘width’], $kleo_config[‘image_sizes’][‘blog_carousel’][‘height’], true ); // hard crop for articles carousel
    `

    But it still generate 3 additional photos at least every time..

    Would you please tell me what should I do to stop? Thanks

    Attachments:
    You must be logged in to view attached files.
    #131538
     graphite
    Participant

    Hi just got the answer myself, it’s from RtMedia.

    #131539
     graphite
    Participant

    It seems even though I disable 100x 150x 320x in RtMedia, it still generates those 3 copies..

    #131601
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #131664
     Radu
    Moderator

    Hi,

    Try to do the next settings

    If you de-activate the rtmedia plugin and re-upload an image it’s still creates additional sizes?

    If no, it means that rtmedia do something… ask about this on their forum support.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #131738
     graphite
    Participant

    Hi Radu
    Thanks that works, but I still get 1 extra photo generated.
    I upload a photo 3568*2378 and it generates additional photo with 768*512.
    Any idea where this comes from?

    I commented ‘/*add_theme_support( ‘post-thumbnails’ );
    set_post_thumbnail_size( 938, 9999 ); // Unlimited height, soft crop
    add_image_size( ‘blog_carousel’, $kleo_config[‘image_sizes’][‘blog_carousel’][‘width’], $kleo_config[‘image_sizes’][‘blog_carousel’][‘height’], true ); // hard crop for articles carousel*/’
    Does that matter? will it cause any error?
    Thanks

    Attachments:
    You must be logged in to view attached files.
    #131741
     graphite
    Participant

    comment out

    COPY CODE
    
    /*add_theme_support( 'post-thumbnails' );
    	set_post_thumbnail_size( 938, 9999 ); // Unlimited height, soft crop 
        add_image_size( 'blog_carousel', $kleo_config['image_sizes']['blog_carousel']['width'], $kleo_config['image_sizes']['blog_carousel']['height'], true ); // hard crop for articles carousel*/
    
    #131796
     Radu
    Moderator

    Hi,

    I’ve searched in entire theme for these values 768 and 512 and no results found, so it’s not generated by our theme, try to de-activate all plugins then upload a new photo to see if any additional size is generated

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #131905
     graphite
    Participant

    Hi Radu,

    I disable all plugins and it still generates 768x(something depends on the photo).

    Also would you please clarify does that matter if I comment out the following 3 lines? Thanks
    (It will generate 2 additional photos if I don’t comment out.)

    COPY CODE
    
    /*add_theme_support( 'post-thumbnails' );
    	set_post_thumbnail_size( 938, 9999 ); // Unlimited height, soft crop 
        add_image_size( 'blog_carousel', $kleo_config['image_sizes']['blog_carousel']['width'], $kleo_config['image_sizes']['blog_carousel']['height'], true ); // hard crop for articles carousel*/
    
    #131938
     Radu
    Moderator

    If you are interested to use only original uploaded photos not resized, not it’s ok if you comment those, do some test after that.

    Very good article maybe you will need it : https://paulund.co.uk/remove-default-wordpress-image-sizes

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #131978
     graphite
    Participant

    Hi Ruda,

    Interesting! I use those code but it still generate 768x photos.
    Curious where does that come from

    Cheers

    #131979
     graphite
    Participant

    It turns out the feature of WP4.4, Responsive Images.
    https://make.wordpress.org/core/2015/11/10/responsive-images-in-wordpress-4-4/

    #131980
     graphite
    Participant

    The method of disabling 768x photos is still unknown even though I tried the solutions from the thread above.
    Not sure whether it comes from WP core or theme.

    Cheers.

    #132047
     Radu
    Moderator

    If you use another theme than kleo the default one an upload a new pic that additional image size it’s generated ?

    The sizes are not generated by our theme

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #132138
     graphite
    Participant

    I use Sweetdate theme. The reason I got confused is because I tried many different ways and non is able to fix that.
    But anyway thank you Radu, I will figure it out and post the solution if I may find one.
    Cheers

    #132189
     Radu
    Moderator

    You’re welcome

    Have a nice weekend

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 16 posts - 1 through 16 (of 16 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?