The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
CES Dynamic [IMG] Resize (Plugin Version) Details »» | |||||||||||||||||||||||||||
CES Dynamic [IMG] Resize (Plugin Version)
Developer Last Online: Sep 2022
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:
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
|
Comments |
#112
|
|||
|
|||
it works now had to rebuild signature cache, you should put that in the readme
Awesome mod great job!! after all these months my forums can look organized again, so many girls with there Big huge Pink sigs >< was so annoying. But its cropping the images instead of resizing. |
#113
|
|||
|
|||
If it's cropping then the Javascript isn't working. Check if you have any Javascript errors with the mod enabled. Then check with the mod disabled. Let me know what you find.
|
#114
|
|||
|
|||
Is there any way to make this work only for signatures?
|
#115
|
|||
|
|||
Edit the plugin called "Dynamic IMG Replace" at bbcode_parse_start.
Find the following line: PHP Code:
PHP Code:
|
#116
|
|||
|
|||
Great hack thanks a lot.
Clicks install And...future request: auto-adding a watermark. |
#117
|
|||
|
|||
Hmmm gives me a bunch of errors on a clean install...
Thread, (image restricted to 900px, but in fact 1280px wide) http://www.zclub.net/forum/showthread.php?p=98508 I'll start working through the errors best I can and get back with anything I learn. Cheers Just to update: I looked for JS errors with it enabled and disabled and apart from the image being cropped there were no differences between the two. No extra errors or anything |
#118
|
|||
|
|||
Hi,
In dynamicpic_script <style> should be <style type="text/css"> Other than that all the errors I had were inherent in vb. I don't get any JS errors but there is no linking to the image, disclaimer part to image, and the image is cropped in firefox and cropped in IE7 but still forces the window to stretch (as if it weren't cropped). It does complain that it thinks the -- in the for loop is supposed to be the end of the comments for that JS... for (k = dyn[i][3].length; k >= 0; k--) Which I changed to for (k = dyn[i][3].length; k >= 0; k = k - 1) To keep it quiet for now. There must be a better way around this? Any ideas please? This mod looks SOOO good on talkaudio.co.uk I must have it for my forum |
#119
|
|||
|
|||
LOL just read back through the past few posts, tried 1.1.0, it just hangs my firefox if I don't cancel the script
Onwards with 1.2.1 then |
#120
|
|||
|
|||
Is this script working with 3.7?
|
#121
|
|||
|
|||
Best mod ever. Great job. Installed !!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|