Forum:File page image display

I was planning on asking this a few months ago, but is there css or js that will make the image on a file page display smaller? The full-size images stretching across the screen is really beginning to annoy me. --


 * Last I checked the images on the file page are displayed with a max-width of 640px, like on the file page you created. Isn't that the case on your wiki? — Sovq 06:23, September 15, 2011 (UTC)


 * It is capped at 640px if you're not logged in, otherwise the description image is based on your user preferences, which can be set far wider than that. You can change that setting in your preferences under the Appearance tab. Anything above 640px wide will allow larger images to push across into the right rail. --Jrofeta 07:44, September 15, 2011 (UTC)
 * Okay. Thanks! --


 * If you want the images to not overlap the siderail for all viewers, you can add the following to the MediaWiki:Wikia.css on your wiki:

.ns-6 #file img{ height:auto; max-width:100%; }
 * --Gardimuer { ʈalk } 16:19, September 15, 2011 (UTC)