Jump to content

Related images


Recommended Posts

I would appreciate some guidance on how to manage images.
My project is a county golf archive. It has (currently) around 1000 player records, 500 championship records, 1000 match records.
I have about 2,200 images, and this will increase by at least 200 per year. These images might be of a single player, so these are relevant to that player's page and maybe also a championship page or match he/she was playing in. But I also have many images that include multiple players eg team photo, relevant to multiple players and a match or championship.
I would like pages for players, championships and matches to show related images for that player.
What would be the best way to structure this? I have considered creating a separate template for all images utilising page reference fields to link to players, championships etc, but I don't know if this would impose a heavy overhead on the database and impact performance as the archive grows. Or should I simply have image fields in players, matches, championships templates, and put tag data into image fields to create the links?
Many thanks



Link to comment
Share on other sites

I'd put the images to the entity they belong to.

In case I'd need to show the match a player participated in I'd create a reference field to add matches to players and whereever needed. This way I can list all the matches at one point and grab all matching images as well if needed. There might be more logic needed to check if and where to show these details but overall this would probably my way to go.

On the other hand a collection of images, like a media gallery (see media manager), could be an option as well - if you like that workflow. I personally don't.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...