Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Morrigan Posted April 4, 2010 Posted April 4, 2010 File Name: Resize Image for Fixed Width LayoutFile Submitter: MorriganFile Submitted: 04 Apr 2010File Updated: 01 Jul 2010File Category: Modifications If you have a fixed width layout and people post Large images it stretches your layout. This replacement file for the javascript for this function will make sure that your layout doesn't go funky when someone expands a large image. It will overlay other parts while big but it will shrink back properly after it's clicked again. ^_^ 7/1/10 Updated - To work for IPB 3.1.x I thought it would continue to work on this version. It did but it removes the inline notifications so the new file works for it. The older file works on version 3.0.5 still. ^_^Click here to download this file
najaru_1 Posted April 4, 2010 Posted April 4, 2010 +1 thank can be useful also for the non fixed skin?
Morrigan Posted April 4, 2010 Author Posted April 4, 2010 Of course. This just makes sure that your layout doesn't jump in size when you expand a linked image. An example would be like in this thread: http://forums.wootflakes.com/index.php?/topic/85-what-is-your-daily-average-bandwidth-usage/page__view__findpost__p__426
Morrigan Posted April 4, 2010 Author Posted April 4, 2010 Sorry Amy. Fixed that and Awesome possum ITA.
Inu Posted June 5, 2010 Posted June 5, 2010 Quick question, can I set what size the resize js will kick in action?
Morrigan Posted June 26, 2010 Author Posted June 26, 2010 No. This is just an overwrite of the original file. It will use the default "max width" etc size and then when you click it, it will expand to the full size of the image.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.