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.

seeing arrows + activity but no pictures - using local images

See original GitHub issue

Hello !

I’ve got the slideshow component installed and I’m seeing the dots, arrows and the index is incrementing at the bottom. However no pictures are showing.

I’m able to render the pictures statically in an <img> tag so the pics are valid.

Can I add logging to the react-slidez code somehow and import the changed code so I can debug the slideshow didMount() and render() functions ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
SeanFelipecommented, Jul 30, 2018

holy shiteballs using require and it works !!

Wow !

0reactions
Pau1fitzcommented, Jul 30, 2018

@SeanFelipe try using require, I think the following should work

const slidesList = [
  require('./assets/pics/01.jpg'),
  require('./assets/pics/02.jpg'),
  require('./assets/pics/03.jpg'),
  require('./assets/pics/04.jpg')
];
Read more comments on GitHub >

github_iconTop Results From Across the Web

React won't load local images - Stack Overflow
Save this question. Show activity on this post. I am building a small react app and my local images won't load. Images like...
Read more >
Windows 10 Photos App Left/Right Scroll arrows missing in ...
JPG, then the first picture will be displayed on the screen, but the scroll arrows are missing! You can not view the next...
Read more >
Word 2016: Pictures and Text Wrapping - GCFGlobal
Adding pictures in Word documents can illustrate important information, and in Word text wrapping helps separate words from pictures.
Read more >
Add multi-density vector graphics - Android Developers
Android Studio includes a tool called Vector Asset Studio that helps you add material icons and import Scalable Vector Graphic (SVG) and ......
Read more >
Pictures of Native Americans | National Archives
View in National Archives Catalog The pictures described in this list portray Native Americans, their homes, and activities. The images are ...
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