NuxtN
Nuxt12mo ago
Omnislash

NuxtImg, custom query parameter on source

Hello,

I allow my user to customize their logo on their page.

However, since I always register it under the name "logo", the NuxtImg cache doesn't refresh and doesn't show the new logo

The solution should be simple, adding the update timestamp as a query parameter of the source.... but the source is already customized with info like width, fit, aspect ratio....

So... how can I add a custom query parameter to my source ? Maybe there is actually a simpler solution ?

Thanks ^^
Was this page helpful?