We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27586
    • 31 Posts
    hi everybody,

    when i am uploading an image through MaxiGallery the following happens:

    Fatal error: Call to undefined function: imagecreatefromjpeg() in /daten/webshare/orthoinfo-cms/htdocs/assets/snippets/maxigallery/watermark/Thumbnail.class.php on line 183

    i looked through 2 threads in this forum without success.

    by the way ... zlib 1.2.3, libpng 1.2.8, libjpeg v6b, FreeType 2.1.10, and GD 2.0.33 are installed.

    yours,
    marco
    • Definitely sounds like a problem with your GD install. Are you sure it’s working right?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 27586
        • 31 Posts
        php configure command: ./configure’ ’--with-mysql=/usr’ ’--with-gd’ ’--with-apxs’ ’--with-xml’ ’--enable-exif’ ’--enable-ftp’ ’--enable-mbstring’ ’--enable-mbregex’ ’--enable-dbx’ ’--enable-sockets’ ’--with-zlib’

        GD Support enabled
        GD Version bundled (2.0.28 compatible)
        GIF Read Support enabled
        GIF Create Support enabled
        PNG Support enabled
        WBMP Support enabled
        XBM Support enabled

        mmmhhh ... am i right that JPEG SUupport is missing here?! what happend to jpeg support? any ideas? smiley

        checking if PNG will work.

        /M
          • 27586
          • 31 Posts
          problem solved - its working now!

          i forgot to set "--with-jpeg-dir=/usr/local" as option in php-configuration.

          /M
          • This is when compiling PHP for your own server.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org