vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   custom border image around images created with [img] tags (https://vborg.vbsupport.ru/showthread.php?t=125276)

Kirk Y 09-02-2006 02:03 AM

I used the HTML you've been using in your new BBCode -- so if your users try doing:
Code:

[url="google.com"][img]http://mysite.com/image.jpg[/img][/url]
The picture won't be linkable.

bhxtyrant 09-02-2006 03:21 AM

Ah i see.Seems this is gonna be the hardest thing to overcome.Is there perhaps a way i can make a custom BBcode just to control the border?for example if i wanted an image to have the boarder i could do-
Quote:

[border][url="google.com"] [img]http://mysite.com/image.jpg[/ img] [/ url][/border]
That would be a decent alternative as this doesnt really need to be used on every image.I like your idea better though so that would be prefered if it were possible.

:EDIT:
Cant i use something like this to manage the images via CSS?

Quote:

.postimage.topleft{background-image: url(test.jpg);}
.postimage.topright{background-image: url(test.jpg);}
.postimage.topmid{background-image: url(test.jpg);}
.postimage.left{background-image: url(test.jpg);}
.postimage.right{background-image: url(test.jpg);}
.postimage.botleft{background-image: url(test.jpg);}
.postimage.botright{background-image: url(test.jpg);}
.postimage.botmid{background-image: url(test.jpg);}

bhxtyrant 09-03-2006 06:20 AM

Hmm i was thinking of something that might be an option.Can i put the table code with image border in the area used for [url] tags then use some sort of "if" tag or conditional to make the border only appear when used along with [img] tags?

bhxtyrant 09-04-2006 05:25 PM

bump


All times are GMT. The time now is 11:59 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
  • Page Generation 0.00916 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete