开发者

Why does my sprite not work on iOS/Android, but works fine in Safari/Chrome?

开发者 https://www.devze.com 2023-03-26 18:34 出处:网络
The images in question are on the bottom toolbar when you select a photo and then tap it to bring up the toolbar.It\'s perfectly positioned in Safari, but nowhere in sight in mobile safari.Here\'s an

The images in question are on the bottom toolbar when you select a photo and then tap it to bring up the toolbar. It's perfectly positioned in Safari, but nowhere in sight in mobile safari. Here's an example

Any开发者_运维知识库 ideas?

Thanks!


The problem is: in http://www.foodtrucksmap.com/mobile/photoswipe.css on the line 160 you overrided the http://www.foodtrucksmap.com/mobile/images/photoswipe-icons.png image with the address for HQ-icons (http://www.foodtrucksmap.com/mobile/images/photoswipe-icons@2x.png) which is getting 404 error.

So, the solution is to put the needed image where it must be or remove these styles so they wouldn't override the non-HQ image's address.

0

精彩评论

暂无评论...
验证码 换一张
取 消