Image File as Static Resource Loads via Desktop Browser View But Not Actual Mobile Device - Why?

  • 1
  • Question
  • Updated 3 years ago
  • Answered
Image File as Static Resource Loads via Desktop Browser View But Not Actual Mobile Device - Why?
Photo of Yina Chun

Yina Chun

  • 792 Points 500 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Yina Chun

Yina Chun

  • 792 Points 500 badge 2x thumb
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
You sure the static resource is set to public? 
Photo of Yina Chun

Yina Chun

  • 792 Points 500 badge 2x thumb
They are set to be public as well as all the JS and CSS used for the page. What else should we be looking for?
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,004 Points 20k badge 2x thumb
Can you describe what you mean by loading via desktop browser? What URL are you on when it works, and what URL are you on when it does not work? 
Photo of Yina Chun

Yina Chun

  • 792 Points 500 badge 2x thumb
Hey Zach, I'm on the same URL. I am wondering if the issue has to do with how mobile devices handle image files ...
Photo of Yina Chun

Yina Chun

  • 792 Points 500 badge 2x thumb
This issue has been resolved! Because the image files were saved as zipped Static Resource files, mobile devices may have been having harder time unzipping those files? Anyways, we saved them as unzipped files and images are now being rendered on mobile devices! Yay!