Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #636022

    Hi there,

    Following this fantastic solution you gave in to this request https://kriesi.at/support/topic/bug-elegant-blog-layout-category-pages-show-no-featured-image/ i am wondering how can i apply the same layout for the posts that get populated in the search results loop.

    I have tried this https://kriesi.at/support/topic/adding-images-to-the-search-result/ but the outcome is much poorer than in your solution in the above request for the populated posts in categories and tags. The preferable blog layout is single-big.

    Any suggestions?

    thnx

    #636622

    Hey George,

    Can you post a link to your site please.

    Best regards,
    Josue

    #636781

    There you are

    #636786

    Also another very weird issue I have

    Featured images as part of grid view (blog) look ok but inside a single post -sometimes- they show completely different (don’t align properly, they get cropped etc) links attached.

    The preferable view of course is the one that shows the image correct!

    Any suggestions for that ?

    • This reply was modified 8 years, 7 months ago by george.
    #638395

    Hi,

    The search template will require custom modifications if you want it to look like the default blog layout. Please contact codeable: http://kriesi.at/contact/customization

    Regarding the thumbnails, the max size of the featured image in the single post page is set to 845x321px. Install the following plugin then go to the Settings > Media panel, adjust the max width and height of the “entry_with_sidebar” and “entry_without_sidebar” thumbnails. Save, update then regenerate the thumbnails: https://wordpress.org/plugins/simple-image-sizes/

    Best regards,
    Ismael

    #640399

    I ll give it a try and i ll come back to let you know

    #642187

    Maybe i didn’t explain correctly what we need to do here.

    The featured image of our posts is not always the same size for every post. So we are not after a unique and strict size for the featured images inside the single post page.

    As explained, when i see the posts as part of the blog page ie. 3 in a coloumn, the featured images of the posts, look exactly the way we need ie. no matter how tall or wide they are, they always adopt and without getting cropped fit naturally. The problem is inside the post, in the single post page, where, the same featured image that looked fine before, now gets resized and positioned in a very weird manner.

    I understand that when in single post page, the featured image behaves as thumbnail so it has to follow some attributes. But when i tried to set a size as you suggested using the plugin above, the outcome is again not the same as in the blog view of the posts and definitely not the desired; (obviously it has to do with the fact that not all images are the same size – so not a universal rule could apply).

    What we just need to do for them is to make them fit naturally inside the top of the post – as it already happens when we are looking at the them as part of the blog page.

    Is there a way of doing that?

    thnx

    • This reply was modified 8 years, 6 months ago by george.
    #642444

    Hi,

    Make sure you’re editing the entry_with_sidebar image size, also don’t forget to re-generating the thubmnails.

    Best regards,
    Josue

    #644058

    Hi there!

    Ive done that, but I need you to have a look on the way the image gets positioned in the single post page. There is always a weird empty space on the right hand side of the image. And that happens for all blog posts in the category view as well.

    Have i done something wrong in the css?

    thnx

    • This reply was modified 8 years, 6 months ago by george.
    #644502

    Hey!

    Try adding this code to the Quick CSS:

    .big-preview img {
        width: 100%;
    }

    Cheers! 
    Josue

    #644907

    Spot on !

    Many thnx!

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘fetaured images in posts in search results’ is closed to new replies.