- Plesk Sitebuilder for Linux
I have uploaded an image as a site's logo or banner via the Design page in the Sitebuilder Wizard. The image file is uploaded successfully; however, the logo image looks very small and is not transparent.
Is it possible to increase the size of the logo image and save the transparency?
Logo image size is defined in the template used by the site. When uploading an image as a logo, its size is formatted according to the default logo size defined in the template and the image becomes not transparent.
In the configuration file of Plesk Sitebuilder, it is possible to change the resize type of an uploaded logo or of banner images.
Open for editing the Plesk Sitebuilder configuration file. The file is /usr/local/sitebuilder/config on RPM-based systems or /usr/opt/sitebuilder/config on Debian-based systems.
To change the default logo upload behavior, add the following string under the General section. Set keep_asis, error, simple, or keep_aspect_ratio. For example:
logo_resize_type = keep_asis
To change the default banner upload behavior, add the following string under the General section. Set keep_asis, error, simple, or keep_aspect_ratio. For example:
banner_resize_type = keep_asis
Save the file.
For details, refer to Customizing Wizard Behavior upon Logo and Banner Upload .
In order to save the image transparency , it is recommended that you add the resize type keep_asis .