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 #13228 (new)

Opened 8 years ago

Last modified 8 years ago

Bug: "No Image" thumb rendered at aspect of underlying image

Reported by: khgillen Owned by: wmoore
Priority: minor Milestone: Unscheduled
Component: Web Version: OMERO-5.2.2
Keywords: n.a. Cc: ux@…, web-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

When OMERO.web is rendering "No Image" as a thumbnail, it's rendered in the thumbnail view at the aspect ratio of the image that should be being displayed.

e.g. the attachment.

The "No Image" graphic is displayed at 195*325 which is what the thumbnail itself would have been, had it been possible to render a thumbnail for this image.

Unsure how to replicate this, other than a prod Nightshade image ID:

https://nightshade.openmicroscopy.org/webclient/?show=image-4073934

Here the 'No Image' is rendered at 40x65.

The underlying image is 195*325

Calculating the ratio:
195 : 325 = 40 : 66.666666666667

Attachments (1)

Webclient-no-image-20160511.png (223.8 KB) - added by khgillen 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by khgillen

comment:1 Changed 8 years ago by wmoore

Unfortunately this is quite tricky to fix, since the JavaScript? image sizing code has no connections to the thumbnail generation on the server. The browser can't tell whether the thumbnail is "No image" placeholder or the correct image.

comment:2 Changed 8 years ago by khgillen

Won't the server send the thumb at the correct aspect though?

So then you can scale based on the size of the image received from the server, as opposed to the size in the image metadata? or is that vastly more expensive?

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.64052 sec.)

We're Hiring!