Topic: https://brettterpstra.com/2013/01/12/scripting-jekyll-image-uploads/
hide preview

What's next? verify your email address for reply notifications!

Patrick Welker 12y, 47d ago

Hi Brett, did you know about https://github.com/toy/imag... when you were writing the Jekyll Filer?



I tend get smaller PNG’s with imageoptim than using pngcrush alone. I'm curious if there's a particular reason why you went with pngcrush opposed to image_optim.

hide preview

What's next? verify your email address for reply notifications!

die_krabbe 12y, 48d ago

thanks. I switched to Octopress about a week ago. This service helps to simplify my blogging experience one step further. Granted, I was pretty much spoiled by the TextMate Blogging Bundle.
With this service I am getting there.

Please keep all your Jekyll posts coming. Very helpful. As always.

hide preview

What's next? verify your email address for reply notifications!

Mark Struzinski 12y, 64d ago

Hi, Brett. Thanks for this script. It's extremely useful. I had some issues getting it to run after creating the service. It would run with no error, but not create the directories or copy the images over. I was able to run the script with hardcoded image paths and get everything to work from terminal. I was fooling around with debugging it when I just tried changing the Pass Input value in the automator drop down from 'to stdin' to 'as arguments'. This fixed the issue for me. Just posting here in case anyone else has the same problem.

Thanks for all the awesome stuff you share!

remark link
hide preview

What's next? verify your email address for reply notifications!

ttscoff 12y, 64d ago

Oops, I changed the way the script worked and forgot to update the screenshot. Will try to fix soon! Thanks for the note.

hide preview

What's next? verify your email address for reply notifications!