Print Page | Close Window

Automatic-Resize on Image Upload

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=30364
Printed Date: 31 March 2026 at 3:37am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Automatic-Resize on Image Upload
Posted By: iSec
Subject: Automatic-Resize on Image Upload
Date Posted: 10 June 2012 at 9:55pm
I suspect this to be a bug, where images are resized automatically to a fixed size even though those settings are turned off in the admin control panel.

Steps to reproduce the issue:
  1. Upload an image of size 2304 x 1536 (or greater)
  2. Post it using the 'insert image' window
  3. [Important] The image will show full size on preview, and will not shrink until the post is made.




-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Replies:
Posted By: WebWiz-Bruce
Date Posted: 11 June 2012 at 10:44am
Image resizing in the admin area is for uploaded images which has the source image resized before being saved to disk.

What you are seeing here is image sizing using CSS using the following code in the forums CSS file:-

.msgBody img, .PMmsgBody img {
    max-width: 750px;
    height: auto;
}

Most modern browsers support this and it works very well so that the image is not too large for the post area.

However, support is not so great in IE 9 where the image is not auto resized on the height and sometimes makes the image proportions incorrect. 


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date Posted: 11 June 2012 at 5:59pm
ahh -- thanks... that makes sense. 

I wish there was a feature where if you post an image, you get to click it and get a pop-up of the full-size image. Here is how it should be (using lightbox)  http://lokeshdhakar.com/projects/lightbox2/" rel="nofollow - http://lokeshdhakar.com/projects/lightbox2/

That would be awesome!


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: WebWiz-Bruce
Date Posted: 11 June 2012 at 6:15pm
Lightbox requires the use of Thumbnails and most users do not have image resize components installed on servers in order to resize the images.

Lightbox works well on websites where the web master adds the images to the server, but in a forum where members link to images on different websites as well as uploading images it would be very hard to setup such a system and highly error prone.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date Posted: 11 June 2012 at 6:55pm
Gotcha... thanks for all the help / feedback, Bruce Smile

-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net