vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   How to put Image Dimensions in VB4 (https://vborg.vbsupport.ru/showthread.php?t=288511)

Mark_Zuckerberg 09-30-2012 08:13 PM

How to put Image Dimensions in VB4
 
I was searching for specify image dimensions in vbulletin and i came up with this link

Code:

http://www.vbseo.com/f28/automatically-retrieve-image-dimensions-1601/
but this will work if you have vbseo installed while if we not have vbseo installed then what should we do can any one explain?

CAG CheechDogg 09-30-2012 09:03 PM

Ok Mark here you go. To add image dimensions you do the following:

<a class="collapse" id="collapse_forum_info" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" width="16" height="16" alt="image description optional but sometimes asked" /></a>

Use firefox and locate the image, some are not so direct but you can still figure out in which template they are in. simply add the code in red to your image and you have image dimensions done.

Mark_Zuckerberg 09-30-2012 09:21 PM

but after testing my site i get these links to optimized what to do with taht mate


CAG CheechDogg 09-30-2012 09:34 PM

Those small images are all the png's that you see on the templates which are 16x16 so it is not hard to find them at all. Just do what I posted above and you will be fine.

If you have time later tonight in about 4-5 hours I can help you through teamviewer.


All times are GMT. The time now is 11:43 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.01374 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_quote_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