vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   New BB tag to do image thumbnails... (https://vborg.vbsupport.ru/showthread.php?t=50882)

wolfgang2 07-04-2003 10:16 AM

no problems anymore :D

fiendnutz 07-13-2003 07:16 PM

is there anyway to make this work with attached images that were uploaded through a post made by someone. They use an img src tag rather than a {img} tag.

Tweak589 11-06-2003 05:35 AM

This works great!

Except I run into a very terrible issue with the code I think....

Zzed, if you can help possibly, please do so. I am all set with your code, and used your recomendation from this post:

https://vborg.vbsupport.ru/showthrea...ight=%5Bimg%5D

To use that line of code that will have [IMG] tags changed to [THUMB] tags. So I edited the functions.php perfectly fine, and everything works perfect.

The max estimated image size I can use for the forum dimensions is 540 x 405. Any image Higher than 540 will automatically resize to 540, no problems. But for things like signatures.... and small icons, I will always get a big thick black border around the small image. I even made the setting in your code of border="3" set to "0". So what could be the problem?

Is it looking at any image w/ [IMG] tags around it and trying to do this little equation or what?

All I am asking is for a fix that takes away those borders even though border="0" is on... Please Help!

-Tweak

ChrisSy 11-09-2003 08:18 PM

Quote:

Originally Posted by fiendnutz
is there anyway to make this work with attached images that were uploaded through a post made by someone. They use an img src tag rather than a {img} tag.

BUMP - also wanting this :l

MatrixSh0cke 11-12-2003 02:00 AM

Seems people dont want the border LOL I on the other hand DO, just want to color it? Is there any way to change it's color?

hypedave 11-12-2003 08:18 PM

Quote:

Originally Posted by MatrixSh0cke
Seems people dont want the border LOL I on the other hand DO, just want to color it? Is there any way to change it's color?


try this. Open admin/functions.php up
look for the folowing code.


PHP Code:

$code="<a href=\"$code\" target=\"_blank\"><img src=\"$code\" width=\"$xsize\" height=\"$ysize\" border=\"3\"></a>"

and change "border=\"3\ to border=\"1\

I havent tryed it, but let us know if that works

Tweak589 11-12-2003 10:54 PM

He asked how to color the border, not the thickness....

MatrixSh0cke 11-13-2003 01:21 AM

LOL, yeah I already trimmed the border down, I just wanted to color it. I tried the bordercolor= thing, but it didnt work. Is there something else I need to do?

MatrixSh0cke 11-19-2003 06:18 PM

No one can tell me how? ;_;

Prince 12-10-2003 04:40 PM

did you add the bordercolor tag to the first img line too?

this one:
$code = "<a href=\"$code\" target=\"_blank\"><img src=\"$code\"></a>";


All times are GMT. The time now is 04:43 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.01393 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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