# Importeren/Exporteren

If you attend a family party, a company meeting, a conference, or any other event where other &kphotoalbum; users may be present, you may wish to share your images with those people. You may of course choose to generate &HTML; pages for them to browse, but given you already have spent time classifying all images (Who is on the images, where were they taken etc), there are no reason for them to redo all that work.

&kphotoalbum; allows you to export a set of your images into a `.kim` file, which other people may import into their database, to get your classification for these images.

Two different kind of `.kim` files exists, inlines or externals, referring to whether the images them self are located in the file or at some other location. Placing the images in the file has the obvious advantage that the file is self contained, while it has the equally obvious disadvantage of the file being rather big.

There are two places from which you may generate a `.kim` file, namely directly from File Export..., or along with &HTML; pages (see ). Creating a `.kim` file during &HTML; export will create an external `.kim` file.

External `.kim` files will search for images in one of two ways. First it will try to look for the images next to the `.kim` file, and if not found, it will search for them at the URL specified when the `.kim` file was created. Notice the later is only possible for `.kim` files created during &HTML; export.

## Exportdialoog

Deze sectie laat u zien de exportdialoog zien die u krijgt om na het kiezen van bestand Exporteren....

Het meest belangrijke deel van deze dialoog is het specificeren of het `.kim`-bestand intern of extern (zie bovenstaande beschrijving) moet zijn. U hebt de volgende drie opties:

- Ingevoegd in het `.kim`-bestand - dit is dan een intern bestand

- Handmatig naast het .kim-bestand kopiëren - hier moet u de afbeeldingen zelf naast het .kim-bestand kopiëren

- Automatisch naast het .kim-bestand kopiëren - hier kopieert &kphotoalbum; de afbeeldingen voor u.

Between you and me, `.kim` files are really just zip files. Normally it is not worth bothering compressing the files because images normally are compressed JPEG already, and the XML file itself are really tiny. If you really want to squish out the last few bytes, you may still do so, by checking Compress Export File

The final option on the page are Limit maximum image dimension. When sending some images to some friends, you may not want to send images in full size, as the `.kim` file might be huge. For this, you may specify that the maximum dimension of images should be say maximum 800 pixels in each direction.

## Importdialoog

When you select a `.kim` file from a web browser, or choose File Import..., &kphotoalbum; will import the database exported with the functionality described in .

De importassistent bestaat uit vier stappen. Eerst moet u specificeren welke afbeeldingen u wilt importeren. Vervolgens moet u specificeren in welke map de geïmporteerde afbeeldingen geplaatst moeten worden.

Chances are that you call the people category personen (if you are German), while I in Danish might call this category personer. In the third step of the import dialog, you must specify which category from the import file to import, plus which categories in your database they match.

Ik kan mijzelf in mijn databases mij noemen, terwijl ik in uw database Jesper K. Pedersen wordt genoemd. Stap vier laat u het overeen laten komen instellen voor elk van de geïmporteerde categorieën. Dit kan bekeken worden in .

### Personen overeen laten komen in de importdialoog

In the screen shot you may see that Donna is the same in both the .kim file and in my database - the name is shown in black to indicate a perfect match in the database. The other three names was not found in the database, though both Jesper and Anne Helene was found matching as substring, so these are suggested. Finally in my database I didn't have Spiff (or I might have named it quite differently), so &kphotoalbum; simply suggest Spiff for the import name.