How is it possible that I only found out about the “all it does is make calls”, “electronic ink screen”, “not purposefully designed for the elderly” Motorola MOTOFONE F3today?
I overheard Ivan asking Jonathan when his new phone was arriving, and he started describing this mythical minimalist cellphone. I was completely flabbergasted that such a chimera actually existed (and wasn’t a Jitterbug).
According to Wikipedia, it’s been around since 2006, but was built for developing countries, so it hasn’t been available in US (though it can be ordered online). It kind of sounds like the OLPC of cell phones.
The electronic ink display doesn’t require power to keep an image visible which translates into insanely long battery life (300 hours on standby, 8 hours of talk time). Apparently the special screen also makes the phone thinner and lighter. And less complexity overall means lower cost (~$45 unlocked), good for developing and developed countries alike.
This past year, Stephanie and I were able to visit some relatives we hadn’t seen in a long time. Three years had passed since she’d visited her family in France, and it had been at least as long since I’d seen my grandfather in Buffalo. For some reason—maybe experiencing it together amplified things—we left feeling more aware of the distance than we had before.
Though we both like to think we’re pretty accessible via blog and email, we know the internet doesn’t make it all the way to our grandparents. So we wanted to create some sort of physical, visual artifact that would. Something to make the distance and time between visits seem less great. Given our photo-centric adventures, we started thinking about compiling a photo book.
After Thanksgiving I started to go through all the photos I’d taken in 2007 (there were over 4,200!), looking specifically for pics with either or the both of us in them. By the time I got through them all, I’d collected over 80, many of which had never seen the light of day (we don’t usually highlight those cheek-to-cheek shots on our blogs).
Then I started surveying the photo printing sites that did photo books, like Kodak, Shutterfly, and Lulu. I’m not sure what exactly I was looking for, but when I stumbled upon Viovio, I knew I’d found something…unusual. At first I was a little put off by their wiki-centric website, but the more I explored their offerings (discovering things like linen hardcover binding) the more I liked what I saw.
They offered two primary ways to prepare a book for printing: upload a PDF (ostensibly created with some fancy Adobe software I didn’t have) or upload individual images into a gallery which they’d generate a PDF from. I wasn’t about to layout the book myself, so I started by uploading the 80 or so photos I’d set aside (which I was able to do as a single zip file).
Their photo gallery to PDF creator was pretty neat, you could specify how many photos you wanted on each page and it would arrange and resize them to fit, with lots of fun options like full bleed pages and chapters. Or you could decide which photos you wanted on each page by manually numbering them yourself. This is the approach I took, leaving horizontal photos alone on a page, and putting two vertical photos side by side. You might remember a blog post where I surreptitiously wrote about this: A little weekend math.
This was working well enough, so I started uploading additional pictures of some of the incredible sights we’d seen along the way. It went on like this for a few nights, I’d upload photos, rearrange them, confer with Stephanie, regenerate the PDF (which took a few minutes), and repeat. The hardest part was not setting up individual pages, but making sure certain related photos on two different pages appeared next to each other, one on the left and one on the right (e.g. the croque monsieur and the espresso at the bottom of the layout screenshot below).
I alerted them to the limitations of their PDF generator, which they confirmed, but had no timeline for fixing. Meanwhile I was running out of time. Their Christmas ordering deadline was fast approaching, and my expectations were rising. I had a vision in my head (and on graph paper) of what I wanted the book to look like, and the limitations of their generator (or my use of it) only further clarified what I wanted.
What I wanted was simple. One horizontal photo to a page or two vertical photos to a page, with just enough space at the bottom for two lines of text (English and French captions) and small margins around the edges to maximize the photo size. I started thinking maybe I could write a little PHP program to generate the PDF to my specs. How hard could that be?
Well the hardest thing was deciding on a PDF library to use. PDFlib is the most full-featured and up-to-date, yay for proprietary software, but on the other hand I couldn’t just apt-get install it. In fact, no matter what I tried, I couldn’t compile and install the trial/free version at all. What a waste of time. Boo for proprietary software.
But it’s not like I needed anything fancy. Just multiple pages, photos, and two lines of text. So I turned to FPDF and never looked back. I think it took less than an hour to go from zero experience to a proof of concept photo book generator. In fact I was progressing so fast that I stayed up till 2am one night to get the whole thing done. That’s just the best feeling in the world.
It took another day to polish the code, proofread the captions (in two languages), design a cover (Stephanie used Picasa), and suddenly we were done. I uploaded the 160MB PDF (74 pages, 99 photos), ordered a bunch of copies, and couldn’t wait till they arrived.
Note: Even though I originally wrote this for WordPress v2.3, it continues to work for all versions of WordPress through v2.9.x.
Background
Who knew that when I migrated my Blogger blog to WordPress way back when, I’d still be supporting a hacked together Haloscan importer 3 years later!
Awhile back, I don’t remember if it was during WordPress 2.2 or 2.3, the folks at Google revamped Blogger, which meant the old Blogger importer no longer worked. So the heroic coders that do the heavy lifting for WordPress set out to write the-Blogger-importer-to-end-all-Blogger-importers, this time using Blogger’s feed-based “API”.
The problem for you classic Blogger folk with Haloscan comments is that the only way to link your Haloscan comments to their post is via Blogger’s postID. Which is apparently not accessible in the feed API. Grrr. Which meant my previous hack for associating the postID with the newly imported WordPress post no longer worked.
Last night, I finally went back to the drawing board and came up with a new solution. I’ve tested it successfully on two different blogs.