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)

acc_inv_grp_attach_2022may16.jpg​ (214.6 KB ) - added by Martin Reisinger 5 years ago.
AccessionGroup.JPG​ (44.3 KB ) - added by Kay Kittell 4 years ago.
New group note and top 1 image example

Download all attachments as: .zip

Change History (7)

by Martin Reisinger, 5 years ago

comment:1 by Kay Kittell, 5 years ago

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 -

  1. Should it pull top 1 image from accession_inv_attach and if none, then pull from accession_inv_group_attach?
  2. Combine totals images from both tables for number of images?
  3. Is there any need to distinguish that the image is from the group_attach table?

comment:2 by Kay Kittell, 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.

by Kay Kittell, 4 years ago

Attachment: AccessionGroup.JPG​ added

New group note and top 1 image example

comment:3 by Kay Kittell, 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 Mark J. Millard, 4 years ago

Cc: lisa.burke@… 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 Mark J. Millard, 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.

Note: See TracTickets for help on using tickets.