question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get image to appear

See original GitHub issue

Hello:

I’m sorry but I’m not having any luck getting this to work. After following your instructions, the image isn’t even appearing in my parallaxed div element. The page is here:

http://testing004.compoundeyedesign.com/

… where I’d like my image to appear is in the white box under the video and the under the purple signup box. In that <div> I have this code:

<div class="row" data-parallax="scroll" data-image-src="/assets/zoom-39777438-3.jpg" style="background: transparent;">

And in the bottom of the page code — under where the jQuery is called, as recommended — is my parallax script:

<script src="./index_files/jquery.min.js"></script> <script src="/parallax/parallax.js"></script>

Things I tested:

  1. Any errors in the Chrome Dev Tools for calling the image
  2. Looking in other browsers to make sure it wasn’t just Chrome.

Any ideas? Thanks in advance.

Cheers, Russell

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:17

github_iconTop GitHub Comments

7reactions
rbodincommented, Feb 17, 2016

i had a similar issue… I finally noticed that if i changed the z-index to a positive value, it would work. Otherwise it would remain hidden behind the body if the body’s background is set. In my case i was setting the body background to white, so i didn’t really need it, and removed it… and parallax was finally showing images…

Hope this will help…

1reaction
ninthonycommented, Sep 10, 2018

@mcdoolz Thanks for the positive z-index comment. Solved my issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML: Image won't display? - Stack Overflow
HTML: Image won't display? · Here are the most common reasons · Incorrect file paths · File names are misspelled · Wrong file...
Read more >
Why can I not see the images on my website? - Encode.Host
Position your cursor over the broken image and right-click your mouse. A popup menu should appear with several options. Left-click on the option...
Read more >
Why Are Web Page Images Not Showing? - Computer Hope
In the Internet Options window, click the Advanced tab. In the Settings under Multimedia, make sure the Show Pictures checkbox is checked ✓....
Read more >
7 Reasons Why Images Are Not Loading on Your Website
Website images fail to load for one of these seven common reasons.
Read more >
What to Do When Your Computer Screen Won't Show a Picture
Has your computer screen stopped working? Here are some troubleshooting steps to take if your monitor fails to display a picture.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found