TITLE:
ACTUAL RESULT:
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:CentOS Linux 7.7.1908 (Core)
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:
Workaround: Replace line 61 of /etc/sw-cp-server/conf.d/plesk.inc with:
STEPS TO REPRODUCE: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)$" {
- Import a custom theme as outlined in Using Custom Themes
- Log in to Plesk as a customer
- Click on "Take the tour" link for the dynamic lists feature
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