vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Programming Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=188)
-   -   New Image Tag to reduce Imagesize (https://vborg.vbsupport.ru/showthread.php?t=94250)

akanevsky 10-10-2005 10:07 PM

Quote:

Actually, this is a common technique. If you only specify one dimensional attribute, the browser will automatically scale the other to match.
Really? That's useful, and I didn't know that :)

Ryan McBain 10-12-2005 05:46 AM

So what's the right way to do this step by step? I can't get this to work. When I do it, all I see is broken code and red X.

Ryan McBain 10-14-2005 10:17 PM

anyone?

utw-Mephisto 10-15-2005 01:12 AM

I put all the details in the first post which are running since vb3.5 RC1 on ut2007world.com ...

Be sure you have also insert an example, otherwise it won't work ..

PennylessZ28 10-15-2005 02:13 AM

How can I just replace the standard IMG tags with this?

utw-Mephisto 10-15-2005 02:16 AM

that would require file edits afaik ...

ggiersdorf 10-16-2005 07:44 PM

utw-Mephisto can you tell us what file edits and how?

utw-Mephisto 10-16-2005 08:54 PM

Good question, like out of my belly I would say <forum-root>/includes/class_bbcode.php

But I haven't checked the functions in there tbh .... I try to find something more specific, but until then, just take a look yourself, you might be faster finding what you need ;)

edit

I was close :)

There you go : https://vborg.vbsupport.ru/showthread.php?t=92882

ggiersdorf 10-17-2005 02:14 PM

hey Utw- Not sure if thats the same thing that link pust scroll bars on the screen. I would like to use this new custom BBCODE in place of the IMG tag or modify the IMG tag to do what this custome BBCOD does. Can this be done if so how!?

utw-Mephisto 10-17-2005 02:17 PM

The only way to change the [img] is in that file (class_bbcode.php) - I don't know another way ...


All times are GMT. The time now is 12:58 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03039 seconds
  • Memory Usage 1,726KB
  • 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_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
  • (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