Using Adobe Lightroom, it’s relatively easy to produce a website showcasing your photography. Whether using the in-built web engines, or third-party web engines such my own, the options are many. So many, in fact, that some find the number of choices somewhat daunting. For that reason, as time allows, I intend to produce a series of tutorials walking users through their first Lightroom-produced website.
But before we leap headlong into Lightroom, there are some underlying technologies, concepts and tools relating to the web that should be understood.
The most important of these is File Transfer Protocol (FTP).
FTP is the easiest, most reliable way to transfer files over the Internet, and it’s something that every website owner should know. While a web browser provides the user with the ability to download single files from a web page, FTP allows files to be transferred both to and from a web server en masse. FTP is also how we manage our websites, moving the files that comprise our site(s) from our desktop to our web server(s), where they can be seen by the world.
FTP is not only useful for managing your website, however. Many photographers and studios setup guest FTP accounts, allowing clients to log into the server to download images from a shoot. It’s an easy, reliable way to quickly send images from a shoot location to an advertising client’s office for proofing during a shoot, or to deliver retouched files to a client on deadline.
Whether being used for website management or digital asset delivery and sharing, FTP is an essential technology for photographers.
According to Wikipedia, “File Transfer Protocol (FTP) is a network protocol used to exchange and manipulate files over a TCP computer network, such as the internet. An FTP client may connect to an FTP server to manipulate files on that server.” That sounds very technical — maybe even scary to some readers — but FTP, in practice, is very simple. For those who want a technical explanation, Wikipedia has you covered. For the rest of us, it’s enough to know that FTP provides a method of moving files from one location to another via the Internet.
If you’ve ever moved files from one folder to another on your desktop, then you’re already familiar with the fundamental principle of FTP. The difference is that you’re not moving files from a local location to another; you’re moving them from a local location to a remote location on your web server. But moving files is moving files. The concept is the same.
On a Mac, we use Finder to navigate our desktop and arrange our files; Windows users have Explorer. On the Internet, we use an FTP client to perform these tasks. I’ll discuss FTP clients in more detail further on, but let’s just have a look at one now, as it will help to put things into better perspective.
Note the resemblance between this image of my FTP client, and the previous image of two folders on my desktop. The concept is the same: On the left, I have my source folder; on the right, my destination folder. Files can be moved between locations by dragging from one folder to the other.
An FTP client is a software application that provides a graphic user interface (GUI) for FTP.
Being a Mac user, my FTP client of choice is Panic’s Transmit. Panic’s Coda, my text-editor of choice, also includes FTP functionality, but has proven less reliable than Transmit for large transfers. Transmit costs $29.95.
While I prefer Transmit, there are a number of free FTP clients available for both Mac and Windows platforms. Mac users should check out Cyberduck, while FileZilla Client is available for Mac OS X, Windows and Linux.
Despite cosmetic differences, all FTP clients offer the same basic features. For the purposes of this article, it really doesn’t matter which you choose.
FTP accounts are usually setup via your web server’s control panel. When you purchase web hosting, an FTP account will be setup for you by the host and the login details will be provided to you. Typically, all that is required to access your server via FTP is the server address, user name and password. In some cases, a port number or protocol will also be specified; most often, however, default values are acceptable.
To set up additional guest FTP accounts — for clients, site contributors, etc. — you will need access to your site control panel. Details for configuring additional user accounts are beyond the scope of this tutorial, but should be well documented in your host’s knowledge base.
To access your site via FTP, you first have to login. You can configure your FTP client to do this for you.
When setting up your FTP client to connect to your server, you may be presented with more options than you need to worry about. This capture is from Transmit, configuring a new server connection. Beginning from the top, give your connection a name; the name of your website will usually suffice.
Next, provide the server address. Web-browsers usually access sites using an http:// address. For example, look to your address field now, and you should see that you’re reading my website from http://theturninggate.net/etc. Typically, when accessing your site via FTP, you would replace this with an ftp:// address. When I log into The Turning Gate, for example, I would set my server address to ftp://theturninggate.net. Your host will usually tell you the server address along with your login information, but it’s easy enough to guess that it’s your domain name, or ftp:// and your domain name.
User name and password are self-explanatory.
Unless your host tells you otherwise, you need not concern yourself with the Port. For Protocol, SFTP is more secure and should be used whenever possible. If your server will not connect using SFTP, then try FTP.
That done, you can hit the OK button to move on.
You should now have a server preset saved in your list of servers, which you can double-click at any time to log into your server.
The “root” of your server is where users are directed when they input your web address into their browser. The front page of your website should always be located in the root.
When you first log into your server, you may be presented with a number of oddly named folders. Your first task is to locate the root, which will usually be in a folder named
/public_html/. Again, consult with your host’s documentation if you have difficulty locating the appropriate folder.
When a visitor accesses your site by URL,
www.domainname.com, they will automatically be directed to your index file — usually either
index.php, depending on which is present. It’s important to understand that:
www.domainname.com = www.domainname.com/index.html
If no index.html (or
index.php) file is present at the root, visitors will receive a File Not Found error when accessing your domain name,
www.domainname.com, even if there are other files present at the root.
For any other file to be accessed at root, the file name must also be supplied. Example,
Folders can sit in your root, alongside your
index.html file, or can sit as sub-folders within a folder. To access folders, simply add the path to your domain. If you have a gallery folder named “gallery” sitting in your root, then you would access it in a web-browser via the address
The same file rules for the root apply to folders. Thus:
www.domainname.com/gallery/ = www.domainname.com/gallery/index.html
Sub-folders can be nested inside folders to an infinite depth, and are accessible by extending the path, like this:
Ultimately, your folder structure (a.k.a. directory structure) will determine how your website menu should be laid out. Depending on where you place your pages and photo galleries, your menu will need to point to each relevant file at its respective location.
Lightroom’s Web module has the ability to act as an FTP client for the purpose of uploading a web gallery to your web server. The setup is much the same as for any FTP client, in that you are required to supply a server address, user name and password. You can also specify a root address, and then set a sub-folder path for each gallery.
While convenient, Lightroom’s FTP capability isn’t all it’s cracked up to be. It often chokes mid-transfer, and fails to complete the upload. It’s interface is so simplified, that it’s also easy to send your gallery to the wrong location, possibly inadvertently overwriting other files in the process. If Lightroom’s FTP works for you, it’s your choice whether to use it or not. Most people worth asking, however, would advise avoiding Lightroom’s Upload feature. Instead, it’s best to Export your galleries to your desktop, and use an FTP client to upload the files to your server. You’ll find this to be more reliable, and it allows you to have clearer control over your website structure.
And that’s the gist of FTP. I hope you’ve found this helpful. If anything seems unclear, or not fleshed out as well as it should be, let me know and I’ll update this post as necessary.