Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Resize Images Zero Query Details »»
Resize Images Zero Query
Version: 1.00, by kokotitokoko kokotitokoko is offline
Developer Last Online: May 2020 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.1.4 Rating:
Released: 01-14-2010 Last Update: Never Installs: 39
Template Edits
 
No support by the author.

=========================
postbit.css TEMPLATE
=========================
INSERT AT END OF TEMPLATE:


PHP Code:
/* BEGIN Image resize */
#posts IMG {
    
max-width640px;

}
#collapseobj_threadreview IMG {
    
max-width640px;

}
/* END Image resize */ 

Mark as installed, if you use it

eslamhero

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.
    Благодарность от:
    SKIDROW

    Comments
      #22  
    Old 01-17-2010, 09:15 AM
    rajubd rajubd is offline
     
    Join Date: Jun 2009
    Posts: 209
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by kokotitokoko View Post
    tray these

    headinclude TEMPLATE

    INSERT AT END OF TEMPLATE:

    PHP Code:
    <link rel="stylesheet" href="clientscript/eslamhero.css" type="text/css" /> 
    and upload files
    thanks bro its working 100%
    see here http://www.symbiantalk.net/showthrea...-Superwoman%29
    Reply With Quote
      #23  
    Old 01-18-2010, 07:33 AM
    sdavis2702 sdavis2702 is offline
     
    Join Date: Apr 2008
    Posts: 116
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Thanks this is much easier than finding a plugin lol.
    Reply With Quote
      #24  
    Old 01-18-2010, 04:17 PM
    meissenation meissenation is offline
     
    Join Date: Apr 2005
    Posts: 476
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Thank you! This is exactly what I needed. The add-on products only resize down to a specific pixel which sucks when you have people who use 800x600 resolutions and 1600 wide resolutions.
    Reply With Quote
      #25  
    Old 01-18-2010, 04:30 PM
    kokotitokoko kokotitokoko is offline
     
    Join Date: Sep 2006
    Posts: 10
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by meissenation View Post
    Thank you! This is exactly what I needed. The add-on products only resize down to a specific pixel which sucks when you have people who use 800x600 resolutions and 1600 wide resolutions.
    This Modification does this work without the intervention of
    Because it depends on the percentage of the site
    You can modify the ratio in the Computer sector to 800x600
    And you will see the result
    Reply With Quote
      #26  
    Old 01-19-2010, 02:01 PM
    meissenation meissenation is offline
     
    Join Date: Apr 2005
    Posts: 476
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Is anyone else having an issue with this in Internet Explorer 7? Chrome and FireFox work excellently but IE7 does not widen the images - it makes them 100px and leaves them that size.

    View this in Internet Explorer 7:
    http://www.mifbody.com/vbulletin/sho...l=1#post532247


    Edit: Until the issue is resolved, I changed 100px to 400px which is a little better but it's still tiny. Isn't there any way to make it so when you click on the image that it will resize to the full size of the image?
    Reply With Quote
      #27  
    Old 01-19-2010, 02:22 PM
    kokotitokoko kokotitokoko is offline
     
    Join Date: Sep 2006
    Posts: 10
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    The idea of this product to maintain the links on the image
    Example: Click here to download the above image


    If we do enlarge the picture will turn into a link
    The repealed link Click on the image for download
    Existing products are doing this, but links will be removed

    ---
    add to fix Internet Explorer 7
    headinclude TEMPLATE
    PHP Code:
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <
    meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 
    Reply With Quote
      #28  
    Old 01-20-2010, 10:37 PM
    meissenation meissenation is offline
     
    Join Date: Apr 2005
    Posts: 476
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by kokotitokoko View Post
    The idea of this product to maintain the links on the image
    Example: Click here to download the above image


    If we do enlarge the picture will turn into a link
    The repealed link Click on the image for download
    Existing products are doing this, but links will be removed

    ---
    add to fix Internet Explorer 7
    headinclude TEMPLATE
    PHP Code:
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <
    meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 
    I added those to my headinclude but it still is defaulting to 400px wide (what I changed the 100px to) and does not enlarge. In regards to shrinking, it does shrink but only seems to shrink it after I right-click to view the properties of the image to see the pixel width.


    Edit:
    If I add those two lines into my headinclude, it REALLY messes up my templates. Please see the screenshot. This started immediately after adding the two lines into my headinclude and then went away as soon as I removed the code.
    Attached Images
    File Type: jpg index.jpg (101.9 KB, 0 views)
    Reply With Quote
      #29  
    Old 02-28-2010, 07:11 AM
    kokotitokoko kokotitokoko is offline
     
    Join Date: Sep 2006
    Posts: 10
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    ??????????????????????????
    Reply With Quote
      #30  
    Old 03-22-2010, 01:00 AM
    Viper007Bond's Avatar
    Viper007Bond Viper007Bond is offline
     
    Join Date: Oct 2006
    Location: Portland, OR, USA
    Posts: 224
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    max-width and max-height is probably better than expressions.
    Reply With Quote
      #31  
    Old 04-04-2010, 10:34 AM
    M? Mostafa's Avatar
    M? Mostafa M? Mostafa is offline
     
    Join Date: Sep 2007
    Posts: 42
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Installed

    Nice Work

    Sampel >> http://www.gamez4all.com/vb/showthre...-Utawarerumono
    Reply With Quote
    Reply


    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT. The time now is 01:20 AM.


    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.04710 seconds
    • Memory Usage 2,339KB
    • Queries Executed 27 (?)
    More Information
    Template Usage:
    • (1)SHOWTHREAD
    • (1)ad_footer_end
    • (1)ad_footer_start
    • (1)ad_header_end
    • (1)ad_header_logo
    • (1)ad_navbar_below
    • (1)ad_showthread_beforeqr
    • (4)bbcode_php
    • (3)bbcode_quote
    • (1)footer
    • (1)forumjump
    • (1)forumrules
    • (1)gobutton
    • (1)header
    • (1)headinclude
    • (1)modsystem_post
    • (1)navbar
    • (4)navbar_link
    • (120)option
    • (1)pagenav
    • (1)pagenav_curpage
    • (4)pagenav_pagelink
    • (11)post_thanks_box
    • (1)post_thanks_box_bit
    • (11)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (1)post_thanks_postbit
    • (11)post_thanks_postbit_info
    • (10)postbit
    • (1)postbit_attachment
    • (11)postbit_onlinestatus
    • (11)postbit_wrapper
    • (1)spacer_close
    • (1)spacer_open
    • (1)tagbit_wrapper 

    Phrase Groups Available:
    • global
    • inlinemod
    • postbit
    • posting
    • reputationlevel
    • showthread
    Included Files:
    • ./showthread.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/functions_bigthree.php
    • ./includes/class_postbit.php
    • ./includes/class_bbcode.php
    • ./includes/functions_reputation.php
    • ./includes/functions_post_thanks.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
    • showthread_start
    • showthread_getinfo
    • forumjump
    • showthread_post_start
    • showthread_query_postids
    • showthread_query
    • bbcode_fetch_tags
    • bbcode_create
    • showthread_postbit_create
    • postbit_factory
    • postbit_display_start
    • post_thanks_function_post_thanks_off_start
    • post_thanks_function_post_thanks_off_end
    • post_thanks_function_fetch_thanks_start
    • fetch_musername
    • post_thanks_function_fetch_thanks_end
    • post_thanks_function_thanked_already_start
    • post_thanks_function_thanked_already_end
    • post_thanks_function_fetch_thanks_bit_start
    • post_thanks_function_show_thanks_date_start
    • post_thanks_function_show_thanks_date_end
    • post_thanks_function_fetch_thanks_bit_end
    • post_thanks_function_fetch_post_thanks_template_start
    • post_thanks_function_fetch_post_thanks_template_end
    • postbit_imicons
    • bbcode_parse_start
    • bbcode_parse_complete_precache
    • bbcode_parse_complete
    • postbit_display_complete
    • post_thanks_function_can_thank_this_post_start
    • postbit_attachment
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete