2016-05-13 Flickr

I’ve been hosting my pictures on Flickr but lately I’ve been thinking that I might want to change that.

on Flickr

A first step was to write a piece of code that would download all the images I’m inlining from Flickr and displaying on this blog. This used to mean that pictures are hosted on Flickr and loaded by your browser as you browse this site. It also means that Flickr knows that you’re reading my pages, and that attackers which knew how to inject malware on Flickr would be able to serve that malware via the images I’m hosting, right?

a piece of code

And today I ran the code! So, the images inlined are hosted on this server, but you can still click through and look at Flickr. But these days I’m feeling a bit weird about Flickr. For example: I can’t make a decent backup, and I don’t know how to export all my images. There’s no Google Takeout for Flickr.

Google Takeout

And so I’ve been toying with fgallery.

fgallery

ssh alex@alexschroeder.ch mkdir alexschroeder.ch/gallery/input
scp -p -C Album/* alex@alexschroeder.ch:alexschroeder.ch/gallery/input

Then switch to the remote machine and run fgallery. I guess I could pack into a set of ssh calls.

cd alexschroeder.ch/gallery
~/src/fgallery/fgallery input 2016-amaryllis
rm -rf input

Check it out: Amaryllis 2016 (actually: Hippeastrum).

Amaryllis 2016

Hippeastrum

I might still have to learn a thing or two about exiftool.

about exiftool

As I’m using *Perlbrew* to install my Perl, I noticed that by default it is built without thread support.

without thread support

The following will install two variants of Perl, one with and one without thread support.

perlbrew help install-multiple perl-5.25.1 --both=thread

I don’t know why some of the directories end up belonging to root:

sudo chown -R alex.alex ~/perl5/

I guess this also requires a setup call in your `~/.bashrc` (see `man local::lib`):

eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"

Install the necessary dependencies:

perlbrew exec --with perl-5.25.1-thread-multi cpanm Image::ExifTool Cpanel::JSON::XS JSON

Copy all the files into a directory called `from` and making sure that `to` does not exist:

perlbrew exec --with perl-5.25.1-thread-multi ~/src/fgallery/fgallery from to

Now you can delete `from` and move `to` to wherever you host your galleries.

​#Blogs ​#Pictures

Comments

(Please contact me if you want to remove your comment.)

👍 for self-hosted everything

– AlexDaniel 2016-05-13 22:49 UTC

---

How Yahoo Killed Flickr and Lost the Internet.

How Yahoo Killed Flickr and Lost the Internet

– Alex Schroeder 2017-04-26 08:19 UTC

---

That’s it, then. I deleted my Flickr account, and my Yahoo account.

Let’s check in a few days. 😄

– Alex Schroeder 2017-05-24 07:48 UTC

---

And while I was at it, I also deleted my Instagram account.

– Alex Schroeder 2017-05-24 07:52 UTC

---

Hah, I had forgotten about IFTTT which had a rule copying Instagram pics to Flickr. Deleted that rule, too.

– AlexSchroeder 2017-05-25 10:09 UTC