Placing white border around an image

Discussion in 'Graphics & Multimedia' started by JohnGBUK, Apr 11, 2008.

  1. #1
    Does anyone know a website I can upload an image to (small photograph) and have the website place a white narrow border around the image, then ready for saving back to file?
     
    JohnGBUK, Apr 11, 2008 IP
  2. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #2
    If you are talking about a jpeg, then you should use css to place a border around the image. Every time you modify a jpeg, the quality of the image degrades.
     
    mjewel, Apr 11, 2008 IP
  3. SitPoMk

    SitPoMk Peon

    Messages:
    457
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    going on top of what mjewel said

    the CSS goes a little like this

    
    img {
         border: 2px solid #FFFFFF;
    }
    
    Code (markup):
     
    SitPoMk, Apr 11, 2008 IP
  4. JohnGBUK

    JohnGBUK Guest

    Messages:
    182
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the advice, its much appreciated.
     
    JohnGBUK, Apr 11, 2008 IP