imgix / imgix-url-params

Organized, machine-friendly documentation of imgix's URL parameters
BSD 2-Clause "Simplified" License
39 stars 6 forks source link

feat: add txt positioning in x and y direcions #11

Closed ericdeansanchez closed 2 years ago

ericdeansanchez commented 2 years ago

Prior to this commit, users lacked finer grain control wrt positioning text in the horizontal (txt-x) and/or the vertical (txt-y) direction.

Now, users can position txt via these params anywhere within an image.

ericdeansanchez commented 2 years ago

I think the reason for both is historical. We do use both. The JS file is consumed by Gearbox.

Both files are generated so I don't think they'd get out of sync, e.g.

json := generateJSON()
js := generateJsFrom(json)