-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflow for Inserting Images #83
Comments
a user asked for the image browser so they could use my library of images, i had some time and wanted a separate project so i put it together. i think now it's kind of pointless. i've gotten zero feedback on it, i don't if anyone is even using it. |
I should have given this feedback earlier, but I feel it's a nice repository of the images to be added in the right margin. I have already used one of those images (I thought given the browser exists, the images can be freely used). |
@am1t the script seems a bit flaky and breaks sometimes in a way I don't yet understand. I think, if I had the JavaScript skills, I could have a script that showed them in a browser like Dave's and then add a chosen one in the more orthodox Drummer way via attribute? |
aha -- yes that was the point. which raises another question -- the main way i can tell if someone is using something is if it's broken. ;-) |
@am1t I either do what you're doing (upload to static server and type in the URL) or I upload to my SmugMug account and use the Share icon to grab a specific-sized image URL. I prefer the SmugMug approach (Flickr would also work well for this) because they handle hosting and storage and also offer a number of resized options so I don't need to worry about sizing the original. I'm also considering ways to automate this. Maybe by using Drummer's scripting capabilities similar to what @troutcolor is doing, but I'm still pretty green there. |
May I suggest you look at PublicFolder.io.
I don’t use that for images, but use something much like it.
Electric Drummer has image stuff built in, btw.
…On Sunday, October 17, 2021, Jack Baty ***@***.***> wrote:
@am1t <https://github.com/am1t> I either do what you're doing (upload to
static server and type in the URL) or I upload to my SmugMug account and
use the Share icon to grab a specific-sized image URL. I prefer the SmugMug
approach (Flickr would also work well for this) because they handle hosting
and storage and also offer a number of resized options so I don't need to
worry about sizing the original.
I'm also considering ways to automate this. Maybe by using Drummer's
scripting capabilities similar to what @troutcolor
<https://github.com/troutcolor> is doing, but I'm still pretty green
there.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#83 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM32O342QFBRTNYATGWYUTUHLX6RANCNFSM5GE6POTA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
|
That's one option I have tried, and it worked. I still need to get the URLs manually and add them to the posts, though - that's something I wish to automate.
I can't use Electric Drummer because I update my blog from multiple devices. E/D won't allow that. |
Maybe publicfolder could run a web server you could call from a drummer script to get the url of the last image uploaded. From there it’s easy for the script to add the image attribute. |
@troutcolor That sounds excellent! At least, that level of automation too is a good start. Have you added that script somewhere we can refer at? @jackbaty SmugMug/Flickr should work -- but I use neither. And I prefer not to sign up for another third-party service for images. I think there can be a way to automate via scripting, but I wanted to see if something already exists. |
Yeah, that will work. The script can get the last uploaded image and add it as an attribute to the selected post. Possibly with a confirmation? |
@am1t my Flickr ID is 71428177@N00
There is a wee problem cause this line: keeps getting broken, the single quotes get replaced by double ones. I cannot reproduce this consistently. There is a hint in Dave's example script menu dialog.about, I guess there is something that could be filled with the flickr results as thumbnails to make a picker. The dialog.about example is empty at the mo though. |
@am1t http://drummer.scripting.com/johnjohnston/sharescript.opml This steals the built in image Browser dialog and fills it with thumbnails |
Be careful, things like that break. |
Yes, I can see this is not clever. I am not up to creating my own dialog. I have hopes in the dialog.about place holder in Dave’s Script menu. |
John I think if we slow down we can have a good way of doing images, but
software takes time.
…On Sunday, October 17, 2021, John Johnston ***@***.***> wrote:
Yes, I can see this is not clever. I am not up to creating my own dialog.
I have hopes in the *dialog.about* place holder in Dave’s Script menu.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#83 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM32OY3OPJIMDBG2XB3MFTUHMYQLANCNFSM5GE6POTA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
|
That is really interesting. I have experience instrumenting a JavaScript web app with analytics that let you see users' paths through the application. That might be fun to do for Drummer. If I were interested in doing that, would you want it? |
@dcoletta -- thanks for the suggestion but no -- not at this time. there's still a lot of unfinished business in drummer, and this is the kind of thing that I as a user would not be happy about, so I as a software developer don't want to do it. here's the best thing to do -- use the software and keep reporting bugs. that's issue #1 now. ;-) |
I like the image browser, only used it a couple of times and it worked well. I host my static files (template etc.) on GitHub pages so I upload images (usually just via drag and drop on GitHub) to that and add the url manually. Can envision a helper script on my computer to commit the image and put the html on my clipboard. |
@scripting I am using PublicFolder.io for my images now. It has simplified my workflow around handling the images. And because I use Drummer for publishing to Micro.blog too, I have a consistent way I handle images across all my blogs. This is great. Thank you! 👍🏽 Only thing was I had to build the URL manually, a way to get the URL right in Drummer would be brilliant! |
@am1t -- that's good to hear. and it also gives me someone to test a new build of publicFolder with. i took a look at the code a few days ago, and there already is an HTTP server built in. and it also will give the log of all its recent uploads, so a script will be able to grab the log, and return the URL of the first item. and there you are. however i did not test the server at the time in the configuration we'll be using, a one-line change is needed, and when i tried to rebuild with the change it didn't work. anyway that's a verbose way of saying that i'm pretty sure we'll have that connection working soon. i wrote a piece about this idea a long time ago, and this was an instrumental thing with Frontier, the idea of a fractional horsepower http server. the idea really works, and we're there once again. :-) |
That would be great. Would love to test it whenever it is ready 👍🏽 |
@am1t -- good news and bad news.
I did a little reading about this on Stack Exchange, but thought this would be a good point to document it here. Let me know what you think the next step should be... |
Actually I think I just figured it out. I'm not going to post the solution here until I try it out. ;-) |
I saw both the good news/bad news update and the follow-up to the bad news update together. So, all's good news, I guess :-) Just to update, I am able to see the logs and the URL element in action. I think this JSON is valuable! 👍🏽 |
@am1t -- it worked. http://this.how/publicFolder/#1634847088000 I think you'll understand it from the docs. Let me know if it works. ;-) |
Here's the change note. http://scripting.com/drummer/blog/2021/10/21/205226.html?title=aNewVersionOfThePublicFolderApp |
@scripting Aha! It worked -- this has completely simplified my workflow now. I added a new script - code added here - that fetches the last uploaded image and inserts it as an attribute in the selected node. Yay! For reference, here's the complete Drummer Script node. Just copy and paste this to
|
Wanted to add my 2 cents! Here is my image workflow using Drummer on an iPad Pro. I add whatever image I want to use to the Photos app which I use in slide over mode. I built a shortcut that is accessed in the Share Sheet in the Photos app from the slide over. The shortcut uses the Secure ShellFish app to upload the image to my server and copies the path to the clipboard ready to paste in the image or inlineImage attribute. I then publish the outline to my micro.blog where I am doing my Drummer experimenting. Makes the 12.9 iPad Pro a very nice platform for blogging with Drummer! |
To update on my method from above, I've made this script to do the boring work for me. I upload an image to my github repo, then run this script (could make it a button too) and I just enter the file name into the dialog box. Can also copy and change it to the right-aligned image
|
@alexjj -- when I try to explain what system level scripting is about to people, i try to describe things like this. this is exactly why we want it, to take steps out of our workflow. and in doing so sometimes we get ideas about how to do a lot more simplifying. that's how we make progress in software. |
The Smithsonian has opened access to hundreds of thousands of scientific and historical images for public use. Many are very nicely photographed and it's fairly common for the background to be neutral and ready to be processed into a transparent background. |
What's the workflow for the images that the folks have identified and are using with their Drummer blog? I wanted to know if there is a simpler way to include images in the blog. Here's my workflow.
I have the below two key questions.
The text was updated successfully, but these errors were encountered: