Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,113 of 9,113 pages
About the help in other languages
All help pages

Thumbnails and screenshots

The pictures of a site package, the thumbnail and image file lists in package.xml, where the files go in the archive, how the setup wizard chooses between a package's own thumbnail, the thumbnail_url of index.xml and…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/site-packages/requirements/thumbnails-and-screenshots.md

On this page

Thumbnails and screenshots

This page is for developers and designers who give a site package its picture. The thumbnail is the first thing an administrator sees of a site package: the setup wizard shows it beside every site package it offers, and the package page shows it next to the details. No thumbnail is enforced; without one the wizard shows a default picture. Every shipped site package has one, and the package server carries a copy for the index.

Contents

  1. The thumbnail in package.xml
  2. Where the setup wizard takes the picture from
  3. The thumbnail on the package server
  4. The image file list
  5. What the shipped packages carry
  6. Screenshots
  7. Checklist
  8. Related pages

The thumbnail in package.xml

A thumbnail is a file list of type thumbnail in the file collection named default:

<files>
  <collection name="default">
    <file-list type="thumbnail" variable-name="thumbnail">
      <file name="thumbnail.png" md5sum="77a7bc0cc6e1e5138ca7a6e39a130307" />
    </file-list>
  </collection>
</files>

The file goes in the archive at files/<collection>/<type>/<name>, so here files/default/thumbnail/thumbnail.png (eZPackage::fileItemPath() in kernel/classes/ezpackage.php). Two details are fixed by the code:

  • The collection must be default. The thumbnail-list attribute of a package is thumbnailList( 'default' ), so a thumbnail in any other collection is never shown.
  • Only the first thumbnail is used, by the setup wizard and by the package page alike.

The md5sum attribute is read and written back, but nothing that imports or installs a package checks it against the file. Keep it correct anyway: it is the only record of which picture the definition was written for.

Where the setup wizard takes the picture from

The site type step (kernel/setup/steps/ezstep_site_types.php, template design/standard/templates/setup/init/site_types.tpl) picks one picture per site package, in this order:

OrderSourceWhen
1The package's own first thumbnail (thumbnail_path)The package is already imported on this installation
2thumbnail_url of the package's entry in index.xmlThe package is only on the package server, and (from 6.0.15 on) the address is http:// or https://
3design/standard/images/setup/eZ_setup_template_default.pngNeither exists

So the same package can show two different pictures: the server's before it is imported and its own afterwards. The 7x source repository recorded the fix for that on 2026-10-02:

Updated: The multisite packages carry the Exponential multisite picture as their thumbnail, the one the package server shows for them, so the setup wizard shows the same picture for a package it already has as for one it would download.

The thumbnail on the package server

Each site package entry of the 6.0.15 index.xml has a thumbnail_url of the form https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/thumbnails/<name>.png, for example thumbnails/sevenx_multisite.png. The thumbnails/ folder of that release holds 13 PNG files: one for each of the 12 site packages in the index, and sevenx_site_paypal.png, which no index entry uses. The attribute format is on The index.xml format.

The image file list

The 7x and CJW site packages carry a second picture, logo.png, as a file list of type image in the same collection, stored at files/default/image/logo.png:

<file-list type="image" variable-name="image">
  <file name="logo.png" md5sum="999280c75d36e8e24477c223a3230906" />
</file-list>

None of the setup wizard steps in kernel/setup/steps/ reads it; it is a convention of the shipped packages. The package page lists it among the package's files.

What the shipped packages carry

Checked on 2026-10-18 in the source repositories and the package server repository:

PackageThumbnailSizeSame as the server's copy
sevenx_multisite, sevenx_multisite_clean, cjw_multisitethumbnail.png192 x 192 PNGyes
sevenx_sitethumbnail.png120 x 103 PNGyes
sevenx_site_cleanthumbnail.png120 x 103 PNGno, the server's copy differs
sevenx_design_blue, sevenx_design_cleangray, sevenx_design_graythumbnail.png120 x 103 PNGno server copy (site styles are not listed with a thumbnail)

All five site packages also carry logo.png (176 x 42 PNG). In sevenx_multisite and sevenx_multisite_clean the md5sum written for logo.png did not match the file, which shows how quietly such a value goes stale. Fixed on 2026-10-19: both packages now state the file's checksum, and the rebuilt packages are on the package server.

The three site styles sevenx_design_blue, sevenx_design_cleangray and sevenx_design_gray still carry stale checksums for their thumbnail.png, site-colors.css and classes-colors.css (checked by importing them on 2026-10-19). In sevenx_design_gray the two stylesheets are empty files, so its checksums are not the only thing to look at before that package is changed.

Screenshots

A package has no field for screenshots. The thumbnail is a small picture for choosing; it is not a preview of the site. Put screenshots of a site package where people decide whether to use it: in the README of its source repository, and in the pull request that submits it (Contribute your site package). Taking them well is covered by Screenshots for a theme and the Screenshot checklist.

Checklist

  • To do: One PNG thumbnail in the default collection, at files/default/thumbnail/thumbnail.png.
  • To do: 192 x 192 like the multisite packages, or 120 x 103 like the classic ones.
  • To do: The md5sum in package.xml matches: md5sum files/default/thumbnail/thumbnail.png.
  • To do: The same picture, byte for byte, as thumbnails/<name>.png on the package server.
  • To do: thumbnail_url in the index entry points at that file and answers 200.
  • To do: Screenshots in the source repository's README, not in the package.
md5sum files/default/thumbnail/thumbnail.png
grep -A2 'type="thumbnail"' package.xml
curl -s -o /dev/null -w '%{http_code}\n' https://packages.example.com/exponential/6.0/6.0.15/thumbnails/example_site.png

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x