visitscotland / dot-com-brxm

MIT License
0 stars 0 forks source link

Default image? on maps list view wrong #167

Open annacardellini opened 1 year ago

annacardellini commented 1 year ago

Describe the bug

I noticed a number of the images on the list view in the destination map (eg Edinburgh map: events - outdoor activities) is displaying a number of the same image. I'm not sure if this is a default image or if its just another image is pulling through instead however its showing as you would expect a default/ placeholder image to display as it is the same image on a number of cards. However the image being shown is a snowboarding image, not the default placeholder image we have. see image below to illustrate: image

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Edinburgh landing page'
  2. Scroll down to 'map module'
  3. Click on 'events' then filter by 'outdoor activities'
  4. See error: list of events that display have the same image of snowboarding (for a football/ other events unrelated to snowboarding)

Expected behavior

List of events with images that reflect the event in order to engage the user to want to find out more.

Page URL

URL of page where the bug exists On destination map

Environment

Live

Browser

Chrome

Device and version

PC

jlrhurta commented 1 year ago

@annacardellini This is the expected behaviour. There are default images assigned for different categories to be used when an Image is not provided.

This is not a bug, but maybe a UX spike for the future Vs-dms project to see what is the best approach for it.

annacardellini commented 1 year ago

Ah OK fab, i'll update the ticket then to reflect that as needs looked into further. Thanks for looking into it @jlrhurta

annacardellini commented 1 year ago

@KirstyScott ive recreated this ticket as a spike and assigned to you. not sure if you want to keep this or delete it as no longer needed.