Forums

Auto frames for pictures... (3 posts)

  1. eirikdh
    Member
    Posted 6 years ago #

    Ok. I'll try to explain what I'm asking for.

    I'm using WP 1.2.

    For every time i post a IMG file in a post I want a "frame" to suround the image.

    A script that will remember that if I post a jpg of gif file in a post it will put a "frame" to it.

    I would like a simple frame. Maby just a black line that is 1cm or so..? OR a more special frame like a "photo frame".

    is there a script or plugin for this?

    My enligsh is bad and what I'm trying to say was hard.
    But hope you'll understand! ;)

  2. pcheek
    Member
    Posted 6 years ago #

    Well, for your theme, you could add this to the css file...

    /* Start Code */

    img {
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #000000;
    border-top-style: solid;
    border-top-width: 2px;
    border-top-color: #000000;
    border-right-style: solid;
    border-right-width: 2px;
    border-right-color: #000000;
    border-left-style: solid;
    border-left-width: 2px;
    border-left-color: #000000;
    }

    /* END Code */

    This will put a black border around all images. Hope it helps!

  3. eirikdh
    Member
    Posted 6 years ago #

    It sure did help :D

    Thanks ;)

    Now... Is there possible to make a better frame. Not in black, but maby like a pictureframe.

    Like this.

    The same "image-frame" for the top and the buttom of the pictures, and the same "image-frame" for the left and right side of the pictures ?

    Is this hard work ? Hope you get what I'm trying to say here...lol

    P.S.

    One more thing. Is it possible to make that script NOT put a frame around gif-images? Now it's frames around every emotion-smilie-face :S

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags