Skip to content

Add thumbnail logo to competitions to increase loading speed of the list #1290

Closed

Description

@Didayolo

Following #1173. The competitions list page is slow to load:

https://www.codabench.org/competitions/public/?page=1

This is because the logos of the competitions can be big images. We load all images just to display small thumbnail (e.g. 200 x 200 pixels).

A possible solution is to save a new attribute competition.logo_small, during unpacking of bundle, with a resized version of the logo. This thumbnail logo would be used in the competition list page.

Activity

  1. added
    Enhancement
    on Jan 20, 2024
  2. Didayolo commented on Jan 25, 2024

    @Didayolo
    MemberAuthor

    Another take: resize the image (and keep only one logo as it is already the case).
    We can limit the width to 400 pixels.

  3. bbearce commented on Feb 3, 2024

    @bbearce
    Collaborator
  4. linked a pull request that will close this issueLogo Icons too big fix (Issue: 1290) #1306on Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

EnhancementUI

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions