Skip to content

Documentation of image/credit updates #12

@burkmarr

Description

@burkmarr

From Pete: "I'm starting to get a very small influx of new photos for a few species - only 4 or 5 photos at the moment - but is there an efficient and simple way of dealing with these, so that it's not all ad hoc?"

As it stands, it not very straightforward. The original process was:

  1. Tom loads the images to the BSBI server that hosts them.
  2. Tom associates a credit with each image.
  3. The list of images and the associated list of credits are included as the values of two separate columns in the taxon spreadsheet that Tom provides to Rich.
  4. From that spreadsheet Rich generates separate ‘caption’ files for each taxon which includes the lists of images and credits.
  5. When a user selects a taxon on the website the caption file is read to retrieve the list of images and credits for the gallery tool.

If there are going to be frequent updates, we want to avoid steps 3 & 4 which involved regenerating all caption data for all taxa.

Since there are likely to be fairly regular updates/additions to the images then this image/credit data is completely unlike the other caption data which is, essentially, fixed and I think we need to handle it separately. So I propose:

  • Rich to make a code change whereby when a user selects a taxon, the code first looks to see if there is a standalone file that specifies images and credits for that taxon.
  • If the file is present, the images & credits are read from that file.
  • If it is not present, the images and credits are read from the original caption file.
  • Tom loads and curates new images and credit information as before, but develops a process to generate new image/credit data files for any affected taxa.
  • The changed image/credit file is uploaded to the server.

At the moment Rich would do the last step, but it would be better to provide credentials to Tom so that he can do it directly.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions