[img] [/img] resize (56k beware)

Discussion in 'General Mac Discussion' started by BakedBeans, Sep 1, 2004.

  1. BakedBeans macrumors 68040

    BakedBeans

    Joined:
    May 6, 2004
    Location:
    What's Your Favorite Posish
  2. SilentPanda Moderator emeritus

    SilentPanda

    Joined:
    Oct 8, 2002
    Location:
    The Bamboo Forest
  3. Badradio macrumors 6502

    Joined:
    Aug 19, 2004
    Location:
    Manchester
    #3
    I take it you mean the <img src="***" height = 150px width = 150px> way of resizing an image. You can set the height and width to whatever you want in a web page - that will take care of the appearance (as long as you keep the aspect ratio the same, or it will look terrible). Thing is, you'll still be forcing people to download a big image file, even though they don't get to see it. Might want to use some image editing software to do it and keep the file size down.
     
  4. BakedBeans thread starter macrumors 68040

    BakedBeans

    Joined:
    May 6, 2004
    Location:
    What's Your Favorite Posish
    #4
    yeah with that img src= stuff.... how do i do that?... and can you reccomend some software to shrink it in size??
     
  5. Badradio macrumors 6502

    Joined:
    Aug 19, 2004
    Location:
    Manchester
    #5
    When you add an image to a web page, you use the <img></img> tags. The src = "" attribute holds the path to the image, so src = "root\directory\file" will tell the browser where to find the image file. The "height =" and "width =" attributes tell the browser what size to display the image, so if you had a 1000x1000 pixel image, you could put <img src="root\directory\file" height = 100px width 100px></img> and it would look ok: if anyone sat there long enough on a 56.6 to see the image - that would take a while to download.
    As for software, Photoshop is the definitive image editing app, but spending around £500 to resize some pics would be excessive. Photoshop Elements is a cheaper version (about £50/£70???) that has some of the pro stuff removed. Good choice though. Paint Shop Pro is cheap - about £40 when amazon have it on offer - but I find it a bit clunky and have never been able to resize screen captures well in that. Fireworks is a good package for web work at a middle-ground price (about £250-£300 - again, can't remember). If you just have a batch of non-commercial images to resize, you could download a Fireworks trial from www.macromedia.com. If you like the software, you can always buy a full version to keep using it beyond the 30 days.
     
  6. BakedBeans thread starter macrumors 68040

    BakedBeans

    Joined:
    May 6, 2004
    Location:
    What's Your Favorite Posish
    #6
    its cool i have photoshop cs anyway... thanks

    <img src=http://homepage.mac.com/algodden/.Pictures/Contrast.jpgheight=100px width=100px>[/img]


    <img src=http://homepage.mac.com/algodden/.Pictures/Contrast.jpg height= 100px width= 100px></img>
     
  7. Badradio macrumors 6502

    Joined:
    Aug 19, 2004
    Location:
    Manchester
    #7
    Spotted...

    Was going to mention the quotes but you got them sorted...
     
  8. BakedBeans thread starter macrumors 68040

    BakedBeans

    Joined:
    May 6, 2004
    Location:
    What's Your Favorite Posish
    #8
    do me a favor? and post up what it should be then i will quote you and i might get it through my idiotic skull.....
     
  9. Badradio macrumors 6502

    Joined:
    Aug 19, 2004
    Location:
    Manchester
    #9
    You got it right - just use the <> brackets instead of the [] brackets (I assume you know about html tags and that you're using the [] brackets for readability here).
     
  10. BakedBeans thread starter macrumors 68040

    BakedBeans

    Joined:
    May 6, 2004
    Location:
    What's Your Favorite Posish
    #10

    :eek: :eek: ummm....yeah....
     
  11. Mr. Anderson Moderator emeritus

    Mr. Anderson

    Joined:
    Nov 1, 2001
    Location:
    VA
    #11
    Why are you trying to do this? Its a big file and you don't need it that large in the html - better and faster to have a 100x100 pixel image thumbnail from Photoshop CS....

    D
     
  12. Badradio macrumors 6502

    Joined:
    Aug 19, 2004
    Location:
    Manchester
    #12
    Oops... sounds like you might have missed out on the joys of hand coding your web pages. If you get stuck, just have a look at ImageReady in PS and lay your pages out visually. Not used it myself, but I understand it's pretty good and simple to pick up.
     
  13. BakedBeans thread starter macrumors 68040

    BakedBeans

    Joined:
    May 6, 2004
    Location:
    What's Your Favorite Posish
    #13
    i am going to do that...ive just got a bee in my bonnet about not being able to do it (im like that)
     
  14. BakedBeans thread starter macrumors 68040

    BakedBeans

    Joined:
    May 6, 2004
    Location:
    What's Your Favorite Posish
    #14
    i just cant seem to do it...

    i feel like a prize idiot....

    then to top it all ive got to go and learn how to resize in ps
     
  15. Badradio macrumors 6502

    Joined:
    Aug 19, 2004
    Location:
    Manchester
    #15
    Try putting the image in the same directory as the html page and link to it using <img src="filename.jpg" height = 100px width = 100px></img> Then you can move it and change the target path once it's working.
     
  16. Badradio macrumors 6502

    Joined:
    Aug 19, 2004
    Location:
    Manchester
    #17
    Always. Nice monkey by the way. ;)
     
  17. BakedBeans thread starter macrumors 68040

    BakedBeans

    Joined:
    May 6, 2004
    Location:
    What's Your Favorite Posish
    #18
    bet you say that to all the girls....(not that i am one)

    anyway thanks for your help...

    just got rooney also...nice one
     
  18. Badradio macrumors 6502

    Joined:
    Aug 19, 2004
    Location:
    Manchester
    #19
    Oh dear - if you'd mentioned that you were a manc follower in the thread title... Don't let the location fool you.
    Still, the increase in pie sales around here should be good for local business... ;)
     
  19. BakedBeans thread starter macrumors 68040

    BakedBeans

    Joined:
    May 6, 2004
    Location:
    What's Your Favorite Posish
    #20
    im not a manc supporter mate.. im a liverpool lad through and through....i was just being nice as i thought you were...
     
  20. Badradio macrumors 6502

    Joined:
    Aug 19, 2004
    Location:
    Manchester
    #21
    Small world - although I'm used to keeping that one quiet since I moved over here.
     
  21. kanker macrumors 6502

    Joined:
    Nov 13, 2003
    Location:
    Indy
    #22
    If you don't want to spend any bread you can shrink it when you export from iPhoto.
     
  22. rfenik macrumors regular

    rfenik

    Joined:
    Oct 28, 2003
    #23
    It's NOT hard to resize in photoshop.

    Go to image/image size and type in what size you want it to be. Use bicubic interpolation.
     

Share This Page