For what concerns NuxtImg, nuxt evaluates the v-if condition at compile time and does not copy the images to _ipx/ unless the condition evaluates to true (which is unlikely at compile time).
So generally when I put NuxtImg inside any "v-if" condition it doesn't work on build. Is that a bug?