Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#867 Resource interpreted as Image but transferred with MIME type text/html

Posted in ‘Event Gallery - General’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by ade.akinyede on Wednesday, 16 July 2014 09:26 UTC

ade.akinyede
Hi Sven,

I've just updated from 2.6.8 to 3.1.6 and everything thing works perfectly except for some images on my which fail to load when clicked and when I debug I get in the console:

"Resource interpreted as Image but transferred with MIME type text/html"

I've done a search through the support forum and most of the issues seem to point to JS errors, so I checked my website and have no JS errors (that I can see anyway). Any tips?


Website: http://akadephotography.com/component/eventgallery/event/Weddings.html?Itemid=468

Thanks a lot for your amazing work and effort,

Ade

sbluege
Seems like large images cause issues.

Example URL:

http://akadephotography.com/components/com_eventgallery/helpers/image.php?option=com_eventgallery&mode=uncrop&width=1200&view=resizeimage&folder=Weddings&file=Lou+Weds+Vince+%2847+of+299%29.jpg

Can you try to increase the error reporting to maximum please? This should help to find the reason for this issue.

ade.akinyede
I've just enabled debug mode on the event gallery, and my template is set to developer mode as well - hope that helps

(Thanks for the speedy reply!!)

sbluege
I still get a blank page. Can you check the server error log please?

I think you server just has not enough memory to process the larger files. Can you try to upload a smaller file like max 1000px and seee if this one appears in the lightbox?

sbluege
Oh.. wait. You did not changed the error reporting! Please use the Joomla Global Options -> Server -> Error Reporting

ade.akinyede
Oh, ok. Done :)

I'll monitor the files that don't load onto the lightbox and reduce their sizes to verify.

sbluege
Fatal error: Allowed memory size of 134217728 bytes exhausted 


So I was right :) Your server does not have enough memory to process your images. You have two options:

  1. increase the available amount of memory
  2. upload smaller files.

ade.akinyede
Thanks a lot!

How/where can I view the error (or debug) log that generated this message? So I can know how to go about fixing similar issues in the future.

I just checked my file sizes and most of them are quite low res (400-800KiB), with a hand few of exceptions, but even they don't load either - especially in the Family Portfolio. I'll contact the support team for my server and hopefully come to a resolution on increasing memory size :)

sbluege
Just open the url I send you above

http://akadephotography.com/components/com_eventgallery/helpers/image.php?option=com_eventgallery&mode=uncrop&width=1200&view=resizeimage&folder=Weddings&file=Lou+Weds+Vince+%2847+of+299%29.jpg

ade.akinyede
Thanks