Close

Account

Documentation

Forum

Menu

WordPress Image duplicated in different sizes

  • Post count: 46
    jgkgopi
    March 21, 2018 at 12:28 am #29767

    Hi,

    Wordpress Image duplicated in different sizes always when i upload any new images. I want to stop that.

    Changed this setting in medai but still no luck
    Large size to 0x0 in Settings -> Media

    Post count: 9465
    Adek
    March 21, 2018 at 10:36 am #29788

    Hi jgkgopi,

    Please try to go edit this file wp-content/themes/jnews/class/Image/Image.php then jump into line 50 and replace this code add_action( 'init', array($this, 'add_image_size')); with this one //add_action( 'init', array($this, 'add_image_size'));.

    Thank you

    Post count: 46
    jgkgopi
    March 21, 2018 at 11:33 pm #29809

    after do the changes aslo am seeing two type of image one is jps and .webp

    why?

    Post count: 46
    jgkgopi
    March 21, 2018 at 11:37 pm #29810

    jnews-96ILQxDF2y.css why this file is creating upload folder

    Post count: 9465
    Adek
    March 22, 2018 at 10:35 am #29827

    Hi jgkgopi,

    1. For .jps and .webp image, i’m not quite sure yet because as i remember, we don’t have it on JNews. That image may comes from another plugin.

    2. That is dynamic CSS file that generated from customizer. Especially for styling option on the customizer, we generate your setup into a custom file for speed performance reason on the frontend.

    Thank you

You must be logged in to reply to this topic.