![]() |
|
Mod Options |
![]() |
|||||||||||||||
Resize Images with BB Code Tags
![]() Developer Last Online: Aug 2017 ![]() ![]() ![]()
This new BBcode allows images to be resized to any allowed size. The tags work like this:
[RESIZE=100][ATTACH=CONFIG]2621[/ATTACH][/RESIZE] or [RESIZE=100][IMG]http://www.mypics.com/gallery/picture.jpg[/IMG][/RESIZE] This will set the image width to 100px. The tags create a span with the specified width around the image and a CSS script sets the image width to inherit from the span Title: Resize Images BB Code Tag Name: resize Replacement:
Example: [resize=100][ATTACH=CONFIG]2621[/ATTACH][/resize] Description: Allows image resizing. Use{option}: Yes Button Image: http://www.myforum.com/forum/images/editor/resize.png (Create a link to your actual forum) Remove Tag If Empty: Yes Disable BB Code Within This BB Code: No Disable Smilies Within This BB Code: No Disable Word Wrapping Within This BB Code: No Disable Automatic Link Parsing Within This BB Code: No Download the button then upload to forum/images/editor. Create the proper link for the button image. Fill in the rest of the BB Code settings and you are done. This should work on all vB4 and vB3 versions. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Show Thread Enhancements Resize Images Within [IMG] BBCode With CSS | ChopSuey | Modification Graveyard | 3 | 06 Nov 2009 02:53 |
Wide image automatic resize for html and vB tags in posts - fixes template problems | Steve St.Lauren | vBulletin 3.0 Full Releases | 187 | 10 Mar 2008 12:16 |
Auto resize Huge images for [IMG] bbcode | 007pig | vBulletin 3.0 Full Releases | 54 | 27 Sep 2005 23:56 |
Comments |
#2
|
||||
|
||||
I completely changed how this works. In the original version JavaScript detected an onload event and that would fire a function that would use DOM to set the image width to match the specified span width.
Now the image width is simply inherited from the span. Much simpler! If you have already created this BB code replace the HTML with the present code., everything else is the same No members have liked this post.
|
#3
|
|||
|
|||
Still works with VB5, but only the original code: the updated code does not perform the resize and displays a full-size image.
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 17:47.