| # Publish an album This tutorial assumes that you have just successfully generated an album and that you are connected to the Internet. Now it's time to publish it on a web server for others to see. ## 1. Select the publish tab The publish tab with some sample settings already filled in To publish an album you need a web server account with "FTP access". If you already have such an account (check with your Internet Service Provider) just fill in the needed settings in the "FTP connection profile" section above. If you don't have such an account or simply feel it is too technical to fill in "FTP connection settings", use the "Create account" wizard. This tutorial will guide you through it. Those that already have an account can skip to step 5. ## 2. Open the "Create account" wizard The "Create account" wizard displays list of web hosting alternatives This wizard will guide you step by step in the process of getting an account on a web server. You will first be presented with a text describing its functionality, read it and proceed to the next step where you get to select the web hosting provider you wish to use. Here we select "MyPix" which allows you to try out their services for free for 24 hours (the account will be shut down afterwards unless payment is made). The terms and conditions for each service is presented in the wizard. ## 3. Fill in your account information Enter your personal information. Make sure you enter a valid email address Click Next and proceed to enter your personal information. Make sure you use a valid email address as MyPix will send you payment instructions to the email address you specify (if you care to keep the account that is) ## 4. Confirm and press Finish Click Next and confirm that the details are entered correctly. If not, just step back and correct. When everything is in order, press Finish. The wizard will now communicate with the selected service and set up an account. If everything is in order you will be presented with a welcome text. The wizard will also fill in all neccesary "FTP connection details" for you. ## 5. Final settings It is smart to upload the album to a subdirectory of the site. Here the "album" directory The "Create account" wizard is now closed (if you ever ran it). Before publishing your album it is recommended to decide on where to put it on the ftp server. It is a good idea to put the album in a subdirectory of the web account as you probably want to have (or already have) some general web pages in the root of the site and you don't want the JAlbum album pages to collide with those. Select "album" (no quotes) as album directory. Before you press "Upload all", also make sure that the size of the album fits with the 20 MB limit of the MyPix account. Do this check by selecting the "Calculate album size" tool from the Tools menu. If the album seems large, consider leaving out the original images from the album. -They easily make up 90% of the album size. ## 6. Press "Upload all" and view the result You can usually peek at the result during upload by clicking the "Preview link" When you press "Upload all", JAlbum will ask you if you want to create the "album" directory on the remote server. Answer yes. Now all files in the output directory are transferred to the "album" directory of the remote server - your web site. You can see the result by clicking the "Preview link". ## Linking to the album and more albums Let's assume you have (or want to create) a web site in the root of the web account you just uploaded the album too. It is easy to make a link from that page to the new album. Just edit that web page and construct a link like this
    <a href="album">My photo album</a>
The "FTP connection settings" for your MyPix account are stored in JAlbum, you can retrieve them by clicking the "Accounts" button. Practical when you want to upload yet another album to the same account. When you upload a new album to the site, just change the "Remote directory" setting to something unique, say "summer2004". Adding links to each album from the main page is now simple:
    <a href="album">My photo album</a><br>
    <a href="summer2004">My great summer during 2004</a>