Installing myPhoto on Linux Server
myPhoto is a PhpLanguage program which generations web picture galleries based on the contents of Apple iPhoto library. It's particularly nice because it preserves most of the MetaData you can enter in iPhoto (albums, titles, keywords and comments).
It was designed to run on an AppleOsx computer, but since it's just PHP it seems that you can configure it to run on a Linux (or presumably any PHP enabled) web server. However the installation process is a little more manual.
Installing myPhoto
Because myPhoto ships only as an OSX installer, you need to download it onto a Mac, extract the PHP files and copy them to your linux server.
Download the myPhoto installer package.
- In Finder right click on the myPhotoInstaller package and choose "Show Contents".
- Browse to the myPhoto directory inside the Contents/Resources directory.
- Copy the myPhoto directory to my server.
apple# rsync -e ssh -avz myPhoto username@server.domain.com:/var/www/
- Rsync my ~/Pictures/iPhoto Library to the myPhoto directory on the server
apple# rsync -e ssh -avz ~/Pictures/iPhoto\ Library/ username@server.domain.com:/var/www/myPhoto/
- Fix the permissions so that myPhoto can read and write in the myPhoto/cache directory.
linux# chown -R www-data /var/www/myPhoto/cache
You should now be able to browse to your web server and see the pictures online that were in your iPhoto Library.
Problems
Currently I have this mostly working, however there are a few problems I'm trying to sort out:
- None of the keywords or titles show up.
- You can't search for pictures by anything other then actual name of the file.
- The similar pictures feature doesn't work.
It's possible this is an issue with iPhoto 4.0.1, that I've configured something incorrectly (I don't think so), or possibly failed to copy across something from the installer package that myPhoto requires.