Opened 5 years ago
Last modified 4 years ago
#2530 addressed defect
Accession Inventory Group Images not displying on the PW
| Reported by: | Martin Reisinger | Owned by: | Kay Kittell |
|---|---|---|---|
| Priority: | medium | Milestone: | Server 2.3.2 |
| Component: | Public Website 2 | Version: | N/A |
| Severity: | Keywords: | interface, images | |
| Cc: | marty.reisinger@…, lisa.burke@… | Database Engine: | N/A |
| Operating System: | N/A |
Description
In 1.21.10.4, the CT can now add images to the accession_inventory _group_attachment table, but these images do not display in the Public Website
Attachments (2)
Change History (7)
by , 5 years ago
| Attachment: | acc_inv_grp_attach_2022may16.jpg added |
|---|
comment:1 by , 5 years ago
comment:2 by , 4 years ago
| Milestone: | → Server 2.3.2 |
|---|---|
| Status: | new → addressed |
Created web_inv_group_images_2, web_accessiondetail_group_top_image_2, changed web_accessiondetail_groupnote_2. Changed accessiondetail, ImgDisplay and Control/Images. Accessiondetail will display the note as well as the top image for the group, much like it does for the top inventory image.
comment:3 by , 4 years ago
change to control/Images to display accession group images (no images are on dev/prod for testing, so someone will need to load few for testing on dev.)
comment:4 by , 4 years ago
| Cc: | added |
|---|
I was working off https://npgsweb.ars-grin.gov/trac/GG/ticket/2661
and hadn't studied all the info in this ticket. This comment refers to both tickets. I loaded some group attach images for some nurseries. I also enabled the display for advanced query.
I loaded a couple more group attach images for 2020 nursery on dev. That year we had the derecho and we worked up from a drone image the lodging by plot.
One thing I think you want to consider is presenting the images based on accession rather than inventory. I know the groups are set up via inventory, but the presentation is accession based, so I would present an image only once if it is connected to multiple inventory in the same group.
B73 is a good example of the duplication of presentation that can occur. We grow multiple inventories of the same accession each year mostly as checks. When I look at the presentation, I see the same image for each lot even though the presentation is by accession.
It is not a problem seeing the images by group even though they might be the same image.
Otherwise the presentation seems to be getting close from my pont of view.
comment:5 by , 4 years ago
Seems to work on the 2020 and 2022 nursery images. Need to watch the test closely as the same image was loaded with 2 different file names. I'll close the ticket as soon as it appears on prod unless someone else closes sooner.

The images display in the Image page, but not in the search results or accessiondetail page. Further guidance is requested.
For search results and accessiondetail -