Sirv PrestaShop image CDN addon

On this page

prestashop logoSpeed up your website with the official Sirv PrestaShop CDN addon.

Faster loading leads immediately to happier users and higher conversions. Making your pages load faster will also improve your SEO. Google ranks faster websites higher, so you'll soon receive more visitors from search engines.

The PrestaShop CDN addon for Sirv is easy to install and starts working immediately. It synchronizes your PrestaShop product images to your Sirv account, then delivers them at the perfect dimensions, in the optimal image format (often WebP). Typical file size is 40-70% smaller than your original images. They're served from the nearest of 20 global CDN servers, for very fast load, anywhere in the world.

Your PrestaShop store can also expect more page views per user and a lower bounce rate. Test your results by comparing your website statistics before and after. Let us know how much difference it makes!

The Sirv addon automatically renames images from meaningless file names such as 1.jpg to keyword rich, meaningful names such as hummingbird-printed-t-shirt.jpg.

Installation

1. Download the latest version: Sirv PrestaShop CDN addon (zip).

2. Go to "Modules > Modules Manager" in your PrestaShop admin and click "Upload a module":

Install the PrestaShop CDN

Alternatively, unzip the module to your computer and copy the sirv folder by FTP to the /modules/ directory of your store.

3. Click 'select file' and browse your computer for the sirv.zip file, then click 'Open':

Upload the PrestaShop CDN module zip file

4. Click "Enable":

Enable button for PrestaShop CDN

5. Click "Configure":

Configure button for PrestaShop CDN

6. If you're a new user, click 'No' and create an account. (You'll start on a free 30 day trial - later you can choose a free/paid plan.)

Create your Sirv CDN account

If you're an existing user, go ahead and enter your Sirv email/password:

Connect to your Sirv CDN account

7. Click "Connect Account".

Configure Sirv for the first time

The optimisation settings page looks like this:

Sirv will start working immediately, by copying images from PrestaShop to your Sirv account the first time they are requested.

To accelerate synchronization, perform a sync of your PrestaShop images to Sirv by clicking the "Sync images" button:

Sync library button

A full sync can take minutes or hours, depending how many images are to be synced. Uploads are limited to 2000 files per hour. If you hit the limit, wait to resume sync once the limit is reset. Your current API usage and the reset time is shown on your PrestaShop Sirv settings page. If you would like a higher limit temporarily, please contact us.

Usage

Sirv will automatically fetch images when people browse your website. It will resize, optimize and deliver those images from the Sirv CDN or direct from the Sirv primary datacentre in Germany.

Newly found images are typically fetched within 1 second, then cached, ready to server to all future visitors.

Cache

The Sirv addon keeps a log of all synced images on PrestaShop. You can clear some or all of this log:

  • Failed - try this method first. It will delete the records of any failed images, so Sirv can try to copy them again.
  • All - use this method if images are not showing as expected. It can resolve images that had a connection problem; were missing when requested; were updated programmatically; were updated by an import/sync tool; or other issues.
PrestaShop CDN cache control

Sirv Media Viewer

Show 360 spins, videos and image zoom on your PDP (product display pages) with Sirv Media Viewer.

You can upload spins, videos and images to your Sirv account and they'll automatically show on the correct product page. The one rule you must follow is to upload your assets to a predictable folder in your Sirv account. The folder should either be named after the product ID or product SKU (also know as the Reference). Find your product ID or SKU here:

PrestaShop product ID and SKU

Upgrade

To upgrade to the latest version of this PrestaShop CDN addon:

  1. Download the latest version (zip).
  2. Extract the zip file to your computer.
  3. Upload the files to your PrestaShop server (by FTP), overwriting the old files in this folder:

    /modules/sirv/

  4. Go to the Modules page in your PrestaShop admin and click Upgrade:
    PrestaShop CDN upgrade version

If you use a version prior PrestaShop 1.7 or the "Upgrade" button isn't showing, you can download the latest addon, unzip it and upload it to your server (overwriting the old addon files). Then open the Sirv addon settings page.

PrestaShop version

This PrestaShop CDN module is frequently updated. All versions of PrestaShop from 1.6 and upwards are supported. It is an official addon, built and supported by the team at Sirv, with guaranteed support for all future PrestaShop versions.

You can download this PrestaShop module from the Sirv website (see instructions above) or from the official PrestaShop addons marketplace.

