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

180
Views
Spinner load failed on IIS ASP NET Core

I have a problem with the display of a loading gif. It works fine under visual 2017 and IIS Express, but after posting to a target server and IIS, the GIF no longer loads. It is however present in the wwwroot / images

Spinner

code

I have tried several syntaxes for the GIF path, but nothing helps.

var spiner = "<img src=\"/images/ajax-loader.gif\" alt=\"Loading\" style=\"height: 40px; width: 40px\"/>"

var spiner = "<img src=\"~/images/ajax-loader.gif\" alt=\"Loading\" style=\"height: 40px; width: 40px\"/>"

var spiner = "<img src=\"../images/ajax-loader.gif\" alt=\"Loading\" style=\"height: 40px; width: 40px\"/>"

Do you have an idea?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

In fact, the GIF does not have time to load to display. I changed my code like this, with 5s display, and it displays correctly. Now the only concern is that it delays the refresh of my page. I have to find something else.

enter image description here

about 4 years ago · Juan Pablo Isaza Report
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!