WordPress.org

Ready to get started?Download WordPress

Forums

Frame around images also with Postie (3 posts)

  1. falke
    Member
    Posted 8 years ago #

    I would like to have a frame around pictures posted via postie, just as I get when I upload pictures inside of WordPress. I suppose it is a CSS thing but I cant figure it out…. ;o(

    Anybody done this and still remember?

    I am using a slightly modified Classic theme. Have a look at my site at http://www.falke.nu

    Postie marks all images that are emailed with:

    <div><img class="wp-mailimage" style="border: medium none " alt="IMGP3783.JPG" src="http://falke.nu/wp-photos/20060418-222315-1.jpg" /></div>

    while a image imported the normal way looks:

    <div><img alt="IMGP3728.JPG" src="http://falke.nu/wp-photos/20060415-181111-2.jpg" /></div>

    I have a section in my style.css:

    a img {
    background:#fafbfc;
    border:1px solid #b0b0b0;
    margin: 5px 5px 5px 5px;
    padding:5px
    }

    Shouldn´t this work for all iamges?

    Regards/falke

  2. Michael Bishop

    Posted 8 years ago #

    You may want to edit the postie script to remove the style, so that it's not overriding your style sheet.

    I'm not familiar with the declaration border: medium none, but I'm guessing the "none" is for the actual border. I believe inline style overrides external sheets.

  3. Marcomail
    Member
    Posted 7 years ago #

    Medium not exist
    Try this and delete the inline style:

    a img.wp-mailimage {
    background:#fafbfc;
    border:1px solid #b0b0b0;
    margin: 5px 5px 5px 5px;
    padding:5px
    }

    img.wp-mailimage {
    background:#fafbfc;
    border:1px dotted #b0b0b0;
    margin: 5px 5px 5px 5px;
    padding:5px
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags