Skip to content

Sirv for Shopware

By , Head of Sirv StudioUpdated

Open this page in a new chat

Short answer

Upload the Sirv plugin zip in your Shopware 6 admin, activate it and connect your Sirv account. Sync your media, then switch on Sirv CDN. Images are served at the exact size each page needs, as WebP or AVIF, from the global Sirv CDN. The plugin can also add zoom, 360 spins and video with Sirv Media Viewer.

After reading this you will know

  • How to install the Sirv plugin and connect your Sirv account
  • How to sync your media and optimize how it is delivered
  • How to add zoom, 360 spins and videos to product pages
Shopware logo

Speed up your Shopware 6 store with the official Sirv CDN plugin.

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 Shopware CDN plugin for Sirv is easy to install and starts working immediately.

It synchronises your Shopware media to your Sirv account, then resizes and delivers every image at the perfect dimensions, in the optimal image format (WebP or AVIF, depending on the browser).

Typical file size is 40-70% smaller than your original images. They’re served from the nearest of 24 global CDN servers, for very fast load, anywhere in the world.

Your Shopware 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 plugin can also serve your JavaScript, fonts and other static files from the Sirv CDN, and lazy load images.

It can also replace the default product gallery with the Sirv Media Viewer for image zoom, 360 spins, video and 3D models.

The Sirv plugin for Shopware 6 is distributed as a zip file. You can install it through the Shopware administration or copy it to your server manually.

  1. Download the latest version: Sirv Shopware CDN plugin (zip).

  2. In your Shopware admin, go to Extensions > My extensions and click “Upload extension”. Select the shopware-sirv.zip file you downloaded.

  3. Find “Sirv - Image CDN, Optimization and Responsive Images” in the list, click “Install”, then switch the toggle to activate the plugin.

  4. Click the three-dot menu next to the plugin and choose “Configure” to open the Sirv CDN settings.

    The same page is available under Settings > Extensions > Sirv CDN and in the main menu under Content > Sirv CDN.

If extension upload is not available in your admin, or you prefer to deploy files yourself, install the plugin manually:

  1. Download the latest version: Sirv Shopware CDN plugin (zip).

  2. Extract the zip file on your computer. It contains a single folder named SirvCdn with the complete plugin, including the compiled administration and storefront assets, so no build step is required.

  3. Upload the SirvCdn folder by FTP or SFTP to the custom/plugins/ directory of your Shopware installation. The plugin manifest must end up at this path:

    custom/plugins/SirvCdn/composer.json

    Make sure the uploaded files are owned by (or at least readable by) the user your web server runs as.

  4. Connect to your server by SSH, go to your Shopware root directory and run:

    bin/console plugin:refresh
    bin/console plugin:install --activate SirvCdn
    bin/console cache:clear
  5. If you don’t have SSH access, open Extensions > My extensions in the Shopware admin instead. Shopware detects the uploaded folder automatically.

    Click “Install” next to the Sirv plugin, then activate it.

  1. Open the Sirv CDN settings page (Settings > Extensions > Sirv CDN).

  2. On the General tab, click “Connect Sirv Account”. A Sirv login window opens:

    Connect your Sirv account to Shopware
  3. If you’re a new user, create an account. (You’ll start on a free 30 day trial - later you can choose a free/paid plan.) If you’re an existing user, go ahead and enter your Sirv email/password.

  4. Your account is now connected and the plugin has stored its API credentials. Click “Save” in the top right corner.

The General tab looks like this:

  • Enable Sirv CDN - the master switch. When enabled, the URLs of all synced media are rewritten to Sirv.

    Switch it off to return instantly to the original Shopware URLs. Your sync data is kept, so you can switch back on at any time.

  • CDN domain - the domain your assets are served from. By default this is your accountname.sirv.com domain.

    You can add additional subdomains or a custom domain in your Sirv account settings, then select it here.

  • Sales channel - the scope selector at the top of the page. Settings saved for “All Sales Channels” are the default for every channel.

    Pick a specific sales channel to override settings for that channel only.

