Truck Pic Click Test

mtm2 and other sensible chat
Post Reply
User avatar
Phineus
Glow Ball
Posts: 24
Joined: Tue Feb 02, 1999 7:00 pm

Truck Pic Click Test

Post by Phineus »

The trouble with allowing visitors to upload pics for their creations is that they don't always upload using the same size pic (640x480)... which, if I force width and height dimensions, can result in pictures being distorted, or if I don't, they either don't fill the window or get cut off. So, I came up with a trick to resize the window to fit. Please give it a try and see if you have any problem with it. There's a couple sample's near the top.

Smallish - onan's nascar pack 2003-09-24, or rox racing 2003-07-12
Largeish - KM's Grave Digger 3, 2003-09-19

'nuther small one - bft's jeep, 2003-08-02

Link : http://mtm2.com/~trucks/


PS. say "Truck Pic Click Test" ten times in a row really fast, lol.

Thanks.
User avatar
Malibu350
easy company
Posts: 2036
Joined: Tue Feb 29, 2000 2:01 pm
Contact:

Post by Malibu350 »

Nice trick, works great from here. One little note, the border along the bottom of each image is about three times the width of the top and sides.
User avatar
Phineus
Glow Ball
Posts: 24
Joined: Tue Feb 02, 1999 7:00 pm

Post by Phineus »

> the border along the bottom

.. leaves room for the status bar, which I usually have on ;-)
User avatar
Malibu350
easy company
Posts: 2036
Joined: Tue Feb 29, 2000 2:01 pm
Contact:

Post by Malibu350 »

that's what I thought, that or a close button.


Not complaining but thought I'd let ya know things have been bumpy around here today, seems ok now tho, probably just traffic :o)
User avatar
Phineus
Glow Ball
Posts: 24
Joined: Tue Feb 02, 1999 7:00 pm

Post by Phineus »

Yea, I noticed around 4 to 5pm it was a bit slow. I checked the stats and we've had a couple days this month where we hit a gig of transfer per day. That's a lot for only one network card... and cable users downloading with file managers too. (btw, I noticed trackshots in the top 10 :o)

edit. referrer note
crawl23.googlebot.com - - [] "GET /~mtmg/ HTTP/1.0" 200 898 "-" "Googlebot/2.1"
crook-hide.k12.wy.us - - [] "GET /~tracks/trackpic.cgi?thistrack=3701 HTTP/1.1" 200 442 "-" "Mozilla/4.0"
crook-hide.k12.wy.us - - [] "GET /~tracks/stylesdefault.css HTTP/1.1" 304 - "http://mtm2.com/~tracks/trackpic.cgi?thistrack=3701" "Mozilla/4.0"
crawlers.looksmart.com - - [] "GET /~forum/pages/Forum1/HTML/000898.html HTTP/1.1" 200 11349 "-" "Mozilla/4.0 compatible ZyBorg/1.0 Dead Link Checker"
crawl22.googlebot.com - - [] "GET /robots.txt HTTP/1.0" 200 18 "-" "Googlebot/2.1"
User avatar
TheReal_KD
Member
Posts: 18
Joined: Thu May 22, 2003 4:20 am
Location: Portland

Post by TheReal_KD »

Works great, images popped right to center after loading.
Still alive and rumored to be somewhere in oregon?
Post Reply