Jump to content

javascriptman19

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

javascriptman19's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. How do u work with .jpg file attachments using the IMAP mail functions... i already know how to read the body text from an e-mail with IMAP but I haven't worked with attachments and don't know where to start... i basically want to get the .jpg attachment and save it to a folder on my server.
  2. I GOT IT!!! with max/min height/widths... theres no pre-set height/width so u don't know it until the image fully downed/rendered... thats the problem... i got a question though... as the image downloads does it render at the same time... or does it download in the background then render? and if so can u get the height/width settings if it downloaded but has rendered yet? even though its like a 1 second process
  3. What are the steps the browser takes? 1. Download Image 2. Resize 3. Render ???
  4. If I do <img id="IMAGE2" src="" style="max-width: 200px; max-height: 300px;">document.getElementById("IMAGE2").src = 'test.jpg';imgheight = document.getElementById("IMAGE2").offsetHeight; on img's with max-width / max-height attributes not ones with fixed height/width.... sometimes i get 0 and sometimes i get a number... then i noticed if i set the image... then set a timeout for 300 miliseconds then the offsetHeight always gives a number... can someone explain this to me? is the code going on before the image gets resized by the browser causing there to be no height to return resulting with the 0?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.