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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
'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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
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
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
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
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.