We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2623
    • 34 Posts
    Hey guys, I’m stuck with MG and really desperate for some help. sad

    I’ve downloaded MG from the repository and installed version 052. As far as I can tell, the snippet is functional, but it wont display the manage images button in FF3. In IE7 it just shows the red X, for a missing image.

    this is MGs path, mod is for MODx root:
    /public_html/mod/assets/snippets/maxigallery/
      • 2623
      • 34 Posts

      Hey guys, I’m stuck with MG and really desperate for some help. sad

      Quote from: Babaloo at Apr 02, 2009, 08:56 AM

      MODx encountered the following error while attempting to parse the requested resource:
      « PHP Parse Error »

      PHP error debug
      Error: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions
      Error type/ Nr.: Warning - 2
      File: /home/joaomigu/public_html/mod/assets/snippets/maxigallery/watermark/Thumbnail.class.php
      Line: 359
      Line 359 source: $this->img["des"] = ImageCreateTrueColor($X_des,$Y_des);

      MG uploads the first image from my batch upload but aborts on thumbnail class...

      Any hints or tips?
        • 7231
        • 4,205 Posts
        Could it be an issue with file size limits? I had a MG installation that would fail and it turned out to be that the file was too large but I don;t remember getting this error message.
          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]
          • 7923
          • 4,213 Posts
          Have you tried to upload other images to see if there’s something wrong with the original image file?

          For the missing manage buttons, see this http://modxcms.com/forums/index.php/topic,25338.0.html


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."