1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Autoblog plugin to shrink pictures?

Discussion in 'Blogging' started by DebtFreeMe, Apr 14, 2011.

  1. DebtFreeMe

    DebtFreeMe Regular Member

    Joined:
    Mar 14, 2010
    Messages:
    418
    Likes Received:
    363
    Occupation:
    Military
    Location:
    Earth
    Anyone know of a good plugin that will automatically shrink pics from RSS feeds down to whatever size I specify?

    Specifically it needs to work with wp-o-matic and wprobot. The ones I have tried, don't seem to work with my autoposting software.

    Any suggestions?

    (edit) Or, is there something I can do in the CSS to force it to shrink proportionally to the width I need for my site?
     
    Last edited: Apr 14, 2011
  2. sirgold

    sirgold Supreme Member

    Joined:
    Jun 25, 2010
    Messages:
    1,260
    Likes Received:
    645
    Occupation:
    Busy proving the Pareto principle right
    Location:
    A hot one
    • Thanks Thanks x 1
  3. DebtFreeMe

    DebtFreeMe Regular Member

    Joined:
    Mar 14, 2010
    Messages:
    418
    Likes Received:
    363
    Occupation:
    Military
    Location:
    Earth
    Hey Sirgold,

    Thanks for the link, unfortunately that method actually was going to create entirely new files with different file names for the shrunk down pictures, that would then have to be updated in the posts.

    But once I asked the question I got to thinking and found that if I edited the CSS img tag to be
    Code:
    img {
    padding: 0;
    max-width: 390px;
    height : auto;
    }
    It will automatically resize all the pictures on my blog that are bigger than the max I set, without messing up the aspect ratio, even ones that come through on RSS feeds ;). If the pictures are already smaller than that it will leave them alone.

    Thanks for the help, and thanks given to you for trying to help me.
     
    • Thanks Thanks x 1
  4. zerodtk

    zerodtk Regular Member

    Joined:
    Jan 23, 2009
    Messages:
    210
    Likes Received:
    74
    Home Page:
    do what DebtFreeMe says! :) that's the easiest and it will work :)