spacecatninja / craft-imager-x

Image transforms, optimizations and manipulations for your Craft CMS site.
Other
26 stars 16 forks source link

Allow transform name to be used in `filenamePattern` #257

Closed dgsiegel closed 7 months ago

dgsiegel commented 8 months ago

I'm submitting a...

Description

It would be great to use the name of a named transform in a filename, for example:

  'filenamePattern' => '{fullname}{transform}.{extension}'

For example, if you have a transform named 1x1, {transform} should be replaced with the name.

aelvan commented 7 months ago

Version 4.4.0 now supports the use of {transformName} in filename patterns.

dgsiegel commented 7 months ago

Thanks @aelvan :)