vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Picture BBcode (https://vborg.vbsupport.ru/showthread.php?t=266046)

Ellendway 06-30-2011 12:50 PM

Picture BBcode
 
Hey,

I'm looking for mod or bb code for the picture. I don't know how I can call it or what's html code, but here is random picture from MS Word. I hope you'll know what I mean.

https://vborg.vbsupport.ru/external/2011/06/4.jpg

Thanks!

kh99 06-30-2011 01:07 PM

I think what you want is style="float:left" around the picture. We have a bbcode for that with this replacement (we used tag floatl):

HTML Code:

<div style="float: left;margin: 10px 10px 10px 0px;">{param}</div>

...but I can't remember where we got it - it might have been posted on this site and/or we may have changed it (I seem to remember putting in the margin thing).

Anyway, the code would then be [floatl][img]whatever[/img][/floatl]TEXT TEXT TEXT etc

Jeff Ledger 06-30-2011 01:39 PM

creat following css

Code:

.imgl {
float:left; /* image float to left in content */
width:150px;
}
.imgr {
float:right;  /* image float to right in content */
width:150px;
}

then add a new 2 bbcode name it with tag imgl and imgr (search to read more about bbcode, how to add), your bbcode replacement should be st like

<div class="imgl">{param}</div>
and
<div class="imgr">{param}</div>

Ellendway 06-30-2011 02:23 PM

Thanks guys <3


All times are GMT. The time now is 09:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01015 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete