Project

General

Profile

Actions

Bug #21483

open

CV cover/profile image URL generation not compatible with S3-Uploads

Added by Boone Gorges 8 days ago.

Status:
New
Priority name:
Normal
Assignee:
Category name:
CV
Target version:
Start date:
2024-11-13
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

It appears that CV cover/profile images are not fully compatible with S3-Uploads. The uploaded images are sent to S3, but the image URLs on the front end don't point to S3. I think this is because of Media\get_profile_image_base_url() and Media\get_cover_image_base_url(), which use home_url() rather than wp_upload_url() and thus aren't filtered by the S3-Uploads plugin.

I thought about making the necessary change myself, but I was worried I'd break something :-D Jeremy, could you please have a look, and also think about whether there are other related interfaces that might be affected (ie default cover images)?


Related issues

Related to CUNY Academic Commons - Feature #21383: Offload media using S3-UploadsNewBoone Gorges2024-11-01

Actions
Actions #1

Updated by Boone Gorges 8 days ago

Actions

Also available in: Atom PDF