suggestion - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: General (/forumdisplay.php?fid=11) +---- Forum: Forum & Website (/forumdisplay.php?fid=13) +----- Thread: suggestion (/showthread.php?tid=88042) suggestion by Jarrod on 01-01-2009 at 06:14 AM
add percentage support for img tags mycode code: RE: suggestion by Th3rmal on 01-01-2009 at 07:05 AM
quote:well stuff like this exists [img=800x300] url [/img] RE: suggestion by ShawnZ on 01-01-2009 at 07:09 AM yes, but he said add percentage support RE: suggestion by Th3rmal on 01-01-2009 at 07:31 AM
quote:i stand corrected , but i guess you could just specify the dimensions yourself, its not that hard and doesnt require support for anything new RE: suggestion by WDZ on 01-01-2009 at 07:42 AM
That kind of scaling would have to be done on the client side with Javascript, since the server doesn't know the dimensions of the image at the specified URL. I think the way Invision Board does it is pretty nice... maybe I could implement something like that. :/ RE: suggestion by Jarrod on 01-01-2009 at 08:53 AM
quote:what if i don't know the dimensions of the image? i could whack in some numbers but then i loose the proportions. and i am way to lazy to find the dimensions quote: Please and Thank you RE: suggestion by ShawnZ on 01-01-2009 at 04:04 PM and you should add a [thumbnail] tag that will automatically generate [url=x][img=25%]x[/img][/url] RE: suggestion by WDZ on 01-02-2009 at 01:22 AM What if the Javascript just scaled down all images in posts (enforcing a maximum width, like IPB) so they couldn't mess up the layout? Then the [img=50%] thing wouldn't be as useful, and images would be scaled even when the special tag format isn't used. RE: suggestion by ShawnZ on 01-02-2009 at 01:53 AM
quote: okay, but then also make it automatically link to them RE: suggestion by Mike on 01-02-2009 at 02:48 AM Don't forget that IPB scales according to your resolution RE: suggestion by Menthix on 01-02-2009 at 11:02 AM
quote:Which is useless for people with big screens who never run their browser window maximized. |