Accessing and displaying image in a remote DB
Posted: Thu Jul 21, 2011 8:32 pm
Hi,
As you may guess, we want to connect to multiple OMERO servers using OMERO.web.
What we want to do is...Assuming I'm logged on to my server, I will get the connection to another remote server, want to get some information from the server, and display some images (in the remote server).
0.
Firstly, I think we need to make a new client object to connect to another remote server. I guess I cannot use the Blitzgateway for the remote server.
1.
I wonder whether I can check the accessibility of an image of the remote server (whether I can look at the image or not), given its image ID framework. Is there any method to do this?
2.
If I can have the permission to that image, how can I display the image (which is in the remote server) on my OMERO.web page (which is basically connected to my server).
From an OMERO.web template page, I can display thumbnail of an image by
And for the "metadata_details" (which is the right panel of the "DATA" page)
Those two methods are basically just passing the image ID, assuming those images are in the local OMERO DB.
But what about the case of remote DB?
best,
BK
As you may guess, we want to connect to multiple OMERO servers using OMERO.web.
What we want to do is...Assuming I'm logged on to my server, I will get the connection to another remote server, want to get some information from the server, and display some images (in the remote server).
0.
Firstly, I think we need to make a new client object to connect to another remote server. I guess I cannot use the Blitzgateway for the remote server.
1.
I wonder whether I can check the accessibility of an image of the remote server (whether I can look at the image or not), given its image ID framework. Is there any method to do this?
2.
If I can have the permission to that image, how can I display the image (which is in the remote server) on my OMERO.web page (which is basically connected to my server).
From an OMERO.web template page, I can display thumbnail of an image by
- Code: Select all
<img id="{{ c.id }}" src="{% url render_thumbnail_resize 32 c.id %}" alt="image" title="{{ c.name }}"/>
And for the "metadata_details" (which is the right panel of the "DATA" page)
- Code: Select all
$("div#metadata_details").html('<iframe width="370" height="'+h+'" src="/webclient/metadata_details/'+obj[0]+'/'+obj[1]+'/" id="metadata_details" name="metadata_details"></iframe>');
Those two methods are basically just passing the image ID, assuming those images are in the local OMERO DB.
But what about the case of remote DB?
best,
BK