InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


Set max width of displayed images... Expand / Collapse
Author
Message
Posted 09/02/2004 08:06:00
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 14/10/2008 15:36:31
Posts: 582, Visits: 876

Ok, on gaming sites its common to post screenshots of significant events but this brings up a big (pun intended) problem.

If you have a post or two with 800px wide images you get the all too familiar side scroll bar and forget containing the forum within a header/footer connected table scheme.

I was wondering if there is a possibility of making images subject to a max width when they are displayed. Kind of like find images as they are being output, determine if the image size is over a certain width and maybe setting the width to the max on the fly so <img src=mybigfile.jpg width=800> would be changed to <img src=mybigfile.jpg width=400>

I realize this would distort the image but personally, for me Id rather not be forced to see images in posts (except for signatures) at all. I would rather all images be hyperlinks with a target of blank so you could read clean posts and click just like an article would have "Fig 1" such as...

Last night during the game we ran into this guy who appeared to be running a cheat. While we watched he scored two perfect hits with grenades (image) and then managed to out shoot everyone in the helo building without getting a scratch (image)

So, thats my perfect world and if either situation could be managed I think these would be excellent options to have in a forum product, ... oh, and I left out that my links no images option is something most DIAL-UP users would appreciate as well.



Mark 'Rigger82' Christianson
US Paratrooper & Webmaster of Paratrooper.net
http://www.paratrooper.net
Post #1772
Posted 10/02/2004 10:19:00


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: 13/11/2008 13:12:14
Posts: 1,955, Visits: 3,014
Hi Mark - Great suggestions. I'll certainly see what i can do for the 3.x releases. This should not be to tricky. Great suggestion regarding the image link as opposed to the image within the post. I think the option to disable images is also very possible. I'll need to look at this further but will certainly do so once 3.3 is released - I'll be sending you a BETA link this week at some point Mark

Thanks again




Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #1787
Posted 02/03/2004 03:27:00
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 31/07/2007 19:17:32
Posts: 11, Visits: 4

Ryan and Mark,

Maybe the uploading component can do the resizing and potentially even thumbnailing of the picture to open up full size.

I know that ASPjpeg does that and they may have a .net version.

I am using it very successfully for a gallery setup I have created.

Drew

Post #1947
Posted 02/03/2004 03:32:00


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: 13/11/2008 13:12:14
Posts: 1,955, Visits: 3,014

Hi Drew - I think you read my mind - i do plan to add resizing to the image upload control. You will be able to set the max width / height of images and all uploaded images within posts will be resized to the maximum size keeping the aspect ratio. I did something similar many moons ago when i offered InstantGallery.NET




Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #1952
« Prev Topic | Next Topic »

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 2:15pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 7 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.