-----BEGIN PGP SIGNED MESSAGE-----
Tj Superfly wrote:
| Hello everybody,
| I’m looking for a way that I could insert a URL for an image that is
| online and have it tell me what size it is?
| I’ve been messing around with File.size? and file.size and havn’t quite
| gotten it to work, am I missing something?
Have you tried downloading the image? Or at least an HTTP connection?
AFAIK, HTTP doesn’t provide an option to detect the size of a file
without downloading (might be wrong, never messed around with HTTP
headers). (S)FTP might, though, but that requires an open FTP
In any case, you’ll need an open network connection to the file.
~ That’s the difference between me and the rest of the world!
good enough for me! I demand euphoria! – Calvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----