Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11519 (closed)

Opened 11 years ago

Closed 10 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 11 years ago by atarkowska

  • Description modified (diff)
  • Summary changed from Sharing data through omeroweb to Embedding data directly from omeroweb

comment:2 Changed 11 years ago by atarkowska

  • Description modified (diff)

comment:3 Changed 11 years ago by atarkowska

  • Description modified (diff)

comment:4 Changed 11 years ago by atarkowska

  • Description modified (diff)

comment:5 Changed 11 years ago by atarkowska

  • Cc ux@… added

comment:6 Changed 11 years ago by atarkowska

  • Description modified (diff)

comment:7 Changed 10 years ago by atarkowska

  • Milestone changed from Unscheduled to 5.1.0

Prototype available here. Test files are here

comment:8 Changed 10 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 10 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 10 years ago by atarkowska

  • Type changed from User Story to Task

comment:11 Changed 10 years ago by atarkowska

  • Resolution set to fixed
  • Status changed from new to closed
  • Version set to 5.0.1
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68092 sec.)

We're Hiring!