Thumbnails - Reference


11.3 Thumbnails

Note: This page only refers the GQview thumbnail caching mechanism, the shared thumbnail cache mechanism is not explained here.


Thumbnails are stored in PNG image format. The thumbnail name is the name of the source image with “.png” appended.

The modification time (mtime) of the thumbnail is set to match the source file. Thumbnails are regenerated when the timestamps of the thumbnail and source file do not match.


Thumbnails are stored in:


The directory structure of the thumbnail cache duplicates the location of the source files, for example a source file with the name:


will store the thumbnail in:


When thumbnails are to be stored local to the source file, the thumbnail will be placed in:


Local thumbnail caching is enabled with the option “Cache thumbnails into .thumbnails” on the General tab of the options dialog. If it is not possible to store the thumbnail local to the source file (usually due to no write permissions), GQview will fall back to saving the thumbnail in the user's ($HOME)/.gqview/thumbnails folder.


GQview allows the following sizes for thumbnails:

24x24, 32x32, 48x48, 64x64, 96x72, 96x96, 129x96, 128x128, 160x120, 160x160, 192x144, 192x192, 256x192, 256x256

The thumbnail is scaled to fit within the preferred size maintaining the aspect ratio. Thumbnails are not cached for images that are equal to or smaller than the preferred thumbnail size.

When a cached thumbnail's width and height do not match the preferred size, the thumbnail is regenerated.




GQview User Manual