Opened 7 years ago

Closed 6 years ago

#2646 closed enhancement (fixed)

SVG icons should be used in preference to 128/256 images

Reported by: dd32's profile dd32 Owned by: obenland's profile obenland
Milestone: Plugin Directory v3.0 Priority: normal
Component: Plugin Directory Keywords: needs-patch


It appears that the plugin directory uses the 128/256 images in preference to the SVG icons if they exist.

This isn't a regression from the previous plugin directory, the CSS generated for an example plugin icon is the following:

<style type='text/css'>
#plugin-icon-easy-widget-columns { width:128px; height:128px; background-image: url(//; background-size:128px 128px; }
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) { #plugin-icon-easy-widget-columns { background-image: url(//; } }

Change History (4)

#2 @tellyworth
7 years ago

  • Keywords needs-patch added
  • Milestone changed from Plugin Directory v3 - Future to Plugin Directory v3.0

This ticket was mentioned in Slack in #meta by denisco. View the logs.

6 years ago

#4 @obenland
6 years ago

  • Owner set to obenland
  • Resolution set to fixed
  • Status changed from new to closed

In 6404:

Plugins: Always prefer SVG for icons.

H/t denisco.
Fixes #2646.

Note: See TracTickets for help on using tickets.