Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

157
Views
Webpack does not recognize image inserted with jQuery attr

I first created an Electron app which worked without any problems and now I want to transfer it to Webpack. But now I'm facing the problem that everything works so far, but my images, which I added with the jQuery attr command, are not loaded.

Error Message:

Failed to load resource: the server responded with a status of 404 (Not Found)

jQuery inside html file:

$('#slide1').attr("src","./images/example_image.png");

Is there anything I need to consider in connection with jQuery attr and Webpack or where could be the error?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!