Version: 1.2.2, by thincom2000
Developer Last Online: Sep 2022
Category: Show Thread Enhancements -
Version: 3.6.x
Rating:
Released: 09-08-2007
Last Update: 07-07-2009
Installs: 68
Uses Plugins Template Edits
No support by the author.
CES DYNAMIC [IMG] RESIZE
Version: 1.2.2
This mod is based on TECK's Dynamic Picture Resize for [IMG] tag mod. I made this mod after seeing a discussion in the thread about the potential number of file edits necessary to add some requested features, and then realized the entire mod could be accomplished with essentially just 1 plugin. TECK suggested that for ease of support I release my updated product file in a new thread, so here it is.
*** NEWS ***
7/8/2009 - v1.2.2 released
9/23/2007 - v1.2.1 released
9/21/2007 - v1.2.0 released
9/13/2007 - v1.1.0 released
9/11/2007 - v1.0.4 released
9/9/2007 - support thread opened, v1.0.1 - 1.0.3 released
9/8/2007 - v1.0.0 released
Products to Install: 1 Plugins Included: 7 Files to Upload: 0 New Templates: 1 Template Edits: 0 Files to Edit: 0
What It Does:
When using the [IMG] bbcode tag, a user may add an image to his/her post that is too ginormous for your intended vBulletin style, pushing things out of the way, and not looking particularly nice. This hack resizes oversized images to specified acceptable dimensions, anywhere that the [IMG] tag is used.
Current Features:
show a disclaimer when an image has been resized (option)
clicking the image opens in parent or new window (option)
multiple images on a line will be resized so their total width is below the set max
Known Issues:
- None
*** Changelog *** As of Version 1.2.2:
- bug fix: XSS flaw
As of Version 1.2.1:
- bug fix: table explosion
As of Version 1.2.0:
- new feature: max width sharing for multiple images on a line
- bug fix: onclick interferes with [url]
- bug fix: onclick properties not passed to resize disclaimer
- bug fix: images separated by line breaks
- bug fix: [img] ignores [noparse]
As of Version 1.1.0:
- new feature: maximum height
- extended: maximum width can be in pixels or percentage
- bug fix: resize message class not set in Internet Explorer
- updated templates: dynamicpic_script
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
This is the stupidest bug I have seen. It is impossible to run the bbcode_parse_complete code in showthread. Why does this only work in Project Tools? The variable has been globalized and I have even tried storing the recurse value in a $vbulletin->dynamicpic object with no luck.
The recurse value is ALWAYS zero on showthread, and even when skipping the check the regex is too lazy to bother on showthread. Does anyone have any solution? I am so fed up with the postbit at this point and on the verge of only supporting use of this mod in Project Tools.
I posted in the wrong section here is the error I get with the new update and this didn't happen on the older version.
With the new update on this mod I am now getting an error in firefox I know for sure.
I am running VB 3.6.8 the last version of this mod was fine now I get this when navigating the forum. The only thing I did was turn it on and lowered the size settings on this mod, everything else is at default.
Attached Thumbnails
This has been established. The current version only works in Project Tools. If anyone still has a copy of the old zip archive, it would be extremely helpful in finding out what broke.