Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-31-2014, 08:05 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Album Images in IE not showing

Hey everyone,

I noticed that my image gallery images will not show in IE. I have tried a default theme and I also recently replaced the files to fresh Vb files.

When opening the album page in full all the images show just an x. If I take the image path though and paste it into the ie browser I get the option to open or download the image at the bottom of the page. If I click open the image opens.

Here is an example

musclemecca.com/attachment.php?96&attachmentid=6955&thumb=1&d=1396 283810

I have tried disabling all plug ins and using a new standard theme and the images still do not show. I've also rebuilt counters and have tried some varuous setting changes. I have scoured the site and have tried debugging, etc and cannot find anything wrong.

Can anyone please share some input?

Thanks,
Rich
Reply With Quote
  #2  
Old 03-31-2014, 09:09 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what version are you on?
Reply With Quote
  #3  
Old 03-31-2014, 09:18 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Zachary, Thanks for the reply.

The site is using the 4.2.2 with the latest patch.

I just tested the albums on another Vbforum I host on my dedicated server and the albums are working there so it is not server related. It still happens with plug ins disabled and it happens on a new default theme with no parent style.

I really hate IE but unfortunately there are still many that use it..
Reply With Quote
  #4  
Old 03-31-2014, 09:23 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IE needs to be blown up.
Reply With Quote
  #5  
Old 03-31-2014, 09:26 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
IE needs to be blown up.
For sure!

I really need to be more disciplined and check ie when ever I work on any site because usually if there is an issue it will be there. Unfortunately with this particular site I cannot remember the last time I viewed it in ie so I have no idea if this has been a long term issue or more recent. I haven't gotten any complaints though so I am assuming it started recently.

I am going to turn on error reporting and debugging..I didn't get anything from debugging earlier though.
Reply With Quote
  #6  
Old 03-31-2014, 09:29 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attachment.php line 388 to 397.

PHP Code:
if (in_array($extension, array('jpg''jpe''jpeg''gif''png')))
{
    
header("Content-disposition: inline; $filename");
    
header('Content-transfer-encoding: binary');
}
else
{
    
// force files to be downloaded because of a possible XSS issue in IE
    
header("Content-disposition: attachment; $filename");

If you remove the ELSE statement may be it will work. (While you figure out what is causing an issue.)
Reply With Quote
Благодарность от:
RichieBoy67
  #7  
Old 03-31-2014, 09:45 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea, will try that! Thanks!
Reply With Quote
  #8  
Old 03-31-2014, 09:53 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is nothing wrong with IE11, or even 10 for that matter.

Anyway, what version of IE is having problems?
Reply With Quote
Благодарность от:
RichieBoy67
  #9  
Old 03-31-2014, 10:09 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
There is nothing wrong with IE11, or even 10 for that matter.

Anyway, what version of IE is having problems?
I guess it isn't so much that there is anything wrong with it. It just renders differently then the other main browsers Chrome and Firefox which sometimes causes issues with css, etc.

It is the latest version of IE.

Ozy is actually taking a look right now.
Reply With Quote
  #10  
Old 03-31-2014, 10:22 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is sorted, the issue was the mime type for jpg was Content-type: image/jpg when it should have been Content-type: image/jpg image/jpeg
Reply With Quote
Благодарность от:
RichieBoy67
Reply

Thread Tools
Display Modes

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 12:07 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.04256 seconds
  • Memory Usage 2,260KB
  • Queries Executed 11 (?)
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
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (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_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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete