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!

#2207 Not all thumbnails showing immediately

Posted in ‘Event Gallery Extended’
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 kajbek on Thursday, 30 June 2016 20:36 UTC

kajbek
Some of the thumbnails in an image list are left blank - replaced with placeholder 'blank.gif' image. When page is reloaded some show, but then other thumbs are left blank. When scrolling down, some thumbnails are loaded, some are left blank - sometimes whole rows, sometimes single thumbs. It also happens in the Latest Event Module.

When Lightroom slideshow of the thumbs is opened, some of the images do not load at first. But when you go one image further and then return to the previous one, it loads.

See attached scrrenshots.

Joomla is running in a development environment - WampServer 2.2, PHP 5.3.13 (I set the memory_limit to 512M), MySQL 5.5.24.

Thank you in advance for your help!

sbluege
PHP 5.3? Please don't use this outdated version anymore. I recomment PHP7 or at least PHP 5.6

Anyways, the behavior you describe it typical for a server which randomly refuses delivering images. It's not always the same image which fail, right? This can have multiple reasons.

- you have a web application firewall running with a flooding protection enabled. This kind of protection blocks request in a short amount of time.
- your server crashes if there are too many request at the same time. Since it's a local environment this is very strange. Please check the servers error logs and access logs for possible hints. You're running a dev server so I guess you're a developer?

kajbek
> PHP 5.3? Please don't use this outdated version anymore. I recommend PHP7 or at least PHP 5.6

I know, I know, but I've got a few long running projects on this WAMP dev server and there is no way of upgrading PHP alone without risking the need to reinstall everything from backups. So for dev purposes I stick to the old version. And anyways - if it runs here, it will run everywhere else on the web, right :)

> Anyways, the behaviour you describe it typical for a server which randomly refuses delivering images. It's not always the same image which fail, right?

No, usually after page reload different thumbnails are blank. As far I can say, the problem occurs, when the image size hasn't been used before. Image list calculate the sizes differently at each reload, so different thumbs are affected.

> you have a web application firewall running with a flooding protection enabled. This kind of protection blocks request in a short amount of time.

I have no firewall on my dev computer, it was huge pain in ... And it wouldn't explain missing and reappearing images during Lightbox slideshow.

> your server crashes if there are too many request at the same time. Since it's a local environment this is very strange. Please check the servers error logs and access logs for possible hints.

I haven't checked the logs yet, but it still wouldn't explain the behaviour in Lightbox. I'll check them later.

It seems as if some of the resized images were created after the first request. I'll check the logs and try to run it on the production server with newer PHP. If the problem prevails, I'll contact you again. I thought that maybe you've seen similar behaviour before.

> You're running a dev server so I guess you're a developer?

Yes, indeed.

sbluege
I know this kind of behavior. The two points I mentioned are the usual cause. This firewall thing is something you misunderstood. Extensions like SEF404 have some kind of flood protections build in. They simply cancel requests if there are too many in a short amount of time. This happens if you generate thumbnails for the first time. Event Gallery calls a Joomla! url for creating a thumbnail if it's not there. Afterwards a cheap script image.php is used which is not affected by any Joomla extension.

If there is no such extension please try to open a thumbnail URL in a text editor. Delete the content in /cache to get a new thumbnail. That do you see? Sometimes there is a space character as the first character in the binary file. This causes trouble as well. You can also check the developer tools in your browser. What do you see in the network tab? Any broken requests?

kajbek
After all it was a problem with my dev server. I will not investigate it any further. After moving to the production server everything works just fine. I am closing the ticket now. Thank you for the prompt response. Prost!