az-digital / az_quickstart

UArizona's web content management system built with Drupal 10.
https://quickstart.arizona.edu
GNU General Public License v2.0
30 stars 20 forks source link

Add thumbnail image to Trellis Event importer #3384

Open danahertzberg opened 4 months ago

danahertzberg commented 4 months ago

Motivation

I added an image to my event in Trellis and I want it to migrate over with the other content when using the Trellis Event importer.

Is your feature request related to a problem? Please describe.

I don't see the image on my site when I added it in Trellis.

Proposed Resolution

Describe the solution you'd like

I want to add the Trellis event photo to the migration import.

Additional context

https://uarizona.slack.com/archives/C064HMQD0R1/p1713394858596419

Makayla Nichols Hi all, I received some feedback from FORGE who is now using Trellis Events and the QS Import tool. They have noted that they liked how when they added their events (before the import tool), there is a nice thumbnail of the image that shows up on the page. But with the Trellis import tool, there's no thumbnail. Is there a workaround to get the thumbnail or is that something that will be added as an option later?

Here's their calendar with some old events and some imported events: https://forge.arizona.edu/calendar

Cameron Green I think that would require an update to the integration.

Cameron Green @Alexis Lim Should we add this to the roadmap?

Alexis Lim Hi Cameron @camerong, This seems to be similar this ticket https://github.com/az-digital/az_quickstart/issues/3228 that Dana @Dana Hertzberg created for WebServices to work on for news imports. Would Events be a different ticket, or could it be combined? Tagging @Kara also.

3228 Use thumbnail image in Marketing Cloud newsletters

Alexis Lim @camerong I checked with Kara she shared that this is not something we can do in Wawot. To request importing the thumbnail to a QS2 site would be a new ticket for Web Services. The current ticket with Web Services addresses the thumbnail import for Marketing Cloud newsletters. Thanks!

Cameron Green Thanks Alexis! glad that got sorted.

Alexis Lim Cameron, Just to confirm, the new ticket needs to be created by web services.

swielandUA commented 1 week ago

@danahertzberg here's the field information from the events api as requested:

The events api returns the field Formatted_Image_URL__c. if an image is provided from the event, as shown below:

Otherwise, that field will not be returned as part of the payload.

Let us know if you need other info or data to bring the image in!