Results 1 to 9 of 9

Thread: Images that stretch

  1. #1
    Registered Duke's Avatar
    Join Date
    Dec 2003
    Location
    Under your bed
    Posts
    11

    Images that stretch

    I'm trying to make images that will stretch to fit if the screen resolution is 1024 x 768 right up to 1600 x 1200. For the life of me I can't figure out how to do it.

    Also, I have a nifty border for my news articles to fit in and need that to stretch to whatever text, images, etc., that I place. Are there any tutorials on how to accomplish my goals?

  2. #2
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    Set the width of it to 100% could do the trick.
    Don't you just love free internet games ?

  3. #3
    Registered Duke's Avatar
    Join Date
    Dec 2003
    Location
    Under your bed
    Posts
    11
    Setting the image to 100% does stretch the image to whatever resolution I use, however it also distorts the image as well. The side borders widen as well as text and then the whole thing looks crappy. Maybe what I need is a table with the top image on its own, the text on a different layer and the side images in two seperate locked cells around an autostretch cell. I can also insert my text into this autostretch cell I recon.

    Also, do you guys use the text tool in Macromedia or do you use MS Word or some other program? I have a book Macromedia Studio MX for dummies and it recommends using MS Word actually.

  4. #4
    Registered Member incka's Avatar
    Join Date
    Aug 2003
    Location
    Wakefield, UK, EU
    Posts
    3,801
    For HTML & PHP? I use notepad.

  5. #5
    Senior Member chromate's Avatar
    Join Date
    Aug 2003
    Location
    UK
    Posts
    2,348
    Images will always distort when they're re-sized, unless they're vector based and you're using Flash or something.

    You can however use a scripting language to detect the user's settings and then serve up the page that's right right for them.

  6. #6
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755
    I use EditPlus.
    Don't you just love free internet games ?

  7. #7
    Registered Duke's Avatar
    Join Date
    Dec 2003
    Location
    Under your bed
    Posts
    11
    Its for HTML, sorry should have mentioned that.

    I was wondering if it was something created in Flash or Fireworks but haven't looked into it too deeply.

    I wonder if I simply had different images for different resolutions that were called upon depending on what the monitor resolution is. Or am I just talking out my @ss?

  8. #8
    Senior Member chromate's Avatar
    Join Date
    Aug 2003
    Location
    UK
    Posts
    2,348
    Exactly, then just use javascript to detect their settings and you're done.

  9. #9
    Registered
    Join Date
    Sep 2003
    Location
    England
    Posts
    11
    one way is to create the image in the biggest screen resolution you expect your users to visit in and set it as a background in your tables , set the tables to 100% and it will only show as much of the image as the user's screen settings.

    Be careful though using this method that you have taken the smallest resolution into account.

Similar Threads

  1. Free Royalty Free Images
    By incka in forum HTML, CSS, Layout, and Design
    Replies: 31
    Last Post: 01-22-2005, 10:07 AM
  2. Linking Images
    By Mike in forum Search Engine Optimization
    Replies: 5
    Last Post: 03-26-2004, 12:35 AM
  3. ASP - Display random images
    By MattM in forum Website Programming & Databases
    Replies: 1
    Last Post: 03-22-2004, 03:47 PM
  4. Attaching images?
    By Best.Flash in forum Site and Forum Feedback
    Replies: 1
    Last Post: 01-22-2004, 07:17 AM
  5. Deeper into Stretching images..
    By Jaffro in forum Graphics & Multimedia
    Replies: 3
    Last Post: 01-19-2004, 05:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •