• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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