Go Back   vb.org Archive > Community Central > vBulletin.org Site Feedback
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 08-23-2007, 07:51 PM
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is another one
Reply With Quote
  #12  
Old 08-23-2007, 07:52 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You mean these onclick's?

Hmm never even noticed that we do that with external images. I agree that forcing the user with an onclick is very annoying.

Will have a look at this tomorrow.
Reply With Quote
  #13  
Old 08-23-2007, 08:51 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, I see what you are asking about now, that's a bit of CSS and a file edit (written by Joe).

Not sure what you think is annoying, it seems a clever idea to me - the question was how is it done, not a complaint.
Reply With Quote
  #14  
Old 08-23-2007, 10:38 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know what the question what.. I said I didn't know which mode and my post above explains why I find it annoying. Simply because it removes control of my browser from me. At least with regular links I can override them opening in the same tab or a new window.
Reply With Quote
  #15  
Old 08-23-2007, 11:04 PM
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys, who does install the hacks to this forum?

I know there are many [img] bbcode external image resizing hacks and i've tried many of them in the past. I'm currently using a very plain hack which is similar to the one Paul M. refferred above.

class_bb_code.php:
PHP Code:
return '<img class="resize" src="' .  $link '" border="0" alt="" />'
And CSS as:
HTML Code:
.resize {
max-width: 728px; width: expression(this.width > 728 ? 728: true);
}
vb.org's external image resizing method is better because it has the URL of the original image and i'm curious what happens to the image's URL if the image is both big and already linked.

Edit: I've found your CSS:
HTML Code:
.aimgbox {position: relative;overflow:auto;height:auto;width:98%;padding:5px}
img.aimg {max-width:96%;cursor:pointer}
<!--[if lte IE 6]>
.aimgbox {width:99%}
img.aimg{width: expression(this.width > 530 ? 510: true)}
<![endif]-->
and now i'm asking for the file edit

Testing:



Rollover the picture above, you'll see it's linked to msxlabs.org. But when you click on it, it displays the image. If you right click on the image and select "open in a new window or tab" it sends you to msxlabs.org.

This may be implemented:
http://www.irt.org/script/18.htm
Reply With Quote
  #16  
Old 08-24-2007, 12:19 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wayne Luke View Post
I know what the question what.. I said I didn't know which mode and my post above explains why I find it annoying. Simply because it removes control of my browser from me. At least with regular links I can override them opening in the same tab or a new window.
Actually I was answering Marco, I hadn't even read your post.
Reply With Quote
  #17  
Old 08-24-2007, 01:48 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

- screenshots are available to emphasize the message - not to convey the message
- "resize" is to prevent large images from breaking the style
- the image is resized according to screenwidth - (you may not even have to click on it)
Reply With Quote
  #18  
Old 08-24-2007, 03:27 PM
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the useful infos but why does nobody want to tell me about the modification?
Reply With Quote
  #19  
Old 09-01-2007, 07:16 PM
Gryphon's Avatar
Gryphon Gryphon is offline
 
Join Date: Oct 2001
Location: Seattle, WA
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wayne Luke View Post
Oh.. Don't know.. I hate that implementation because ctrl-click doesn't work and I am always losing my place because I close the tab by reflex when I am done looking at the image. Doesn't give me control over my browser and forces me to use the same tab which prevents comparing images or having images open while reading the thread.
Agreed, just discovered this myself. You can't make an image a link to something else either, they continue to link to themselves. Quite annoying.
Reply With Quote
  #20  
Old 09-01-2007, 11:54 PM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The best resize large images mod in vb.org will be mr.gamesbay's Auto Resize large images in an IMG tag hack.Will reisize large images and link them back to the original one.Works for me from 3.60 to 3.68 now.

https://vborg.vbsupport.ru/showthread.php?t=125500
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 11:23 PM.


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.07183 seconds
  • Memory Usage 2,266KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete