Openseadragon: Image viewer is referring to icons in https://openseadragon.github.io/openseadragon/images/home_hover.png for menu icons

Created on 2 Aug 2019  Â·  4Comments  Â·  Source: openseadragon/openseadragon

Image viewer is referring to icons in https://openseadragon.github.io/openseadragon/images/home_hover.png for menu icons it should refer to the local icons instead.

question

Most helpful comment

You should probably refer to the specific code where you found that.

You can use the "prefixUrl" parameter to set the path to your local icons folder (see https://openseadragon.github.io/docs/OpenSeadragon.html#.Options)

Something like:

var viewer = OpenSeadragon({
    // ...
    prefixUrl: "/assets/images/",
    // ...
});

All 4 comments

You should probably refer to the specific code where you found that.

You can use the "prefixUrl" parameter to set the path to your local icons folder (see https://openseadragon.github.io/docs/OpenSeadragon.html#.Options)

Something like:

var viewer = OpenSeadragon({
    // ...
    prefixUrl: "/assets/images/",
    // ...
});

Im not sure about the file. But I found it in SRC attribute of img tag of the icons in image viewer.

@Rafi993 Can you share viewer construction code you're using (e.g. viewer = OpenSeadragon()?

Hello there. Thanks for this awesome library. I don't face this issue anymore. I'm closing this issue for now. please feel free to open it back if needed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CodeBennn picture CodeBennn  Â·  4Comments

xlb picture xlb  Â·  3Comments

LarissaSmith picture LarissaSmith  Â·  4Comments

lycrake picture lycrake  Â·  3Comments

sathishravula picture sathishravula  Â·  4Comments