Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #233800
    Glen Pavelich
    Participant

    Is there any way to have the posts (on the main page) show the actual post images and not the featured image. My client creates posters for all events and not card sized (horizontal) images. These do not display well as it is set up with featured images, except if the poster is cropped and this doesn’t work well in most cases.

    #233860
    Skandha
    Participant

    @fireflywebs: Hello there,
    I am afraid that it is not possible. Maybe creating a new image size for the blog post shall resolved the issue. For that you will need to create a child theme and do a little bit of customization. Let me know if you are familiar with child theme customization otherwise I suggest you to hire a customizer to get it done.

    Kind Regards,
    Skandha

    #234204
    Glen Pavelich
    Participant

    Yes, I always apply a child theme. How does one create a new image size for the blog posts.
    (test.eatonia.ca)

    #234331
    Skandha
    Participant

    @fireflywebs: Hello there,
    First of all you will need to create new image size
    Go to => Child Theme Folder => functions.php and add the following code.

    // Used in Single Post Pages 480px width and 480px height
    add_image_size( 'catch-inspire-single-post', 480, 480, true );

    You can change the image size according to your requirement.

    Then
    Go to => Parent theme folder => template-parts => content => content-single.php Copy this file to the child theme folder such that the path to the file is the same as in the parent theme folder.

    Now, Go to line no 21 => replace the code with catch_inspire_post_thumbnail( 'catch-inspire-single-post' );

    Let me know if this works out!
    Kind Regards,
    Skandha

    #234368
    Glen Pavelich
    Participant

    I will do this but it might take a few days. I first need my client to take a look at the present layout before I make these changes. Thanks. Will get back to this ticket.

    (Looks like this is to change the post image size. Will it change the feature image size that appears on the home page?)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Post Images’ is closed to new replies.