Skip to main content

Image Sizes and Specs

SportsPress registers a number of named image sizes for use across the plugin. Use this reference when configuring artwork for teams, players, staff, and other media.

Image Sizes and Specs

SportsPress registers a number of named image sizes for use across the plugin. Use this reference when configuring artwork for teams, players, staff, and other media.
​

Registered Image Sizes

SportsPress registers four image sizes on activation. Three use aspect-ratio-preserving scaling (the longest edge sets the size constraint, no cropping). One uses hard cropping for square thumbnails.
​

Size Name

Dimensions

Crop

Primary Use

sportspress-fit-medium

300 × 300 px

No

Team logos, player photos in profiles and lists

sportspress-fit-icon

128 × 128 px

No

Team logos in league tables and event blocks

sportspress-fit-mini

32 × 32 px

No

Inline icons, small logo appearances

sportspress-crop-medium

300 × 300 px

Yes

Square gallery thumbnails (hard crop)

These size names can be passed to get_the_post_thumbnail(), wp_get_attachment_image(), or used as the size parameter in custom templates and shortcodes.
​

Team Logos

Specification

Requirement

Height

300 pixels minimum

Width

300 pixels minimum

Aspect ratio

Square (1:1)

Format

Transparent PNG (PNG-24)

Using a transparent PNG ensures logos render cleanly against any background color in event blocks, league tables, and countdown widgets.
​

Player and Staff Photos

Specification

Requirement

Height

300 pixels minimum

Width

300 pixels minimum

Aspect ratio

Square (1:1)

Format

JPEG (Quality: 6 or higher)

WordPress automatically generates all registered size variants when an image is uploaded. Uploading at the recommended minimum dimensions prevents upscaling artifacts in larger display contexts.
​

Did this answer your question?