PDA

View Full Version : preview images in upload form sometimes don't show up (from local hd)


crazygamer
10-26-2005, 02:32 AM
First, here are the two files I'm using:
http://www.reallycoolspace.com/upload.html
http://www.reallycoolspace.com/upload.js (the js file, the html file links to this)

The problem:
This might sound vague, but there's no better way to describe it. Sometimes, on certain patches of IE6 (all on SP2) the preview image won't show up. The preview functionality works only in IE also, so it definitely doesn't show in Firefox. We've figured that more often the larger size images won't show, usually between 1.5 to 5 megs. On my computer, this tended to be the very first image I open, and the rest would show until I restarted IE, cleared my cache, and moved the pics to a different folder. On another computer, it tended to be more random. That computer had a little earlier version of IE.

If someone can replicate this problem (in essense, preview images not showing up in IE), could you please take a look at the code and see if you can figure out why IE is doing this.

I would really appreciate any ideas or any knowledge of IE bugs that could be causing this to happen. As a side note, popping up an alert after adding the preview solved the problem 99% of the time. I'm guessing this has something to do with IE redrawing the page.

If I forgot to include some info, please let me know.

Thanks for any help!

felgall
10-26-2005, 10:53 PM
80k is considered to be a HUGE web page that will only be viewed in its entirety by 50% of visitors and you are talking about image sizes that are individually as big as dozens of huge web pages. There is never a need for images for the web to be bigger than 50k each unless you are supplying them specifically for printing or downloading.

crazygamer
10-27-2005, 01:36 AM
The page is made for uploading. Users will upload their files to a server. The files can be as big as they want, and, since many people have high quality digital cameras these days they could get huge.

scout.02
11-05-2005, 05:29 AM
did anyone figure this one out. I am having the same problem also. image randomly not showing up. its driving me crazy:confused: