Help with scaling down an image

Discussion in 'HTML & Website Design' started by ollyno1uk, Jun 6, 2008.

  1. #1
    I have an image on my site that is too large for the place I need it to go.

    I use the width and height attributes for the img tag and got the size as desired but now the image looks almost slightly distorted the lines are no longer clear and sharp.

    Am I missing something?
     
    ollyno1uk, Jun 6, 2008 IP
  2. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #2
    You need to crop and resize the image using a photo editor like photoshop (there are also free photo editors available) and then upload the image for use. You don't adjust the image size by just changing the dimensions of the image tag.
     
    mjewel, Jun 6, 2008 IP
    ollyno1uk likes this.
  3. ollyno1uk

    ollyno1uk Active Member

    Messages:
    946
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    70
    #3
    Ah right - probably where I am going wrong then - thanks for your help - rep applied
     
    ollyno1uk, Jun 6, 2008 IP