Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Automatic-Resize on Image Upload
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Automatic-Resize on Image Upload

 Post Reply Post Reply
Author
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Topic: Automatic-Resize on Image Upload
    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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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. 
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post 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/

That would be awesome!
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.