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

76
Views
Javascript code not executing in image tag

This is my first time writing here. I want to display an image in an info window of google maps. After retrieving data from the database, i successfully displayed some data in the info window. But the problem is to display the image. 'clinics[i].image' is the one not executing.

infowindow.setContent('<div>' +
                        '<span>'+' <img src="{{ asset("storage/image/".'clinics[i].image') }}" style="height: 150px; width: 300px;"> '+ '</span><br>' +
                      '<span><h3> ' + clinics[i].name  + '('+clinics[i].type +')'+'</h3></span><br>' +
                       '<span>Hours: ' + clinics[i].hours + '</span><br>' +
                      '</div>'); 
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!