Univention Bugzilla – Bug 44070
Portal does not show .png files as logos for entries
Last modified: 2017-04-04 18:28:27 CEST
Created attachment 8639 [details] Placeholder images when PNG images should be used App audriga: ucr set ucs/web/overview/entries/service/audriga-groupware-migration/icon='/icon/50x50/groupware-migration-icon.png' This (together with a group of other UCRVs like /link) creates a settings/portal_entry. The logo is saved as /usr/share/univention-portal/icons/entries/audriga-groupware-migration.png The source file is /var/www/icon/50x50/groupware-migration-icon.png Both files exist. Yet, the portal refuses to show it. It only shows SVG images. Otherwise a placeholder is shown.
Brought up by an App Provider
Created attachment 8718 [details] Screenshot with different image types working :) Its working... see the commit... I just have trouble connecting via VPN ATM.
Created attachment 8719 [details] Detect GIF magic number
Created attachment 8720 [details] Fix representation of other image types than SVG
Fixed. PNG, JPEG, GIF and SVG images can now be uploaded. The Image widget recongizes these formats via their magic number. univention-portal (1.0.11-3): r78525 | Bug #44070: Fix representation of other image types than SVG univention-web (1.0.42-7): r78524 | Bug #44070: Recognize GIF as image type changelog-4.2-0.xml: r78526 | Bug #44070: Add bug number to changelog entry
Excellent. I had a caching problem but now it works.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".