Close

Account

Documentation

Forum

Menu

Custom Post Thumbnail Size

  • Post count: 19
    kirtok
    February 13, 2018 at 3:13 pm #28679

    Hello,

    I want to use custom thumbnail size, how can I make changes?

    Post count: 7590
    Adek
    February 14, 2018 at 9:01 am #28701

    Hi kirtok,

    For custom post thumbnail size you can use Post Thumbnail Size option. You can find this option on single post editor > JNews : Single Post Setting > Override Image Size > Override Image Thumbnail Size > Post Thumbnail Size.

    Thank you

    Post count: 19
    kirtok
    February 14, 2018 at 4:42 pm #28728

    Hi Adek,

    I have already selected that option actually but the Post Thumbnail Size didn’t change.

    This is the option you mean right?

    Option

    It looks like nothing changed as this;

    Show

    • This reply was modified 1 week, 1 day ago by  kirtok.
    Post count: 7590
    Adek
    February 15, 2018 at 9:01 am #28739

    Hi kirtok,

    That option will affect the image thumbnail on the single post (featured image post). For the image thumbnail on the block post element, it will need to do some change on the themes file.

    In this case, please find out this file /jnews/class/Image/Image.php then find function setup_image_size. On that function, you can find the list of image thumbnail dimension that we use on the theme. You may edit the image dimension list as your own need. Also, we will recommend you to use JNews Child Theme. After you have done with the changes, you may need to regenerate all of your images. You can use Regenerate Thumbnails plugin. You also can visit this thread for further reading http://support.jegtheme.com/forums/topic/custom-image-crop/

    Let us know if you have further question.

    Thank you

    Post count: 19
    kirtok
    February 16, 2018 at 12:09 am #28752
    This reply has been marked as private.
    Post count: 19
    kirtok
    February 16, 2018 at 1:04 am #28753
    This reply has been marked as private.
    Post count: 7590
    Adek
    February 16, 2018 at 9:28 am #28760

    Hi kirtok,

    You need to change the dimension value. For 350 (width) and 175 (height) the dimension = 500 (350/175). Let me know if you still getting the problem in there.

    Thank you

    Post count: 19
    kirtok
    February 16, 2018 at 2:53 pm #28765

    Not really sure what to edit, my code is as below and I don’t see 350×175 with 0.5 dimension, do you mean 360×180?

    Post count: 7590
    Adek
    February 16, 2018 at 3:18 pm #28766

    Hi kirtok,

    You can try to use this code below:

    Thank you

You must be logged in to reply to this topic.