Menu

Install Problem

Help
Allan
2007-11-23
2013-04-26
  • Allan

    Allan - 2007-11-23

    Hi,

    I have managed to install the program and it is running without images.  When I drop an image into the photo directory, it produces this error:

    Fatal error: Call to undefined function imagecreatefrompng() in C:\server\www\acer\public_html\picgal\myPh3.core.php on line 96

    I think I have installed the PHP module correctly by unchecking the GD section at the bottom, although I do not known if I need to get extra modules downloaded?

    Thanks!

     
    • Eric Kok

      Eric Kok - 2007-11-24

      Hi!

      GD is not set up correctly. You can read more about this at http://php.net/gd

      If you have a WIndows system, you need the php_gd2.dll file and enable it in the php.ini (like you said you did). Don't forget to restart your webserver! If you want to know if GD is enabled, make a test file called info.php with the contents:
      <?php php_info(); ?>
      Open this page on your server and it should output PHP info, including (if it is enabled) a section with GD information.

      Success, Eric

       
      • Allan

        Allan - 2007-11-25

        Excellent!  Thanks for your speedy response and clear instruction - I now have it working!

        One more thing I would be interested in is how to limit the number of pictures per page and possibly split photos into different albums (ie - London/Paris/New York, etc)

        Is there any easy way of doing this?

        Thanks

         
        • Eric Kok

          Eric Kok - 2007-11-26

          Hi!

          'armag' is right. There is no build-in functionality to restrict the number of photos per page (like a lot of websites have) and then browse by page number. Of course you might consider building this yourself if you know php...

          Workaround, as suggested, is indeed to put your photos in multiple folders.

          Gr, Eric

           
    • ArmaGinfo

      ArmaGinfo - 2007-11-26

      If you'd like to do like in demo - you should just put London photos to Londor folder, Paris's to Paris, etc. That's it. AFAIK, there is no mean to limit thumbs quantity per page, but you may decrease thumbnail size in configuration file. That's it.

       

Log in to post a comment.