• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs Webp images are not displayed in dynamic list view tour when using custom theme

Monty

Silver Pleskian
Plesk Guru
TITLE:
Webp images are not displayed in dynamic list view tour when using custom theme
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Obsidian Version 18.0.21 Update #5
CentOS Linux 7.7.1908 (Core)‬
PROBLEM DESCRIPTION:
Related to: Import of custom theme results in warnings

When using a custom theme and you log in as a customer, you'll be presented with the tour through the new "dynamic list view" feature of Plesk Obsidian.

Clicking on the "Take the tour" link will result in broken images (404 not found).

Problem 1: The webp images used for the tour are not imported when you import a custom theme, see Import of custom theme results in warnings

Problem 2: If you manually copy the 4 webp images to /usr/local/psa/admin/htdocs/theme-skins/<theme-name>/plesk/views/smb/web/view/images/ the images are still not displayed but this time with a "403 forbidden" error.
This is due to the config of sw-cp-server not allowing .webp files:

Line 61 of /etc/sw-cp-server/conf.d/plesk.inc:
Code:
 location ~ "\.(css|gif|png|jpg|jpeg|svg|xml|woff|woff2)$" {

Workaround: Replace line 61 of /etc/sw-cp-server/conf.d/plesk.inc with:
Code:
location ~ "\.(css|gif|png|jpg|jpeg|svg|xml|woff|woff2|webp)$" {
STEPS TO REPRODUCE:
  1. Import a custom theme as outlined in Using Custom Themes
  2. Log in to Plesk as a customer
  3. Click on "Take the tour" link for the dynamic lists feature
ACTUAL RESULT:
Images in the tutorial are not loaded (Problem 1: 404 error, Problem 2: 403 error)​
EXPECTED RESULT:
Images should be displayed​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Currently, Plesk PHP packages are compiled without WebP support.
WebP support is planned to be implemented in one of future Plesk Obsidian updates. Updated PHP builds will be available in Plesk Onyx as well.
 
Thank you. The feature request has been created: PPP-46990
 
Back
Top