Sailfish OS
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS
Select Page
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS

Nemo QML Plugins Thumbnailer

API Documentation
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon

Nemo QML Plugin Thumbnailer

The Thumbnailer module provides API for enabling thumbnail caching of images and videos in your application. The thumbnail images are generated upon demand and cached on the disk for faster access.

The simplest way to create thumbnails is to use Nemo thumbnail image provider:

 import QtQuick 2.0
 import Nemo.Thumbnailer 1.0

 Image {
     source: "image://nemoThumbnail/" + path
     width: 100
     height: 100
     sourceSize.width: width
     sourceSize.height: height
 }

For more control use the dedicated Thumbnail API.

 import QtQuick 2.0
 import Nemo.Thumbnailer 1.0

 Thumbnail {
     source: "photo.jpg"
     width: 100
     height: 100
     sourceSize.width: width
     sourceSize.height: height
 }

The Thumbnailer module includes the following types:

Thumbnail

Generates and displays a cached thumbnail of the source image or video

  • Legal
  • Contact Us
  • Jollyboys Ltd © 2024

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn