-
-
Hello,
With the Photography layout, if you select anything other than ‘none’ for the portfolio pagination setting there is a Javascript error when trying to view anything after the first page/initial loaded items.
For example:
- Set pagination to ‘none’
- All items can be viewed and clicked to view larger image with no issues
However:
- Set pagination to anything else (‘infinite’ for example)
- Any items set as the ‘display x items per page’ can be clicked to view larger image with no issues
- Any images after this can be clicked but the large image does not load in the ilightbox. Instead a JavaScript error is displayed in the console as below.
VM73:41 Uncaught TypeError: Cannot set property ‘speed’ of undefined
at fa.loadContent (eval at <anonymous> (jquery.js?ver=1.12.4-wp:2), <anonymous>:41:133)
at fa.generateBoxes (eval at <anonymous> (jquery.js?ver=1.12.4-wp:2), <anonymous>:57:350)
at eval (eval at <anonymous> (jquery.js?ver=1.12.4-wp:2), <anonymous>:39:383)
I tried to verify this on your demo site but your demo site also does not have any pagination set. However if you add pagination and set it to (for example) 5 per page you should be able to recreate the issue when clicking on items 6+.
I have the pagination set to ‘none’ so I do not get the error, but it is delaying my site load speed as I have 100 images and all of them are loading.
Please can you advise what I need to update in the JS file to fix this? I have tried to fix it myself but can’t seem to pinpoint the issue.
Thanks
-
You must be logged in to reply to this topic.