Quote:
Originally Posted by Steve St.Lauren
mr.gamesbay - that is a problem with using getimagesize but I haven't found a better solution. If it's taking more than 2 minutes then you must have a LOT of pictures in that thread that are bad links. Timeouts should only happen if the server is unreachable - if the server is reachable and the files just aren't there that should go through fast. The timeout is set to 5 seconds to get a response from the remote server - if after 5 seconds there is no response then it moves on. So to have it taking 2 minutes you'd have to have ~20 pictures on that thread that are linked to a non-active server. There is some discussion at the beginning of this thread on how to do a resize using Javascript that solves this problem but that doesn't work if the pictures are loaded from the cache so IMO it isn't a good solution.
|
There was only 3 or 4 dead Links in it, not more.
First i think, it was an error with my webspace or my vB, but after i removed the code, the threads opend normal.
The code from Auros i used too, is imo faster, but it have a small bug if i use the WYSIWYG-Editor and i dont know how to remove the bug.
PS: Sorry about my bad English