vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Forum Display Enhancements - Very simple image resize (CSS only) (https://vborg.vbsupport.ru/showthread.php?t=127266)

Bieddos 12-07-2006 08:48 PM

great resize :D

anzo 12-26-2006 10:04 PM

sorry, but this last version works fine in FF, but doesn't work in my IE 6.0 :(
http://latforums.lv/showthread.php?t=635&page=32

I've set max-width to 600px instead of 95%, but still nothing...
any advice?

Funky Diver 12-30-2006 10:42 PM

Quote:

Originally Posted by MarsNIIT (Post 1089560)
I found how to restore the original size in a new windows

1) Open class_bbcode.php
2) line 1884 change


to

OK??? :P

I have the Lightbox Mod installed also, so I edited it to be the following,

PHP Code:

return '<a target="_blank" rel="lightbox" href="' $link '"><img src="' $link '" border="0" alt="" /></a>'

NOT ONLY do my images resize in the forum, now they transition cool as cucumbers from a fridge on a hot day. TOP NOTCH.

Funky Diver 12-30-2006 10:44 PM

Quote:

Originally Posted by anzo (Post 1145508)
sorry, but this last version works fine in FF, but doesn't work in my IE 6.0 :(
http://latforums.lv/showthread.php?t=635&page=32

I've set max-width to 600px instead of 95%, but still nothing...
any advice?

Then your code needs to read;

Code:

/* BEGIN Image resize */
#posts IMG
{
    max-width: 600px;
    height: expression(this.height > 1024 ? "1024px" : true);
    width: expression(this.width > 768 ? "768px" : true);
}

#collapseobj_threadreview IMG {
    max-width: 600px;
    height: expression(this.height > 1024 ? "1024px" : true);
    width: expression(this.width > 768 ? "768px" : true);
}
/* END Image resize */


smoknz28 12-31-2006 09:30 PM

Installed on vB 3.6.4 :up:

Working under:
- Firefox v 1.5.0.9
- Internet Explorer 7.0.5730.11

Thanks for making this hack simple. ;)

PennylessZ28 01-08-2007 05:23 AM

This is still the best method out there. PERIOD.

MikeWarner 01-20-2007 04:07 PM

Would it be possible to make each image a link which will open the full size version in a seperate browser?

Zolo 01-22-2007 04:18 PM

Quote:

Simply put this piece of code into "Additional CSS Definitions" under Style Manager -> Main CSS of the template you want this mod apply to.
- there are many additional CSS defintions .. which one should be used?

- will this work with Firefox 2.0.0.1


Thank you & appreciate your help gents :up:

Zolo 01-22-2007 04:22 PM

I hope your mod will kill image resizing issue :D

taydu 01-26-2007 05:43 PM

I try every piece of code suggested here, non of there are working neither on IF of FF :(


All times are GMT. The time now is 03:13 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.01067 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_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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