sanity-io / image-url

Tools to generate image urls from Sanity content
https://www.sanity.io/docs/presenting-images#mY9Be3Ph
MIT License
64 stars 23 forks source link

feat(vanity): add support for vanity name in url #68

Open Isissss opened 4 months ago

Isissss commented 4 months ago

Feature: Add method to builder to add vanity name

Description:

Adds vanity name to the image builder by setting the vanityName() method

Reason:

Clear and descriptive file names are good for SEO purposes. Seemed useful to add to this package so you don't need extra logic to add it yourself.

Related issue: https://github.com/sanity-io/image-url/issues/40

Laruxo commented 3 months ago

Hello, is there anything blocking this PR from getting merged? I need this for my project and I am available to help if needed cc @rexxars