Forum Moderators: coopster & phranque

Message Too Old, No Replies

detect image size and preload

js or perl magic?

         

idiotgirl

11:02 pm on Jan 12, 2002 (gmt 0)

10+ Year Member Top Contributors Of The Month



This could be a tall order, but I'd like to fetch specific images from a data list (from an online folder) and have their widths and heights populate form boxes. I looked at the ImageMagic mod and groaned a long groan.

Someplace I saw that it was done with javascript. One form box had the image's name, and two other form boxes had the height and width detected by javascript. I think it was some kind of upload script. Can't find it - don't remember, nor can I find it specifically doing a search term. <-- too many unrelated results.

Does anyone know how I could do this without yet another insufferable scripting ordeal? It's been a long weekend already :(

Marcia

12:12 am on Jan 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



sheesh girl, I just saw some Perl scripts last night that load images from folders on disk, one automatically inserted the dimensions into tags. Freebies, too! That's what I do to relax when I'm stressed out, I browse scripts. It takes all kinds, doesn't it?

I'll see if I can trace the history and find them.

idiotgirl

3:17 am on Jan 13, 2002 (gmt 0)

10+ Year Member Top Contributors Of The Month



Marcia -

Muuuuuuch appreciated!