added upload and changing of community logo, and fixed logo references in other files

This commit is contained in:
2025-10-18 20:41:06 -06:00
parent 94c3877819
commit 1797a6ec7e
8 changed files with 227 additions and 12 deletions
+6 -5
View File
@@ -35,11 +35,12 @@ var static_images embed.FS
// Constants for default photo sizes.
const (
UserPhotoWidth = 100
UserPhotoHeight = 100
UserPhotoMaxBytes = 2097152 // 2 Mb
CommunityLogoWidth = 110
CommunityLogoHeight = 60
UserPhotoWidth = 100
UserPhotoHeight = 100
UserPhotoMaxBytes = 2097152 // 2 Mb
CommunityLogoWidth = 110
CommunityLogoHeight = 60
CommunityLogoMaxBytes = 2097152 // 2 Mb
)
/* mimeTypeFromFilenane returns the MIME type of a file, given its filename.