Can't use sprites in Dropbox folder

Hello there

I’m stumped, I can’t figure out how to render sprites from my Dropbox sprite pack. I can see the images (jpeg) I put there and synced, I can select them with the picker, but they won’t render.

myImg=readImage(“Dropbox:Zombatar”)

sprite(myImg, WIDTH/2, HEIGHT/2)

I get the following error:
error:[string “…”]:18:bad argument #1 to ‘sprite’ (codeaimage expected, got nil)

This works perfectly with any of the other sprite packs.

What am I missing?

I had a similar problem with jpegs - rendered as a white box. I have a feeling only png files are natively supported by codea. Have you tried a png?

Thanks West, that did the trick. It did cross my mind, but I couldn’t believe it. Should have tried before posting the question :-S