Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-417

Image upload not working properly

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 1.4.5
    • Frontend (F)
    • None
    • Centos 4.5, zabbix 1.4.6, postgres 8.2.x
      browser: tried both firefox 3 and safari

      When trying to create a new image (icon for map), I get the following error when trying to display the image (i.e. it uploads ok, but does not display properly):

      (main text of the image, html not included)
      imagecreatefromstring() :Data is not in a recognized format [image.php:58]
      imagepng(): supplied argument is not a valid Image resource [/include/config.inc.php:1683]
      imagedestroy(): supplied argument is not a valid Image resource [/include/config.inc.php:1683]

      To reproduce:
      Go to general, images. Click on one of the icons to display, right click, save as.
      Go back, click create new image, give it a name, and upload the png file you just downloaded. Should see these errors, at least with a postgres backend.

            Unassigned Unassigned
            stevier5000 Steve Ruiz
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: