vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Resize Images Zero Query (https://vborg.vbsupport.ru/showthread.php?t=233166)

Bundle 06-15-2010 03:43 PM

Quote:

Originally Posted by dsvarups (Post 1957604)
Can this work on the blogs too, the images do not resize on members blogs?

Seconded, can't seem to get this working on blogs.

Charlie98902 06-15-2010 03:55 PM

You need to alter the css to allow this to work on blogs. If you look at the css code it clearly says #posts IMG meaning posts only.

Charlie98902 06-15-2010 08:26 PM

Wouldn't this also work in the additional.css as it is now?

doraj 06-20-2010 03:25 PM

Hello,

does it works with vB 4.0.3 and also the CMS?

Thank you

sticky 07-25-2010 09:14 AM

I much prefer this image resizer since it works for any resolution.

However, is there any way to make it so a user can click to enlarge the photo to its original size?

StarBuG 10-09-2010 03:05 AM

If you simply want to resize images via CSS then add this to additional.css Template:

Code:

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
max-width:XXXpx;
}

where XXXpx is the max. width you want the image to have.
You can either use px or %.

LifesGreatestGift 05-20-2011 04:24 PM

using css expressions is not recommended if you are looking to render your pages faster. But great template edit all the less.

http://developer.yahoo.com/performance/rules.html

kokotitokoko 06-23-2011 02:03 AM

Update

Works on 4.1.4

Sworm 07-02-2011 08:48 AM

Adding 0 in the height , will take the image's proportions?

eternal_ 06-05-2012 07:19 PM

what about Blog Posts. Images that are from external sites, like photobucket, stretch well beyond the Featured box and even extend behind the sidebar. What .css file needs to be changed to force shrink images in blog posts? Thank you.


All times are GMT. The time now is 08:00 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.01189 seconds
  • Memory Usage 1,730KB
  • 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)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