WordPress.org

Ready to get started?Download WordPress

Forums

large featured image size (9 posts)

  1. bmorris110
    Member
    Posted 2 years ago #

    erichaviv.com/news
    http://www.erichaviv.com/red-epic-iphone-4s-comparison/

    I want to use my featured image 2 times in specific sizes.

    I need the featured image to be around 410x230 in my blog feed,
    which I have working right now via css.
    In the single post page, I need it to be a larger size, around 850x500.

    I tried to upload the larger thumbnail size with the featured image tab, and use css for both instances. but when I upload the 850x500 image, it crops it extra thin.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

  3. bmorris110
    Member
    Posted 2 years ago #

    that seemed to help, putting 'thumbnail' and 'full' in the php.

    but why is the image so far above the div?
    i can't get it to move down, even with margins.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

  5. bmorris110
    Member
    Posted 2 years ago #

    I tried using firebug, didn't seem to help me.

  6. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    See this in style.css line 436:

    img.wp-post-image {
        float: left;
        height: 223px;
        margin-left: 250px;
        margin-top: -267.5px;
        padding-left: 10px;
        width: 396px;
    }
  7. bmorris110
    Member
    Posted 2 years ago #

    I still can't seem to ge the thumb to display at full size (825x500).
    I inserted this code to call image and put in a div to help style in css.
    `<div class="post_imageLRG">
    <a href="http://www.youtube.com/v/<?php echo get_post_meta($post->ID, "youtube_url", true); ?>/"><?php the_post_thumbnail('full'); ?></a></div>`

  8. bmorris110
    Member
    Posted 2 years ago #

    i got it lowered, but it doesn't seem to be showing the image at full size, it's at standard thumb size.

  9. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    When I tried changing the height and width in the above CSS code, it changed the size on the page -- did you try that?

Topic Closed

This topic has been closed to new replies.

About this Topic