New Topic

Where do I set the amount of images?

Home › Forum › Help › Where do I set the amount of images?

This topic contains 14 replies, has 2 voices, and was last updated by  StartupWP 4 years, 6 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #695

    trotsig
    Participant

    I am unable to find the setting for amount of images on the main blog (index page).  I had assumed that there would be 1 image per post (aka: featured image or thumbnail image) visible on the main index page & then when viewing the single post page, ALL the images would be presented. But I do not see any setting for this, and do not see any function that will accomplish this.

     

    #696

    trotsig
    Participant

    What I have on index page:

    post with 1 image shows 1 image.

    post with 5 images shows 5 images.

    What I have on single post:

    post with 1 image shows 1 image.

    post with 5 images shows 5 images.

     

    What I need on index page:

    post with 1 image shows 1 image.

    post with 5 images shows 1 image.

    what I need on single post:

    post with 1 image shows 1 image.

    post with 5 images shows 5 images.

    #698

    StartupWP
    Keymaster

    Thank you, the issue is very clear. Can we get a link to the website in question to see if we can investigate further?

    Likely an issue of Summary vs Full Content under Settings > Reading.

    #699

    trotsig
    Participant

    Here is the blog (posts) page

     

    http://sfpontona.se/nyheter/

     

    the third post down has 5 images,  4 are post images and one is set as “featured” so it became  duplicated. there should be 1 image on the main page & 4 images on the single page.

    Thank you!

     

    #701

    StartupWP
    Keymaster

    Add the following CSS and only the images you specifically set as the featured images will appear on the blog page:

    `.blog .entry-content img{display:none}
    .blog .entry-content .attachment-post-thumbnail{display:inline}`

    https://startupwp.com/topic/customizing-your-theme/

    #708

    trotsig
    Participant

    Thank you that worked, but now there are duplicate images on the single view of the post.  http://sfpontona.se/forsta-andra-tredje/

    #709

    StartupWP
    Keymaster

    `.single-post .entry-content .attachment-post-thumbnail{display:none}`

    #710

    trotsig
    Participant

    Thank you.

     

    #711

    StartupWP
    Keymaster

    You’re welcome.

    #1902

    trotsig
    Participant

    I have upgraded to the newer theme (StartupPro 1.1.6) and this fix is no longer working in the dreaded IE 8, but still good in Firefox, Safari, Chrome and IE 9, 10 & 11. I am getting double sets of images in the news feed as well as duplicate images in single posts as well. The .blog class does not seem to exist anymore.
    The site URL is News What will fix the duplicate images in Internet Explorer 8?

    #1903

    StartupWP
    Keymaster

    The other alternative is to not set featured images and instead manually place them in the post content.

    From what version of StartupPro did you upgrade from?

    #1904

    trotsig
    Participant

    Sorry that was wrong, I upgraded from 1.1.6 to 2.5.1, so I am running the new version of course, 2.5.1 at this time. I was thinking that a fix could be made using class ie8 …

    .ie8 .attachment-post-thumbnail {display:none;}
    but that didn’t work.

    #1906

    StartupWP
    Keymaster

    See how to use browser-specific CSS hacks here:

    http://css-tricks.com/snippets/css/browser-specific-hacks/

    #1908

    trotsig
    Participant

    What did work ( finally) was this:

    /* IE8 and below */
    .wp-post-image {display:none\9;}

    #1909

    StartupWP
    Keymaster

    Excellent, thanks for the update.

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.