Project

General

Profile

Actions

Support #19124

closed

personal event default image

Added by scott voth 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Events
Target version:
Start date:
2023-10-28
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

When creating an event not from a group (a personal event) the default image shows. Should this instead be the member's profile photo?


Files

personal event default image.png (1.08 MB) personal event default image.png scott voth, 2023-10-30 03:20 PM
Actions #1

Updated by Boone Gorges 6 months ago

  • Status changed from New to Reporter Feedback

Scott, could you be more specific about which event image you're referring to? Is it the same images that appear underneath the date overlay at https://commons.gc.cuny.edu/events/?

Using a profile image for an event doesn't seem like it would be a relevant default behavior in most cases.

Actions #2

Updated by scott voth 6 months ago

We had a member wondering how to change the default image that appears on a personal event. See attached. I agree that a profile photo is probably not appropriate, but neither is the default image. Maybe just not display it at all?

Actions #3

Updated by Boone Gorges 6 months ago

  • Assignee changed from Boone Gorges to Raymond Hoh

Looking at the codebase, it appears that this image is populated by the Featured Image. And at least some events have successfully set a Featured Image - see eg https://commons.gc.cuny.edu/events/event/mapping-working-group-meeting/. But I don't see the ability to set the featured image on a new event, either in a group or outside of one. Did post-thumbnails get turned off for this interface or something? Ray, what do you think?

Actions #4

Updated by Raymond Hoh 6 months ago

  • Status changed from Reporter Feedback to Staged for Production Release

But I don't see the ability to set the featured image on a new event, either in a group or outside of one. Did post-thumbnails get turned off for this interface or something? Ray, what do you think?

We have to add 'post-thumbnails' support to our bp-nelo theme in order to support a featured image for events.

Previously, we didn't have to do this because the 'bp-default' theme already added support for 'post-thumbnails'; but now, since 'bp-nelo' is its own theme, we have to declare 'post-thumbnails' support ourselves. I've just done so in https://github.com/cuny-academic-commons/cac/commit/03e71ccd5f58a568c3c2bc703be72875c3409fb8 . This will be a part of the next maintenance release on November 14th.

Actions #5

Updated by Raymond Hoh 6 months ago

  • Target version set to 2.2.2
Actions #6

Updated by Boone Gorges 6 months ago

Good catch, Ray!

Scott, this means that there will be a 'Featured Image' section when creating/editing an event after the fix is released.

Actions #7

Updated by Boone Gorges 6 months ago

  • Status changed from Staged for Production Release to Resolved
Actions

Also available in: Atom PDF