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

Image upload not working properly

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.5
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Labels:
      None
    • Environment:
      Centos 4.5, zabbix 1.4.6, postgres 8.2.x
      browser: tried both firefox 3 and safari

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: