I am trying to reduce the friction of posting photos to my site from my phone. In the process I thought it might be useful to simultaneously upload photos to my Instagram profile at the same time as my site.
Over the past year I’ve cobbled together a bunch of pieces to make this process work and it’s never been super-reliable in part because sometimes shortcuts likes to upload a .heic file instead of a jpeg.
##Heic file error
By default, the iPhone stores images in the .heic format. It seems that once you edit a photo on the iPhone it is then saved back to the library as a .jpeg. But I don’t want to have to edit a photo just to ensure that it will upload through the shortcut correctly.
What I’ve realized is that when you do anything with a photo using the share icon, iOS also converts the photo to a .jpeg.
As such, calling the shortcut through the share icon from the Photos library instead of calling the shortcut and then selecting the photo seems to get this whole thing working pretty consistently.
I can’t take credit for this shortcut working as good as it does. I pulled most of it from a website that, sadly, google can no longer find. I have no idea why. In any case, if you’d like to try it out, here is a link to my version shortcut.
You will need the WordPress iOS app installed on your phone for the shortcut to work.