Changelog

  • v4.7.0
    September 16, 2021

    Optimized loading sirv.js
    Added background images sync
    Redesigned logic of caching Sirv assets
    Added information about extra storage and extra transfer in the 'Account' section
    Added option to pin items in gallery
    New functionality for showing missed ALT attributes when it's possible
    Updated account connect form
    Option to choose order of content in the Sirv Media Gallery
    Fixed possible issue with non-loading website logo
    Added compatibility code for Page Cache Ultimate and Speed Pack modules
    Improved logic for re-sync files which have been updated locally.

  • v4.6.1
    April 27, 2021

    Improved module localization.
    Improved sync of non-product images.

  • v4.6.0
    March 30, 2021

    Added option to exclude pages/files from CDN delivery.
    Added changelog link on the module settings page.
    New option to add YouTube/Vimeo videos in Sirv Media Viewer.
    Fixed issue with missing translations.

  • v4.5.0
    February 24, 2021

    Redesigned module settings page
    Added Sirv link to the left sidebar in admin, for faster access
    Added extra information about synced images
    Improved Sirv account creation/connection procedure
    Refactored and optimised code for better performance and better PrestaShop standards compatibility
    Added ability to calculate size of PrestaShop generated thumbnails and delete them
    Improved Sirv Media Viewer asset caching
    Bug fixes and improvements syncing non-product images
    Bug fixes and improvements to Sirv Media Viewer with product combinations
    Fixed issue where logo and favicon didn't sync (PrestaShop 1.7)
    Fixed possible issue with combination images not showing on the product page in admin (PrestaShop 1.7)

  • v4.4.2
    January 15, 2021

    Addressed possible issue with non-using custom domain

  • v4.4.1
    January 14, 2021

    Uses custom domain in all cases, CDN on or off
    Admin page UX refinements
    Addressed possible issue with non-syncing JS/CSS files
    Improved design of Sirv account form

  • v4.4.0
    December 8, 2020

    Easier to use CDN module settings page
    Added HTML report for product images that failed sync
    Image lazy loading activated by default
    Improved custom image sync process
    Better support for PrestaShop versions 1.6.x
    Italian and Spanish translations added

  • v4.3.0
    September 9, 2020

    New option to set max height of viewer.
    New option to set image quality.
    Optimised loading of sirv.js, so choose choose which Sirv JS components load (image zoom, lazy loading, 360 spin, video streaming).
    Improved synchronisation of JS, CSS and other non-image files.
    Fixed issue with wrong deactivation time shown.
    Optimised database queries for lower load.
    Better template parsing when adding Sirv Media Viewer to the product display page.
    Improvements to the account creation form (for new users).
    Added link for easier page cache clearing after settings are changed.
    Added recommendation against media server configuration.

  • v4.2.0
    July 17, 2020

    Updated notification of new addon versions.
    Ability to view changelog.
    Redesigned module settings page.
    Improved synchronisation of CMS and custom images.
    Bug fixes.

  • v4.1.0
    June 15, 2020

    Added field to paste Sirv Media Viewer options.
    Redesigned image synchronization block.
    Added information about why image failed to sync.
    Added ability to download list of failed images in CSV.
    Further optimization of the synchronization process.
    Minor bug fixes to custom images synchronization.

  • v4.0.3
    May 15, 2020

    Bug fixes.

  • v4.0.2
    May 4, 2020

    Addressed possible issue when processing upgrade to 3.0.0 and 3.0.1.
    Improved non-product images synchronization.
    Module settings page update.

  • v4.0.1
    April 23, 2020

    Fixed issue with wrong time calculation when API usage rate limit exceeded.
    Improved JS/CSS files serving.

  • v4.0.0
    April 21, 2020

    Now supports Sirv Media Viewer, for rich image zoom, 360 spin and video on your product details page.
    Automatically replace your product image gallery with Sirv Media Viewer, with no coding.
    Show content from your Sirv account as well as content from PrestaShop on your product details page.
    Improved synchronisation of module and theme images.
    Improved support for multi-language websites.

  • v3.0.1
    December 5, 2019

    Improved CMS images synchronization.
    Bug fixes, improvements and code optimization.
    Settings page and registration form refinements.

  • v3.0.0
    November 12, 2019

    New ability to sync and lazy load images on PrestaShop CMS pages.
    New ability to sync and lazy load category images.
    Descriptive error messages during signup and usage.
    Storage usage is now cached, with ability to refresh stats.
    Added API usage statistics, to see live usage and limits.
    Text refinements.
    Sync button always on display.
    Minor bug fixes and improvements.

  • v2.2.2
    July 29, 2019

    Bug fixes.

  • v2.2.1
    July 19, 2019

    New Sirv CDN support added.
    Fix for missed thumbnails on the product page in admin (PS 1.7.x).
    Added message if 'Disable overrides' option is active.

  • v2.2.0
    May 14, 2019

    Added option to display Sirv images using lazy load and responsive resizing.
    Added option to show images that failed synchronisation.
    Added explanation to describe the Sirv CDN usage and SEO benefits.
    Refined the description of each setting.

  • v2.1.0
    March 29, 2019

    Improved and optimized API usage.
    Improved image CDN full synchronisation algorithm.
    Added Profile option, to add text, watermarks or change image defaults.
    Updated the PrestaShop CDN prefetch/preconnect code, for faster loading.
    Added link for submitting a review of the addon.
    Added support for Fastbay module.
    Refined the option descriptions.

  • v2.0.4
    December 7, 2018

    Added logo and favicon image optimisation and CDN serving.
    Added new option to enable/disable JavaScript & CSS minification.
    New REST API integration, for faster and more efficient API calls.
    Added ability to sync and serve images from Magic Slideshow and Magic Scroll PrestaShop addons.

  • v2.0.3
    December 3, 2018

    Added option for quick activation/disabling of the PrestaShop CDN addon.
    More efficient REST API usage.
    Small bug fixes.

  • v2.0.2
    November 30, 2018

    Updated French translation.

  • v2.0.1
    November 14, 2018

    Fixed incorrect SQL query.
    Added folder options API, to disable spin generation.

  • v2.0.0
    November 13, 2018

    Switched from S3 to REST API, for faster image synchronisation.
    Added ability to serve JS/CSS files from this PrestaShop CDN addon.
    Added auto minify of JS/CSS files, reducing their size for faster loading.

  • v1.0.7
    January 18, 2018

    Bug fixes and optimization.

  • v1.0.5
    August 17, 2017

    Shopping feed compatibility added.

  • v1.0.3
    July 7, 2017

    S3 usage optimization for more efficient PrestaShop CDN syncing.
    Sync images block added with pre-sync button and more statistics.

  • v1.0.2
    June 2, 2017

    French translation added.
    Added cache statistics to check number and storage of synced images.
    Added ability to purge image database.
    Added ability to empty PrestaShop image CDN (images in Sirv account).

  • v1.0.0
    December 29, 2016

    First version.

Support

Sirv experts are ready to help you with any questions. If you have a Sirv account, please use your support contact form. If you don't have an account yet, create an account or send questions via the general enquiries form.

Was this article helpful?

Get help from a Sirv expert