vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Album Images in IE not showing (https://vborg.vbsupport.ru/showthread.php?t=310077)

RichieBoy67 03-31-2014 07:05 PM

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

Zachery 03-31-2014 08:09 PM

what version are you on?

RichieBoy67 03-31-2014 08:18 PM

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..

ozzy47 03-31-2014 08:23 PM

IE needs to be blown up. :)

RichieBoy67 03-31-2014 08:26 PM

Quote:

Originally Posted by ozzy47 (Post 2490750)
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.

Seven Skins 03-31-2014 08:29 PM

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.)

RichieBoy67 03-31-2014 08:45 PM

Great idea, will try that! Thanks!

Zachery 03-31-2014 08:53 PM

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

Anyway, what version of IE is having problems?

RichieBoy67 03-31-2014 09:09 PM

Quote:

Originally Posted by Zachery (Post 2490757)
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. :)

ozzy47 03-31-2014 09:22 PM

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


All times are GMT. The time now is 03:04 AM.

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.01895 seconds
  • Memory Usage 1,736KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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