Hi Rp31 and welcome to Wikipedia. I notice that your edits to Wadham College, Oxford include hard-coding the widths of some images. Except in special cases (e.g. in infoboxes and panoramas) it is best practice not to force images to pixel sizes, because this overrides the thumbnail size logged-in users can set in their preferences. The advice is In general, do not define the size of an image unless there is a good reason to do so: some users have small screens or need to configure their systems to display large text; "forced" large thumbnails can leave little width for text, making reading difficult. In addition, forcing a "larger" image size at say 260px will actually make it smaller for those with a larger size set as preference, so the use of upright with a scaling factor is preferred wherever sensible. Where you need control over the relative size of images, use the "upright" parameter, e.g. upright=1.0 is the same as the user's thumbnail setting. Where an image is "portrait" (i.e. taller than it is wide) using "upright" without a value will shrink the image slightly in proportion to the usual width. I've put some example below. If you've no objection, I will remove the explicit widths from the Wadham article in a few days. If you'd like to discuss this, please reply here. Thanks and happy editing - Pointillist ( talk) 22:11, 20 December 2013 (UTC)
Hi Pointillist,
Thank you so much for the comments - this is indeed very useful to know! I will try to fix the issues with the images as you suggested, but in case you feel that it's still not quite correct please do feel free to make changes as well.
Thanks again for taking the time to explain this! Rp31 ( talk) 17:16, 22 December 2013 (UTC)
Oh, I see what you mean Pointillist. I've removed the upright and 250px commands, and just left three upright commands on the images that work better if slightly larger than the nearby images.
Thanks for explaining also the 'your preferences' settings - that's a cool feature I didn't know about.
Rp31 (
talk)
11:52, 23 December 2013 (UTC)
Hi Rp31 and welcome to Wikipedia. I notice that your edits to Wadham College, Oxford include hard-coding the widths of some images. Except in special cases (e.g. in infoboxes and panoramas) it is best practice not to force images to pixel sizes, because this overrides the thumbnail size logged-in users can set in their preferences. The advice is In general, do not define the size of an image unless there is a good reason to do so: some users have small screens or need to configure their systems to display large text; "forced" large thumbnails can leave little width for text, making reading difficult. In addition, forcing a "larger" image size at say 260px will actually make it smaller for those with a larger size set as preference, so the use of upright with a scaling factor is preferred wherever sensible. Where you need control over the relative size of images, use the "upright" parameter, e.g. upright=1.0 is the same as the user's thumbnail setting. Where an image is "portrait" (i.e. taller than it is wide) using "upright" without a value will shrink the image slightly in proportion to the usual width. I've put some example below. If you've no objection, I will remove the explicit widths from the Wadham article in a few days. If you'd like to discuss this, please reply here. Thanks and happy editing - Pointillist ( talk) 22:11, 20 December 2013 (UTC)
Hi Pointillist,
Thank you so much for the comments - this is indeed very useful to know! I will try to fix the issues with the images as you suggested, but in case you feel that it's still not quite correct please do feel free to make changes as well.
Thanks again for taking the time to explain this! Rp31 ( talk) 17:16, 22 December 2013 (UTC)
Oh, I see what you mean Pointillist. I've removed the upright and 250px commands, and just left three upright commands on the images that work better if slightly larger than the nearby images.
Thanks for explaining also the 'your preferences' settings - that's a cool feature I didn't know about.
Rp31 (
talk)
11:52, 23 December 2013 (UTC)