Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slippry works on localhost but not live - no errors. #145

Open
theller5567 opened this issue Sep 14, 2022 · 1 comment
Open

Slippry works on localhost but not live - no errors. #145

theller5567 opened this issue Sep 14, 2022 · 1 comment

Comments

@theller5567
Copy link

Hello,
not sure where else to go for this issue.
I have no problem with the slider working on my localhost, but when loaded on live env, all I get is the loading SVG. The slides have no height.
All links are working and connected with no 404 errors. I am at a loss on what is causing this issue.
Loaded live here: http://nerdycoder.com/prep96-lp/

Any help would be greatly appreciated.

@theller5567
Copy link
Author

I ended up commenting out this bit of code, and it now works.
getFillerProportions = function ($slide) { var width, height; // if (($('img', $slide).attr("src") !== undefined)) { // $("<img />").on("load", function () { // width = $slide.width(); // height = $slide.height(); // setFillerProportions(width, height); // }).attr("src", $('img', $slide).attr("src")); // } else { width = $slide.width(); height = $slide.height(); setFillerProportions(width, height); // } };

Is there a config setting I am missing where I don't have to comment this code out to get it to work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant