Different image size in WP post and home page?

Discussion in 'Blogging' started by jhmattern, Apr 22, 2007.

  1. #1
    I'd like to be able to include a 150x150px or 200x200px CD cover image with CD reviews on my webzine, but have a 60x60px version displayed on the home page with the latest CD reviews. I'm using the larger images now on the current site, but it's being moved to WP - http://dev.audioxposure.com

    Is there an easy way I can do this, to keep the larger images on the permalink pages?

    Thanks. :)

    Jenn
     
    jhmattern, Apr 22, 2007 IP
  2. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i think it would be possible, however you would need to modify css and create a new style (this would control the image width) and use a custom homepage template (within this use the new style and apply it to posted images).

    default img would be something like

    the code for home page would be

    that would be displayed in the css style named entryhome like this

    probably not a complete solution but should get you moving :)
     
    just-4-teens, Apr 22, 2007 IP
    jhmattern likes this.
  3. jhmattern

    jhmattern Illustrious Member

    Messages:
    8,909
    Likes Received:
    794
    Best Answers:
    2
    Trophy Points:
    455
    #3
    OK, thanks. I already ripped apart the home page to get a non-blog feel, so I'm definitely not interested in having to even think about a new home page template right now, especially since the rule would only apply to one category, and I have several categories appearing in different places on the home page, including one other that requires images. I think what we'll end up doing is just forgetting images on the home page for now and using a simple text excerpt instead so we can use the large images on the permalink pages. In a few months, I'll be hiring a designer to overhaul everything with a custom template, and then it'll be their problem. :D Thanks again. :)

    Jenn
     
    jhmattern, Apr 22, 2007 IP