Task #8384 (closed)
BUG: rendering thumbnail failure does not show default thumbnail
Reported by: | atarkowska | Owned by: | atarkowska |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-4.4 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | wmoore, cxallan, cneves |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2012-04-10 (12) |
Description
While calling /render_thumbnail/ID/ failed the default pickture is not shown. This is becuase we no longer use webclient.render_thumbnail but directly call webgateway.render_thumbnail. Would be great to modify the core view method to return either default blank file icon defined in settings.DEFAULT_IMG
Change History (7)
comment:1 Changed 12 years ago by atarkowska
- Cc wmoore cxallan cneves-x added
comment:2 Changed 12 years ago by atarkowska
- Sprint changed from 2012-03-27 (11) to 2012-04-10 (12)
comment:3 Changed 12 years ago by atarkowska
- Status changed from new to accepted
comment:4 Changed 12 years ago by atarkowska
- Remaining Time changed from 0.3 to 0
- Status changed from accepted to closed
comment:5 Changed 12 years ago by atarkowska
comment:6 Changed 12 years ago by Aleksandra Tarkowska <A.Tarkowska@…>
(In [86a742b0c1f90cb8f8bc58a5d39d231c079f83c2/ome.git] on branch develop) fixing default thumbnail method, see #8384
comment:7 Changed 12 years ago by Aleksandra Tarkowska <A.Tarkowska@…>
(In [c6357da023afec832f191665e61aeedd8dedf522/ome.git] on branch develop) fixing default thumbnail method, see #8384
We still need to override render_thumbnail in webclient as for Carlos having a default image regardless of size will not work and defcb == None means, that the thing will be handled elsewhere, so it has to be detected