I just updated my ‘Bulk MB Image Uploader Shortcut’ shortcut to version 1.2:
- Added setup step to specify which blog the images should be uploaded to. If left blank, it will default to the last used blog on your account.
- Added a blank line so that the list of images has some separation (for @pratik 😉)
Get it from the HeyDingus Shortcuts Library.
@pratik So strange. I used the Drafts action just today and still haven’t run into that issue. Hard to troubleshoot that way!
@pratik Is it erroring on JPGs for sure and not HEICs from an iPhone? I know I’ve had trouble with those in the past and that OpenAI doesn’t work with them.
@pratik I wonder if there’s something in the kind of JPGs going into it. Maybe adding a JPEG conversion action in the shortcut, even if they’re already in that format, would get things flowing.
@pratik Yeah, I guess I already thought of that. Maybe it’s something in the metadata? Let’s try unchecking that box.
@pratik Oh, and let’s double-check that the Run Shortcut action for Vision is using the ‘uploaded-url’ variable as input (under “Show More”)
@pratik And, as I look closer I think we could clear other things up here too.
I’d delete that “type” key in the web request. It’s unnecessary. And then make sure the file variable in that request is using the converted image.
@pratik Huzzah! 🙌 I’ve found Shortcuts has a hard time hanging onto those variables, so it might have been my fault or maybe a bug. But I’m glad we figured it out. I’ll update the library entry tonight with at least one other goodie — hopefully that won’t break anything!
@pratik The Multimedia one was designed and made before I had the auto-generated alt text, so I think it’s helpful to see the image right before you manually add its description. Honestly, I hardly ever use that one with multiple input because that’s the one I turn to as I’m adding a particular image for a blog post. The bulk one was designed to be more streamlined since I assume if you’re going for “bulk” you want to do it quickly and you’ll (hopefully) add alt text later (or go for auto-generated). Does that make sense?
@pratik Cool! That’s what I love about shortcuts as opposed to apps: they’re open-source by nature and anyone can edit them to fit their needs. 😁
@pratik Give this a shot. Edit your Drafts action to use the steps below. But in the run shortcut step, change the text passed to “Bulk MB”. Then install this helper shortcut. The action should run helper shortcut which will kick off the Bulk shortcut without any input and (fingers crossed) send everything back to Drafts in the end.
@pratik Does your Bulk shortcut end with a Stop and Output Result action set to output the clipboard? And does your Drafts action use that Insert Text step with
[[shortcut_result]]
as the text?@pratik Ugh. Another mystery. I just checked on my own phone by setting it to run the Bulk shortcut and it inserted automatically as expected.
@pratik Hahaha that’ll getcha. You must tend to put all these into a blank draft? I usually add them last, so I definitely would have noticed it archiving my in-progress draft. 😂
So glad the mystery is solved!
@pratik Ah that makes sense.