![]() |
Image Alignment BBCode (left or right align)
This is a simple image alignment bbcode you can create in your AdminCP to align images to either the right or left of text... This bbcode should work for any of the 3.x series vBulletin.
Instructions: Go to your AdminCP - In the Custom BB Codes section - Click Add New BB Code - Then fill out the following sections as noted below: Title: Image BBCode With Left or Right Alignment Tag: imgalign Example: [imgalign=left]http://img77.imageshack.us/img77/1202/jpicad30pa.gif[/imgalign] Replacement: HTML Code:
<img src="{param}" align="{option}" border="0" alt="" style="padding:6px;" /> Button Image (Optional): images/editor/imagealign.gif
Online vBulletin Forum Example: JPiC Forum For Writers |
Tks poetJA!
you know if this works with the litebox hack? all the best joao barroca aka beduino |
Hi BEDUINO - I am not completely sure, as I don't have vB 3.7 installed or the lightbox installed... My guess is that if the lightbox hack works with all attached images or the regular vB [img]https://vborg.vbsupport.ru/[/img] tags, then it should work with the alignment bbcode as well.
Let me know ;) Jacquii. |
nope I've installed this on 3.7.2 with litebox already running...
and it doesn't work... the lightbox's zoom does not show up like usually on the img tags. nevertheless this is a very good mod |
Thanx for the update - just one of the image bbcode I like to use on JPiC for articles and Poet biographies ;) Glad you like.
Jacquii. |
anyone know this doesn't work for me? I copied everything and I see the wrap image in the forum post. Then I put the url of image in the option and no image shows up when I preview/save it.
|
It's a bbcode - there should be no reason that it doesn't show if you've copied the directions to the letter. Just be sure that you are using the bbcode correctly:
[imgalign=left]http://img77.imageshack.us/img77/1202/jpicad30pa.gif[/imgalign] Jacquii. |
I've installed this modification on version 3.7.3 Patch 1 and i'm getting this problem
http://www.sovietgaming.net/media/images/imgwrap.png Does anyone know of a way to fix this? |
If there is no text - the alignment will look like that.
Jacquii. |
Installed, but with a stlightly different syntax:
HTML Code:
<img src="{param}" style="float: {option}; padding: 3px;" /> |
I do have text but I just put a black block over it.
If you have have text that does not wrap below your picture then it will mess up like I posted. Is there a way to fix this tho? |
The float option only allows for right & left I believe...
My option allows for right, left, middle, top & bottom align ;) @ r3dh3adkid -- No - the purpose of the image align is for the text to wrap around the image. The only way to alleviate the issue you posted is to possibly use spaces in your post. ALSO - if you are using the bbcode = Click INSTALL. Jacquii. |
thnx a lot i was looking for it for a long time. but i have a problem.
1-is it possible to add the link as an "option". i mean the opening window (popup). 2-when i want to apply it to the old <img> tag, images are losing and and the red x square symol is looking there. your suggestions? |
All times are GMT. The time now is 05:06 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:
|