Custom file name for resized images


I wondered if it is possible to rename images that have been resized using Image Processing.

Original filename:

I dislike the file names hugo is creating:

Instead I would like a file name like this:

Is it possible to achieve this in “vanilla” hugo?

Perhaps resources.Copy can help


resources.Copy solved my issue.

1 Like