vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   [img] tag edit - 3.0.1 (https://vborg.vbsupport.ru/showthread.php?t=65368)

JKeats 05-21-2004 04:56 PM

[img] tag edit - 3.0.1
 
the image tag resize hack for 3.0.0 i found here doesn't work for 3.0.1. there isn't even an admin/functions.php file for 3.0.1 which is the file you need to edit for the 3.0.0 hack. the functions.php file in the includes dir isn't the right one either.

basically i'd like to force images in [img] tags to be equal to or less than a set width and if they exceed, become links (or button or whatever) instead that when selected will open the full size image.

i have thumbnails turned on for attachments and they're working fine... but this, obviously, doesn't apply to image tags.

can anyone help?

NeveAddict 06-18-2004 07:50 PM

I would like something similar aswell..
I use a BB-code to display thumbnails (Width=100)
Code:

<a href="{param}" target="_blank"><img src="{param}" width=100 alt="IMG4 picture, click for full size" class=fcell></a>
and would like all images (only if within quotes) that exceed 100pix wide, to be displayed as thumbnails automatically

I haven't found anything yet... anyone else? :(


All times are GMT. The time now is 08:07 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.00956 seconds
  • Memory Usage 1,711KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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