Task #11519 (closed)
Opened 6 years ago
Closed 5 years ago
Embedding data directly from omeroweb
| Reported by: | atarkowska | Owned by: | atarkowska |
|---|---|---|---|
| Priority: | major | Milestone: | 5.1.0 |
| Component: | Web | Version: | 5.0.1 |
| Keywords: | n.a. | Cc: | ux@… |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description (last modified by atarkowska)
# VIEWER
Embedding multidimensional viewer in external static page is a big advantage. There are few requirements to sort out to make embedding nice and simple.
Example
<link media="all" type="text/css" href="http://host/static/omeroweb.viewer.min.css" rel="stylesheet">
<script type="text/javascript" src="http://host/static/omeroweb.viewer.min.js"></script>
<style type="text/css">
.miniview {
height: 300px;
position: relative;
width: 300px;
}
</style>
<script type="text/javascript">
$(document).ready(function() {
var viewport = $.WeblitzViewport($("#viewport"), "https://host/webgateway/", {'mediaroot': 'https://host/static/' } );
viewport.load(IMAGE_ID);
});
</script>
<div id="viewport" class="miniview"></div>
# OTHERS
other requirements should be listed here
Change History (11)
comment:1 Changed 6 years ago by atarkowska
- Description modified (diff)
- Summary changed from Sharing data through omeroweb to Embedding data directly from omeroweb
comment:2 Changed 6 years ago by atarkowska
- Description modified (diff)
comment:3 Changed 6 years ago by atarkowska
- Description modified (diff)
comment:4 Changed 6 years ago by atarkowska
- Description modified (diff)
comment:5 Changed 6 years ago by atarkowska
- Cc ux@… added
comment:6 Changed 6 years ago by atarkowska
- Description modified (diff)
comment:7 Changed 6 years ago by atarkowska
- Milestone changed from Unscheduled to 5.1.0
comment:8 Changed 5 years ago by Aleksandra Tarkowska <A.Tarkowska@…>
(In [7a970a5130add6d0f925124448495e25c6917d65/ome.git] on branch develop) adding ip parameter to session creation - createWithAgent, see #11519
comment:9 Changed 5 years ago by Aleksandra Tarkowska <A.Tarkowska@…>
(In [c4911c014d1a5c121297135c4a834a9e86f23f7f/ome.git] on branch develop) introducing js and css compression using django-pipeline, see #11519
This is first step to make embedding the viewer on static HTML page
comment:10 Changed 5 years ago by atarkowska
- Type changed from User Story to Task
comment:11 Changed 5 years ago by atarkowska
- Resolution set to fixed
- Status changed from new to closed
- Version set to 5.0.1
Prototype available here. Test files are here