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!

#2990 This image failed to load

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 sbluege on Friday, 12 January 2018 08:30 UTC

Harrywa
Hi,
I'm working with Eventgallery quite a time now and I'm really pleased.

One little thing is, that at the moment I have to resize the image size to about 700kB or 1600x1200 to ensure, that the image is shown correctly. If larger, the thumbnail is not generated (most of the times) but never shown in the lightbox ("This image failed to load."). And now I want to share full-sized images, but cannot... :-(

I've already read some other tickets about it and the FAQ, and I think the reason is the PHP memory limit? I only have 75MB now. How can I make sure, that this is the problem? Because I'm not able to change it at the moment without transferring the whole site. I've also increased the server error level, but cannot see any? Are there logfiles or similar I can provide?

See the bottom for the "System check" output of Eventgallery.

Maybe any other workaround?

Thank you Sven.

-------------

PHP Version
    5.6.32
Installed Event Gallery Package Version
    3.7.0 (build e46957f)
Database Schema Version
    Target Version: 3.6.4_2017-02-13

    Array
    (
        [0] => Array
            (
                [extension_id] => 10308
                [version_id] => 3.6.4_2017-02-13
            )

    )
    1

Installed Elements

    Array
    (
        [0] => Array
            (
                [extension_id] => 10308
                [name] => COM_EVENTGALLERY            )
        [1] => Array
            (   [extension_id] => 10313
                [name] => EVENTGALLERY_FIELDS_CATEGORY            )
        [2] => Array
            (  [extension_id] => 10314
                [name] => PLG_EVENTGALLERY_MULTILANGCONTENT            )
        [3] => Array
            (  [extension_id] => 10315
                [name] => Event Gallery - Light Package            )
    )

Memory Limit
    75M
image.php is executable
    false

Harrywa
Oh, let me add one thing:

I've just opened one broken thumbnail in a new browser window while increasing the server error log level and it says the following:

Fatal error: Allowed memory size of 78643200 bytes exhausted (tried to allocate 4406 bytes) in /home/.sites/839/site4924521/web/j/components/com_eventgallery/library/common/imageprocessor.php on line 88

sbluege
Hi,

your available memory amount is too small or your images are too large. To fix this you need to increase the available memory amount for a PHP process (memory_limit) or upload smaller files.

You can try a local server to try how much memory you need. I would guess something around 128-256MB. That depends on the size of your original files.

Harrywa
Hi Sven, thank you for the reply.
Ok, so my assumption was correct. But as I said, increasing the memory limit isn't possible for me at the moment.
In some other ticket, you mention to try disabling sharpening and similar things to free some overall memory. However, disabling sharpening and auto-rotate didn't changed anything.
Could you think of other things, which share the php_memory and I can try to disable as well?
Thanks

sbluege
No, unfortunately not. There are just the two things you can do which I mentioned above. In the end, big images require more available memory.

Harrywa
Alright, thank you very much for making this clear.

(I think this topic can be closed now.)

sbluege
If your server is not able to handle your images, Google Photos might be.