View Full Version : Album Images in IE not showing
RichieBoy67
03-31-2014, 08:05 PM
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=1396283810
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, 09:09 PM
what version are you on?
RichieBoy67
03-31-2014, 09: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, 09:23 PM
IE needs to be blown up. :)
RichieBoy67
03-31-2014, 09:26 PM
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, 09:29 PM
Attachment.php line 388 to 397.
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, 09:45 PM
Great idea, will try that! Thanks!
Zachery
03-31-2014, 09: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, 10:09 PM
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, 10: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
RichieBoy67
03-31-2014, 10:28 PM
That kills me because it was the very first thing i checked after disabling the plug ins and using a default style didn't work. Apparently I over looked it.
Much appreciated Ozzy! I am so glad you looked because I ruled that out being the issue many hours ago after I checked it.
ozzy47
03-31-2014, 10:30 PM
Sometimes it takes a fresh set of eyes brother. :)
RichieBoy67
03-31-2014, 10:38 PM
Sometimes it takes a fresh set of eyes brother. :)That is for sure!
Your eyes usually are fresher than mine!:D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.