![]() |
BBCode: Resize Image with Text Wrap
1 Attachment(s)
Resize Image with Text Wrap BBCode
I created this BB Code for my own forum and thought I'd share it with the community. This BB Code allows images to be posted at 200px Wide with text wrapping. Double-clicking the image enlarges it to 600px Wide. Single-clicking reduces the image size back to 200px Wide. The size/resize dimensions can easily be altered to suit your individual requirements. Just change the width= dimensions in the code below. Demo Here Instructions: Open the BBCode Manager/Add New BBCode Title: Resize Image BB Code Tag Name: RI Replacement: Code:
<img src="{param}" width="200" ondblclick='this.src="{param}";this.width=600' onclick='this.src="{param}";this.width=200' align="left" hspace="10"> Example: [RI]image web address goes here[/RI] Description: Post image at 200px Wide with text wrap. Double-click to enlarge to 600px Wide. Single-click to reduce back to 200px Wide. Use {option}: No Button Image (Optional): images/editor/ri.png (upload the attached image via FTP to /images/editor folder) Kindly supplied by VonDoom Post#6 Remove Tag If Empty: Yes Disable BB Code Within This BB Code: Yes Disable Smilies Within This BB Code: Yes Disable Word Wrapping Within This BB Code: Yes Disable Automatic Link Parsing Within This BB Code: Yes Please mark as installed if you use this :) __________________________________________________ ______________ V. 1.01
|
Quote:
any help plzzz thanxxxx |
I get that same error message for several custom BBCode entries. All of those BBCodes work fine. It's the error message itself that is in error.
|
I got same error message with some bbcodes, they work fine however. I use vBulletin 4.0.6
|
Quote:
|
1 Attachment(s)
This is going to be my most frequently used BB code. This really give a nice clean and pro feel. Installed and rated. Thanks a ton for this.. My staff is already running around editing our news forums. ;)
I also quick jammed out a button for this, just add it to your Images/Editor folder via FTP and add the Img url to the Button Image (Optional) location when creating your new custom BB code. |
Quote:
|
Quote:
I wanted to also add it works perfectly on the Blogs and CMS to. Actually is a great CMS product enhancement.. haha i just cant stop editing every other article on my home page now. I have nominated this little bad ass mambo jambo ;) |
Quote:
|
Nice mod there midnz
thanks for your efforts Seemed interesting so I test it out.. seems if you add the image to a post with a couple lines. .. it over laps down wards into the sig area.. Not sure if any one noticed it yet I sure will use it if this could be fixed .. |
All times are GMT. The time now is 06:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|