Page 1 of 1

Images not loading

Posted: 09 Dec 2016, 21:30
by localhost
Karl, I have notice a problem with my install. The folder gallery images does not load until I press the arrow down button or simple scroll down. This is only happening on this link: http://larryanda.com.au/portfolio/

I tried several folder gallery template (grid, carousel, columns) the resultant is the same. I am using Google Chrome and Avast Safezone browser and it is the same.
Capture1.JPG
Capture1.JPG (64.32 KiB) Viewed 17413 times
Capture2.JPG
Capture2.JPG (135.36 KiB) Viewed 17413 times
Also under the films : http://larryanda.com.au/portfolio/films/ I am trying to change the description and when saving I have a error --> TextStatus: Error coming up momentarily on the right hand side lower portion of the screen.

Re: Images not loading

Posted: 09 Dec 2016, 23:41
by mjau-mjau
localhost wrote:Karl, I have notice a problem with my install. The folder gallery images does not load until I press the arrow down button or simple scroll down. This is only happening on this link: http://larryanda.com.au/portfolio/
You are right, and I have noticed this earlier under some circumstances. I believe it could have something to do with the "intro image", which shifts in height after initialization, and somehow the thumbs don't know they are in visible range and should be loaded (until scroll event occurs). I will look into this next release!
localhost wrote:Also under the films : http://larryanda.com.au/portfolio/films/ I am trying to change the description and when saving I have a error --> TextStatus: Error coming up momentarily on the right hand side lower portion of the screen.
Sounds like a server Firewall issue. I can only diagnose this if you can provide me link and login to your panel.

Re: Images not loading

Posted: 10 Dec 2016, 01:57
by localhost
Message sent. Thanks Karl.

Re: Images not loading

Posted: 10 Dec 2016, 02:21
by mjau-mjau
This is your server firewall, which blocks and POST (save) attempts that include the <iframe> tag.

Saving text without <iframe> tag works fine:
Image

As soon as I try to include the <iframe> tag, POST is forbidden:
Image

Since you must have saved the original content at some point, this firewall or specific rule must have been added at a later point by your HOST. You need to ask your host to either #A Disable the specific rule that blocks the <iframe> tag from being saved, or #B Ask your host to disable firewall rules from URL's under the /panel/ scope.

It's not unusual to include such a firewall rule, to block visitors from injecting remote websites into public forums and other publicly open applications. But it's no good for the X3 panel, which is secure and only accessible by you. How does the host expect you to embed Youtube videos if <iframe> is blocked?

Re: Images not loading

Posted: 10 Dec 2016, 03:01
by localhost
Thanks Karl, contacting the web host now.

Re: Images not loading

Posted: 10 Dec 2016, 06:45
by localhost
Just n update Karl, 

Web hosting fix the forbidden 403 issue. Only the image not loading left. 

Will wait for the update. Thanks again.

Re: Images not loading

Posted: 10 Dec 2016, 11:01
by mjau-mjau
localhost wrote:Only the image not loading left.
Can you try to add the below code to settings -> custom -> javascript?
Code
function x3_load_page(){
  setTimeout(function(){
    $(window).scroll();
  }, 100);
}

Re: Images not loading

Posted: 10 Dec 2016, 18:11
by localhost
Bloody hell... it worked like a charm. 

Thanks Karl. 

Re: Images not loading

Posted: 21 Feb 2017, 21:39
by mjau-mjau
localhost wrote:Karl, I have notice a problem with my install. The folder gallery images does not load until I press the arrow down button or simple scroll down.
I believe this issue has been resolved in X3 0.22 (without using the "fix" noted above):
https://forum.photo.gallery/viewtopic.php?f=51&t=9237

Re: Images not loading

Posted: 22 Feb 2017, 08:48
by localhost
Thanks Karl, downloading soon.