# Adding cover art from a browser

- The gtkpod Manual
- iPod and content

Unlike other applications, cover art in gtkpod is not hidden away in a "difficult to find" image cache. In fact, cover art files, for a local database, can be located anywhere on the filesystem.

- 2.5.1.Setting Image on Track Import
- 2.5.2.Setting Image on Existing Album

## 2.5.1.Setting Image on Track Import

Locating the image file in the same directory as the tracks gives the additional benefit that gtkpod will analyse the image upon track import and set the image as the album's cover artwork. It is Important to ensure the image's filename corresponds to at least one of the image filename templates entered in the Preferences window.

## 2.5.2.Setting Image on Existing Album

The use of the popup menu to select a cover art file from the filesystem has been documented Cover Art|here. It is also possible to download a cover art image file from the internet and drag n drop it into gtkpod.

- 2.5.2.1.Drag 'n Drop Using Firefox
- 2.5.2.2.Drag 'n Drop Using Konqueror

### 2.5.2.1.Drag 'n Drop Using Firefox

1. Locate the preferred image and display it in firefox.
2. Ensure the url of the image ends with ".jpg" or ".JPG" (other file extensions could be supported if demand warrants it).
3. Drag the image from Firefox and drop it onto the Cover Art Display's centre/main cover image. The main cover image should be displaying the album which requires the new cover.
4. If a cover already exists with the same filename then gtkpod will ask whether the existing image be overwritten or the new image be named something else.
5. The image will be downloaded from the url location, saved in the album's directory on the filesystem and applied to each track belonging to that album.

### 2.5.2.2.Drag 'n Drop Using Konqueror

- A limitation of the dnd in Firefox is that only the url can be used to get at the image file. Thus, the page must be displaying just the image and gtkpod must redownload the image internally (using curl and the image url).
- Konqueror offers the additional functionality that the image file can be extracted directly from its cache. This has the benefits of avoiding the internal curl download and that the url is not restricted to those ending in ".jpg"
- The importance of the latter benefit concerns websites that do not offer the direct download of cover art images. http://www.allcdcovers.com is one such site, where its images are displayed in the browser but the image url cannot be used a second time to download the same image. Thus, allcdcovers.com cannot be used as a download dnd source in Firefox. However, in Konqueror, simply open a full image from allcdcovers then just drag 'n drop into gtkpod.
- Maybe Firefox will do this some day too..