<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="https://elezea.com/wp-content/themes/elz_2023/styles/pretty-feed-v3.xsl" type="text/xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:slash="http://purl.org/rss/1.0/modules/slash/" >
  <channel>
    <title>Elezea by Rian van der Merwe - RSS Feed</title>
    <atom:link href="https://elezea.com/2018/03/image-upload-workflow-dropshare-amazon-s3/feed/" rel="self" type="application/rss+xml" />
    <link>https://elezea.com/2018/03/image-upload-workflow-dropshare-amazon-s3/</link>
    <description>A personal blog about product, technology, and interesting things that are worth sharing.</description>
    <lastBuildDate>Thu, 02 Apr 2026 17:43:52 +0000</lastBuildDate>
    <language></language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>https://wordpress.org/?v=6.9.4</generator>
          <item>
        <title>Easier blog post image management with Dropshare and Amazon S3</title>
        <link>https://elezea.com/2018/03/image-upload-workflow-dropshare-amazon-s3/</link>
        <pubDate>Wed, 28 Mar 2018 13:00:24 +0000</pubDate>
        <dc:creator>Rian van der Merwe</dc:creator>
        <guid isPermaLink="false">https://elezea.com/?p=6375</guid>
        <description>
          <![CDATA[A workflow for fast image uploading and hosting, to make inserting images into blog posts way easier.]]>
        </description>
        <content:encoded>
          <![CDATA[<p>I’m always on the lookout for faster ways to upload and insert images into blog posts. It’s the part of the blogging workflow that I dislike the most. Up to now I’ve used a pretty convoluted combination of Amazon S3 buckets and <a href="https://panic.com/transmit/">Transmit</a>. But over the weekend, while moving hosting providers<sup id="fnref:6375.1"><a href="#fn:6375.1" rel="footnote">1</a></sup>, I finally came up with a really simple image upload workflow that I thought I’d share in case it helps anyone else.</p>
<p>This workflow lets you drag and drop an image to a menu bar icon on your Mac, and then immediately paste a secure, custom domain URL for that image wherever you need it.</p>
<hr />
<h2>Step 1 &#8211; Create S3 bucket</h2>
<p>Create an <a href="https://aws.amazon.com/s3?tag=leavethegreat-20">Amazon S3</a> bucket for your image uploads. It doesn’t matter what you name the bucket, but <em>do not</em> add a <code>.</code> to the name. This creates some weird SSL certificate errors later in the process that you don’t want to deal with.</p>
<p>Also make sure you set the bucket to be publicly accessible via the Permissions tab, otherwise you’ll get read errors for your files.</p>
<h2>Step 2 &#8211; Create CloudFront distribution</h2>
<p>Create an <a href="https://aws.amazon.com/cloudfront?tag=leavethegreat-20">Amazon CloudFront</a> distribution for the S3 bucket you just created, so that you can use a custom URL for your images, and make use of Amazon’s Content Delivery Network (CDN) capabilities.</p>
<p>When you go through the flow of adding a distribution for your S3 bucket, leave the “Distribution Settings” section blank at first — we’ll come back to that.</p>
<p><img decoding="async" style="display: block; margin-left: auto; margin-right: auto;" title="CloudFront settings" src="https://cdn.elezea.com/images/cf-settings1.jpg" border="0" alt="CloudFront settings" /></p>
<h2>Step 3 &#8211; Add custom domain for your images</h2>
<p>Back on the main Distributions screen, note the CloudFront domain name that was created for your bucket. It’s going to be in the format <code>***************.cloudfront.net</code>. Go to your DNS provider and add a <code>CNAME</code> for the custom domain you want to use for your images.</p>
<p>In my case, <code>cdn.elezea.com</code> points to my CloudFront distribution at <code>d26fqxuc6*****.cloudfront.net</code>, which in turn links to the S3 bucket I set up earlier.</p>
<h2>Step 4 &#8211; Add SSL certificate to CloudFront distribution</h2>
<p>Now go back to your Distribution Settings in CloudFront. Add your <code>CNAME</code> information, and then click the button to “Request or Import a Certificate with ACM”.</p>
<p>This will take you through the process of generating a free SSL cert to be used with your CloudFront distribution. This is <em>essential</em> if you serve your site over <code>https</code>. If you don’t do this, your images will be served over <code>http</code> and you will get “mixed content” warnings when you embed images in your site.</p>
<p>Change your settings to “Custom SSL Certificate”, and you’re good to go.</p>
<p><img decoding="async" style="display: block; margin-left: auto; margin-right: auto;" title="CloudFront settings" src="https://cdn.elezea.com/images/cf-settings2.jpg" border="0" alt="CloudFront settings" /></p>
<h2>Interlude &#8211; take a breath</h2>
<p>If you’ve successfully completed these steps, here’s where you’ll be. Whenever you upload an image to your S3 bucket, you will be able to serve that image via your custom URL over <code>https</code>, and as an added bonus, you’ll be using Amazon’s CDN for super fast delivery.</p>
<p>Now we need to figure out the fastest way to get images <em>into</em> that bucket of yours.</p>
<hr />
<h2>Step 5 &#8211; Download and set up Dropshare</h2>
<p>There are many sophisticated ways to manage your S3 buckets. But when it comes to uploading an image and getting a URL for it, I haven’t found anything that’s simpler than <a href="https://getdropsha.re/">Dropshare</a>.</p>
<p>In short, Dropshare allows you to establish connections to all your S3 buckets. It lets you upload files by dragging them to the Dropshare menu bar icon, and then the URL for that image is automatically copied to your clipboard. So to add an image to this blog post, for example, I just drag the image to the menu bar icon, then come back to where I’m writing and <code>⌘-V</code> to insert the link. It couldn’t be easier.</p>
<p>I have a bunch of S3 buckets linked up in Dropshare:</p>
<p><img decoding="async" style="display: block; margin-left: auto; margin-right: auto;" title="Dropshare" src="https://cdn.elezea.com/images/dropshare1.jpg" border="0" alt="Dropshare" /></p>
<p>In the case of the bucket I use for this site, note that I entered the bucket name, the domain alias (the <code>CNAME</code> you added earlier), and that I have the “Use SSL” box checked:</p>
<p><img decoding="async" style="display: block; margin-left: auto; margin-right: auto;" title="Drophsare" src="https://cdn.elezea.com/images/dropshare2.png" border="0" alt="Drophsare" /></p>
<p>This makes the workflow for adding images an absolute breeze. Drag and paste. That’s it.</p>
<p>When you upload an image, Dropshare lets you choose the bucket you want to upload to, as well as if you want to add a landing page and/or use a URL shortener (which I usually don’t, but it’s nice to have the option).</p>
<p><img decoding="async" style="display: block; margin-left: auto; margin-right: auto;" title="Drophsare" src="https://cdn.elezea.com/images/dropshare3.jpg" border="0" alt="Drophsare" /></p>
<p>Dropshare is useful for other things too. I have a keyboard shortcut that takes a screen shot, automatically uploads it to an S3 bucket, and copies the URL to the clipboard. That’s great for sharing screen shots in Slack, for example.</p>
<hr />
<p>I’m not sure how many people have this need to shave a few minutes off their image workflow. But I hope this post is useful for the few of you who <em>do</em> obsess about things like this, like I do. And please let me know if you think this flow can be improved even more!</p>
<div class="footnotes">
<hr />
<ol>
<li id="fn:6375.1">
<p>I’m now with <a href="https://mbsy.co/lFzDj">DreamHost</a> and <em>much</em> happier.&#160;<a href="#fnref:6375.1" rev="footnote">&#8617;</a></p>
</li>
</ol>
</div>
          <br>
          <br>
          <hr>
          Thanks for still believing in RSS! Get in touch <a href="https://elezea.com/contact">here</a> if you'd like.]]>
        </content:encoded>
                      </item>
      </channel>
</rss>