Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

[Annotorious] usage #204

Open
PravinkumarA opened this issue Sep 10, 2018 · 0 comments
Open

[Annotorious] usage #204

PravinkumarA opened this issue Sep 10, 2018 · 0 comments

Comments

@PravinkumarA
Copy link

How to use annotorious.js with dynamic images.

For Example: var img = $('');
img.attr('src', samplePath + 'pages/' + (page - 2) + '.jpg');
img.load(function () {
var container = $('.docs-brochure .p' + page);
img.css({ width: container.width(), height: container.height() });
img.appendTo($('.docs-brochure .p' + page));
//anno.makeAnnotatable(document.getElementById(page));
});

Please help, Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant