Use imageUrlV2 in outfit thumbnails

Without this, 150x150 and 300x300 outfit thumbnails would fail to render new item layers where we didn't have an AWS image layer. Now, they correctly render the new stuff!

I tested this with the new "Spooky Stitches Markings" on the Grarrl, which has a blank image in AWS, but works correctly in the new code by loading the image from neopets.com!
This commit is contained in:
Emi Matchu 2022-10-12 12:35:20 -07:00
parent 3428254318
commit 7bef1f3b9a

View file

@ -167,14 +167,14 @@ async function loadLayerUrlsForSavedOutfit(outfitId, size) {
petAppearance {
layers {
id
imageUrl(size: $size)
imageUrl: imageUrlV2(idealSize: $size)
}
...PetAppearanceForGetVisibleLayers
}
itemAppearances {
layers {
id
imageUrl(size: $size)
imageUrl: imageUrlV2(idealSize: $size)
}
...ItemAppearanceForGetVisibleLayers
}