How do I rotate an image?

Hello and welcome,

I can also reproduce this. Here is a clone app for the Anvil devs:
https://anvil.works/build#clone:YAFEDIEGF533RO54=QUBZSWD7BIS33XFZNA3XK3XF

Hello @shaun, just letting you know that there may be a bug with image rotation. I can get the “internal error” to go away if I create a BlobMedia object with an image (with the content type ‘image/png’), but it doesn’t help as I can’t get the code to interpret any lines after the rotation command.