Go to the Synchronisation tab:

  • Folder path - all synced assets are stored in this folder of your Sirv account, keeping the original Shopware path below it (for example /production/media/0a/8c/image.jpg).

    Use different folders for development, staging and production stores. Changing the folder path clears all sync data, so you will need to sync again afterwards.

  • Auto-sync on upload - automatically sync new assets to Sirv when they are uploaded to Shopware (enabled by default).

  • Delete from Sirv when deleting from Shopware - also remove the file from Sirv when it is deleted from Shopware (enabled by default).

  • Use upload instead of fetch - only needed for local development. By default Sirv fetches your files from their public Shopware URLs, which is faster and works in batches.

    Enable this option if your store is not reachable from the internet.

To copy your existing media to Sirv, click the “Sync Assets to Sirv” button. All unsynced assets are queued and uploaded in the background through the Shopware message queue.

The tab shows the progress (synced, pending, unsynced and failed) and you’ll receive a Shopware notification when the sync has finished.

Failed assets are listed with an error message and can be exported as CSV.

While the administration is open, Shopware’s admin worker processes the queue automatically.

On production stores, Shopware recommends running a dedicated worker (for example bin/console messenger:consume) - see the Shopware message queue documentation.

A full sync can take minutes or hours, depending on how many assets are to be synced. Sirv API limits apply - your current usage and the reset time are shown on the Your Account tab.

The plugin monitors the limits and automatically pauses and resumes the sync when a limit is reached. If you would like a higher limit temporarily, please contact us.

You can also start a sync from the command line with bin/console sirv:sync (see CLI commands).

Once your media is synced and “Enable Sirv CDN” is switched on, your storefront serves product images from Sirv.

Thumbnails are generated on the fly by Sirv at exactly the dimensions Shopware requests, in the best format for each visitor’s browser, so you no longer depend on Shopware’s thumbnail generation.

New images uploaded to Shopware are synced automatically within seconds and served from Sirv as soon as the sync completes.

Until then, the original Shopware URL is used, so nothing ever breaks.

By default, only product images are served from Sirv. Enable “Serve CMS assets” on the Optimisation tab to also serve images used in shopping experiences, categories and other content.

