The filters listed below are now considered deprecated and have been replaced. Although they are still seen in some older themes, we recommend that you use the suggested alternatives.
The following color filters are now deprecated:
Theme settings return hexadecimal values for color settings by default. Use the
hex_to_rgba filter to convert the value into RGBA. It defaults to an opacity of
1, but you can specify an opacity between 0 and 1. Shorthand hex values are accepted as well, for example,
The following url filters are now deprecated:
Returns the collection image's URL. Accepts an image size as a parameter.
Generates the product image URL. Accepts an image size as a parameter.
Named size parameters
Instead of using a numeric image size, some older themes use a named size as a parameter for
|Name||Maximum image size|
|pico||16 x 16 pixels|
|icon||32 x 32 pixels|
|thumb||50 x 50 pixels|
|small||100 x 100 pixels|
|compact||160 x 160 pixels|
|medium||240 x 240 pixels|
|large||480 x 480 pixels|
|grande||600 x 600 pixels|
|original||1024 x 1024 pixels|