Skip to content

Competition and group images

Every competition and every group can carry two images of its own: a profile image and a cover image. They sit alongside your hub-wide brand kit, so a competition or group can look like itself instead of the hub’s default. Hub admins can set both images on a competition and on a group.

Image Recommended size Shape
Profile image 512×512 pixels Square
Cover image 1920×640 pixels 3:1

Both sizes are guidance, not rules. A file of another size is cropped to fit, and an upload is refused only in two cases:

  • The file is not a PNG, JPG, SVG, WebP, GIF or ICO.
  • The file is over 5 MB.

The sizes come from the places the images already appear.

  • Profile image, 512×512. The largest place a profile image is drawn is the 76 px group emblem and the competition header mark. At 512 pixels it stays sharp at double size, and it matches the guidance for your hub’s app icon.
  • Cover image, 1920×640. On a competition or group page, the cover sits in a column about 960 px wide, which makes it about 320 px tall at 3:1, and about 130 px tall on a phone. Cards show a shorter 84 px band and crop the centre of the same file, so one cover serves both.
  • Cards show the cover in the band across the top, and the profile image in place of the default icon.
  • Group pages use the cover as the hero image.
  • Competition pages show the cover as a banner above the page header.
  • The public competition page uses the cover as its social image, which is the preview shown when someone shares a link to it. If a competition has no cover, no cover-based social image is added.
  1. Open the competition’s edit form, or the group’s edit page.
  2. Choose a profile image, a cover image, or both.
  3. Upload the file.

To remove an image, delete it from the same place. The competition or group goes back to the default icon and band.

An image is uploaded in its own request, separate from saving the rest of the form. Fanzava attaches the new image only after it has stored the file and read it back, so a competition or group never points at a file that is not there.

A new image shows on cards and pages as soon as it is attached. The public competition page can take up to 15 minutes to pick up a new cover, so the social preview of a shared link can lag behind a change.

The dashboard does this for you. If you are building against the platform, an image is set and removed with one request each, on the competition or the group:

Action Request
Set an image POST /api/v1/hubs/:hubId/competitions/:competitionId/images/:kind
Remove an image DELETE /api/v1/hubs/:hubId/competitions/:competitionId/images/:kind

Groups have the same pair of routes, on the group instead of the competition. In every route, :kind is profile or cover. The file limits above apply to the upload.

Was this page helpful?

Raise a ticket about this page

Comments