Can't get image to appear
See original GitHub issueHello:
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:
- Any errors in the Chrome Dev Tools for calling the image
- Looking in other browsers to make sure it wasn’t just Chrome.
Any ideas? Thanks in advance.
Cheers, Russell
Issue Analytics
- State:
- Created 8 years ago
- Comments:17
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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…
@mcdoolz Thanks for the positive z-index comment. Solved my issue.