The Optimisation tab controls how images and static files are delivered:

  • Image scaling - serve perfectly scaled images to suit each user’s device, as recommended by Google PageSpeed Insights. The plugin adds a responsive srcset to every Sirv image.
  • Add width/height - add width and height attributes to img tags that lack them, to reduce layout shift.
  • Serve CMS assets - also serve images from shopping experiences and categories via Sirv, not only product images.
  • Automatic Format - choose “Auto” to deliver WebP or AVIF to browsers that support it, “WebP” to always serve WebP, or “Original Format”.
  • Image profile - apply one of your Sirv profiles to every image, for example to add a watermark or text overlay.
  • Image quality - use your Sirv default quality (set in your Default profile) or choose a fixed quality from 60% to 100%.
  • Lazy loading - choose between Sirv JS lazy loading, the browser’s native lazy loading, or disabled.
  • Lazy placeholder - what to display until the perfectly scaled image loads: a low quality image, a blurred image, a grey background, or nothing.
  • Exclude assets - images that should not be lazy loaded, one per line. You can enter full URLs (the domain is stripped) and use * as a wildcard, for example /slider/*.
  • Exclude files/folders - files or folders that should never be served from Sirv, one pattern per line.
  • Exclude pages - pages where all CDN processing is disabled, for example /checkout/*.
  • Serve JS, CSS and static assets - speed up your website by serving static files such as JavaScript, fonts and icons from Sirv’s CDN.

    Sirv fetches each file from your store the first time it is requested, then caches it. Enabling this option configures HTTP fetching in your Sirv account automatically.

  • Minify JS/CSS - minify files to reduce their size by up to 80%. Occasionally a JS file can break after minification, so test your site after enabling.

  • Delete old files - analyse and delete all files in your Sirv folder that were synced by this plugin.

  • Sirv JS features - improve optimisation by serving a smaller Sirv JS file, containing only the features you need.

    Choose from lazy & responsive images, image zoom, 360 spin, hotspots, video streaming, gallery and 3D model. The resulting file size is shown next to the options.

  • Include Sirv JS - add the Sirv JS script only to pages that need it (Detect), to all pages, or to no pages.

  • Custom CSS - add styles to fix any rendering conflicts caused by other CSS. The CSS is added to every storefront page.

The Sirv plugin keeps a database record of all synced assets. On the Synchronisation tab you can clear some or all of these records with the “Empty Cache” button:

  • Failed assets - try this first. It deletes the records of any failed assets, so Sirv can try to copy them again on the next sync.

  • All assets - use this if images are not showing as expected. The next sync will copy every asset again.

    It can resolve images that had a connection problem, were replaced programmatically, or were updated by an import tool.

The Orphaned Assets card lists records of assets that no longer exist in Shopware. Click “Clean up” to remove them.

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

Here’s a live demo:

How to add zoom, 360 spins and videos to Shopware

Section titled “How to add zoom, 360 spins and videos to Shopware”
  1. Go to the Product Gallery tab and switch on “Enable Sirv Media Viewer”. This replaces the default Shopware product gallery with Sirv Media Viewer:

  2. Choose the “Content ordering” - the source for the media to be included in your gallery. This can be Shopware content first, Sirv content first, or only Sirv content.

    Uploading directly to Sirv is popular because it’s fast and easy. Sirv supports all types of media - 360 spins, streaming videos, image zoom and 3D models.

  3. In the “Link Product Assets” card, switch on “Enable linking”. The plugin links files from your Sirv account to Shopware products by product number, without downloading them.

  4. Create a products folder inside your sync folder in your Sirv account. If your Folder path is production, the folder is:

    /production/products/

    Then create a subfolder for each product, named exactly like its product number in Shopware. A product with product number SKU-001 would be:

    /production/products/SKU-001/

    If you left the Folder path empty, use /products/SKU-001/ instead. The exact paths for your store are shown on the Product Gallery tab.

  5. Upload the 360 spins, videos and images for that product, for example:

    /production/products/SKU-001/front.jpg
    /production/products/SKU-001/back.jpg
    /production/products/SKU-001/spin.spin
    /production/products/SKU-001/video.mp4

    For variants, use the variant’s product number as the folder name, for example /production/products/SKU-001.1/red-front.jpg.

    If a variant folder contains assets, they replace the main product gallery for that variant. Otherwise the variant shows the main product’s gallery.

  6. Click “Scan & Link”. The plugin scans the products folder and adds each file to the matching product’s media gallery.

    The linked files appear in the product’s gallery in the Shopware admin, marked with a Sirv badge. You can reorder them, set a cover image or remove them like any other media.

    The tab shows how many files are linked, pending or failed.

    To link new files automatically, set “Sync Trigger” to “Automatic (polling)” and choose a “Polling interval” from 15 minutes to 1 month.

    You can also run a scan from the command line with bin/console sirv:import:scan.

  7. To add YouTube or Vimeo videos to a gallery, open the product in the Shopware admin and find the “Sirv videos” custom field.

    Enter the video URLs separated by commas or new lines. The videos appear in the Sirv Media Viewer alongside the product images.

Done!

The Product Gallery tab offers the most common viewer options. You can set the zoom type (standard, inner, deep or disabled), thumbnail position and gallery or grid layout.

The tab also covers aspect ratio, grid spacing, thumbnail size and maximum height.

You can also pin 360 spins, videos or images matching a file mask to the start or end of the gallery.

For anything else, use our live interactive demo to customise your image zooms, 360 spins and videos with a wide range of options.

Copy the code shown in the “Script” tab and paste it into the “Custom script options” field.

Styles that should only apply to the product gallery go into the “Gallery CSS” field, and “Container CSS classes” adds extra classes to the gallery container for your theme.

Sirv Media Viewer is used when a product gallery contains at least two items. Products with a single image keep the default Shopware gallery, with the image still served from the Sirv CDN.

The Your Account tab shows the connected Sirv account, its domain, plan and user, and your storage used against your allowance.

It also shows the monthly data transfer for the current and previous three months, and your hourly API usage with the time each limit resets:

Click “Disconnect account” to remove the stored credentials and all sync records, for example to connect a different Sirv account.

Do you like Sirv? Write a short review of how Sirv helped your store and receive 1GB extra free storage.

The Feedback tab has the link, plus a link to the Sirv support team for free optimisation advice:

Feedback tab of the Sirv Shopware plugin

Everything on the settings page can also be done from the command line, which is useful for large stores and deployment scripts. Run these from your Shopware root directory:

# Verify credentials and connectivity
bin/console sirv:test
# Push Shopware media to Sirv
bin/console sirv:sync # sync new/changed media
bin/console sirv:sync --force # re-sync everything
bin/console sirv:sync --retry-failed
bin/console sirv:sync --dry-run
# Link Sirv folders to products (reference-only, no download)
bin/console sirv:import:scan # one-off scan of Sirv folders
bin/console sirv:import:poll # incremental scan since last poll

Sync and scan commands queue their work on the Shopware message queue, so make sure a worker is running (bin/console messenger:consume).

To upgrade to the latest version of this Shopware CDN plugin:

  1. Download the latest version (zip).

  2. Extract the zip file to your computer.

  3. Upload the files to your Shopware server (by FTP or SFTP), overwriting the old files in this folder: custom/plugins/SirvCdn/

  4. Run the update from your Shopware root directory:

    bin/console plugin:refresh
    bin/console plugin:update SirvCdn
    bin/console cache:clear

Alternatively, go to Extensions > My extensions in your Shopware admin, click “Upload extension” and select the new zip file.

Shopware replaces the plugin files, then click “Update” next to the Sirv plugin.

This Shopware CDN plugin supports Shopware 6.6 and 6.7 and requires PHP 8.1 or later.

It is an official plugin, built and supported by the team at Sirv, with guaranteed support for all future Shopware versions.

You can download the plugin from the Sirv website.

Why are my images still served from my own domain?

Check three things: "Enable Sirv CDN" is switched on in the General tab, the images show as synced on the Synchronisation tab, and a Shopware message queue worker is running so queued uploads are processed. Images that have not been synced yet keep their original Shopware URL until the sync completes.

Do I need to run a message queue worker?

Yes. The plugin uploads media to Sirv in the background through the Shopware message queue. While the administration is open, Shopware's admin worker processes the queue. For production stores, run a dedicated worker with bin/console messenger:consume, as recommended by Shopware.

How do I switch back to the original Shopware images?

Switch off "Enable Sirv CDN" in the General tab and save. Your storefront immediately uses the original Shopware URLs again. The sync records are kept, so you can switch Sirv back on at any time without syncing again.

Why does the Sirv Media Viewer not appear on a product page?

The viewer requires "Enable Sirv Media Viewer" and "Enable Sirv CDN" to both be switched on, and the product gallery must contain at least two items. Products with a single image use the default Shopware gallery, with the image still served from Sirv.

Can I use different settings for each sales channel?

Yes. Use the sales channel selector at the top of the Sirv CDN settings page. Settings saved for "All Sales Channels" are the default. Select a specific sales channel to override settings for that channel only, while other channels keep inheriting the default.

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.

  • v1.0.0 (May 5, 2026)
    • Initial release.
    • Sirv CDN integration with automatic WebP/AVIF conversion, responsive images and lazy loading.
    • Two-way media sync (Shopware to Sirv and Sirv to Shopware).
    • Sirv Media Viewer integration for product galleries.
    • Static file serving via Sirv HTTP fetching.
    • Admin dashboard with connection testing, sync status and account info.
    • CLI commands for sync and import operations.
Back to top