Skip to content

Conversation

jonodrew
Copy link
Contributor

This will remove the need for an avatar for sponsors. This should be a temporary change, but will allow admins to continue creating new sponsors

This will remove the need for an avatar for sponsors. This should be a temporary change, but will allow admins to continue creating new sponsors
jonodrew added 2 commits July 19, 2025 09:31
I've used a blank square from Wikipedia as a default for the avatar. This is a little brittle, because it assumes wikipedia will always be around and that we can use the square. We could alter this to be a square that we own, if we wanted. This should be changed as soon as we've properly fixed the logo upload
@jonodrew
Copy link
Contributor Author

This now defaults to a blank square, hosted on Wikipedia
Screenshot 2025-07-19 at 10 22 04

latitude longitude directions],
contacts_attributes: %i[id name surname email mailing_list_consent
_destroy])
.with_defaults(avatar: "https://en.m.wikipedia.org/wiki/File:Blank_Square.svg")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do their ToU allow remote loading like this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good point. I think very technically no. We could download and host it somewhere - in which case, are we moving towards #2226 anyway?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that is allowed 🙂

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Short term, if someone in the organisation hosts it, we could use that? Or I can stick it in the S3 bucket I made for #2226 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could even host it here on Github, maybe?

@jonodrew jonodrew closed this Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants