What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » Image tag suggestion

Image tag suggestion
Author: Message:
KeyStorm
Elite Member
*****

Avatar
Inn-sewer-ants-pollie-sea

Posts: 2156
Reputation: 45
38 / Male / –
Joined: Jan 2003
RE: Image tag suggestion
I think you will agree that the img tag should also accept percentile parameter:

for example: my avatar:

real size:
[Image: MPavatar.php]


Half the size:
[Image: MPavatar.php]

How did I do it? Obviously I had to get to the size properties, memorize the sizes, divide them by 2 and write them in the [img=XxY]form.

Why couldn't I simply write [img=50%]?

It would be very good, because when you resize you really want to scale it.

Disadvantages: I don't know exactly, but I don't think gd/php can read the size (info) of a remote image, so the server would need to download the image, read the sizes and then load the image. Ending in server load.

But anyway, if someone finds out how to do it without the disadvantages... that would be great :)
05-09-2004 07:27 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Image tag suggestion - by matty on 05-09-2004 at 02:02 AM
RE: Image tag suggestion - by Joe on 05-09-2004 at 02:02 AM
RE: Image tag suggestion - by Johnny_Mac on 05-09-2004 at 02:53 AM
RE: Image tag suggestion - by Chrono on 05-09-2004 at 03:04 AM
RE: Image tag suggestion - by kao on 05-09-2004 at 03:18 AM
RE: Image tag suggestion - by .blade// on 05-09-2004 at 03:44 AM
RE: Image tag suggestion - by CookieRevised on 05-09-2004 at 01:53 PM
RE: Image tag suggestion - by reisyboy on 05-09-2004 at 07:17 PM
RE: Image tag suggestion - by MC Inferno on 05-09-2004 at 07:22 PM
RE: Image tag suggestion - by KeyStorm on 05-09-2004 at 07:27 PM
RE: Image tag suggestion - by kao on 05-09-2004 at 08:14 PM
RE: Image tag suggestion - by Johnny_Mac on 05-09-2004 at 11:08 PM
RE: Image tag suggestion - by WDZ on 05-11-2004 at 04:18 AM
RE: Image tag suggestion - by dotNorma on 05-15-2004 at 04:55 PM
RE: Image tag suggestion - by kao on 05-15-2004 at 06:20 PM
RE: Image tag suggestion - by Guido on 05-15-2004 at 06:43 PM
RE: Image tag suggestion - by fluffy_lobster on 05-15-2004 at 07:07 PM
RE: Image tag suggestion - by lylesback2 on 05-15-2004 at 07:28 PM
RE: Image tag suggestion - by kao on 05-15-2004 at 08:24 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On