SVG icons on gallery not shown on some computers

  • Posted in : Photographer
  • Mysticfalcon
    Participant

    Hello there,

    “share”, “close”, “zoom” vs. icons are not shown on some computers. How can we solve this?

    ahmetsali
    Keymaster

    Hi, can you give more details on which computers they are not shown?

    Mysticfalcon
    Participant

    Here is sample link:
    http://i61.tinypic.com/1j1b84.jpg

    Icons on right top.

    I think computers with Windows 8 not show icons.

    ahmetsali
    Keymaster

    i just checked on win 8 and latest chrome (v43), the icons appear, what is your browser and version ?

    Mysticfalcon
    Participant

    Latest version. If there is a way to not use SVG in any case. Maybe it could solve problem.

    Mysticfalcon
    Participant

    I need help with this…

    ahmetsali
    Keymaster

    Hi again, this is really awkward, svg images should work on all modern browsers and also IE 9 and up, i have no idea why they don’t show up on your side. But luckily there is an also png format of the same file in the same folder.

    – edit js/photo-swipe/default-skin/default-skin.css in a text editor, find line:57 and remove these lines;

    @media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
      /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */
      .pswp--svg .pswp__button, .pswp--svg .pswp__button--arrow--left:before, .pswp--svg .pswp__button--arrow--right:before {
        background-image: url(default-skin.svg); }
    
      .pswp--svg .pswp__button--arrow--left, .pswp--svg .pswp__button--arrow--right {
        background: none; }
     }
    
    Mysticfalcon
    Participant

    It seems, this solved my problem. Thank you so much.

    ahmetsali
    Keymaster

    you’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register