Page 1 of 1

OMERO.web Image Render

PostPosted: Tue Mar 01, 2011 6:44 pm
by icaoberg
I am trying to generate a thumbnail and link to the original image. In HTML the code is

Code: Select all
<a href="http://omepslid.compbio.cs.cmu.edu/webgateway/render_image/4628/0/0"><img src="http://omepslid.compbio.cs.cmu.edu/webgateway/render_thumbnail/4628/100" /></a>


I want to generate a template using this example. But it is not working. The code I have is
Code: Select all
<a href="{% url webgateway.views.render_image i.id 0 0 %}">
<img src="{% url webgateway.views.render_thumbnail i.id %}" /></a>

Re: OMERO.web Image Render

PostPosted: Tue Mar 01, 2011 8:56 pm
by cxallan
Sorry, not working how?

Re: OMERO.web Image Render

PostPosted: Wed Mar 02, 2011 1:20 pm
by wmoore
What do you see when you go to this url?
Code: Select all
http://omepslid.compbio.cs.cmu.edu/webgateway/render_thumbnail/4628/100


You may want to check that you have debug turn on:

Code: Select all
$ bin/omero config set omero.web.debug True

Re: OMERO.web Image Render

PostPosted: Wed Mar 02, 2011 8:38 pm
by icaoberg
it worked after i restarted omero.web

i am not sure what was the problem.

ivan