FAQ
Frequently Asked Questions
- How do I add albums to the gallery?
- How do I create thumbnails for my images?
- How do I modify the album title, date, and description?
- How do I modify the album icon?
- How do I modify the maximum sizes of created thumbnails?
- Does ThePhig change the images by orientation in the exif data?
- What file types are supported?
- How do I change image titles and tags?
- Why does the thumbnail creation seem to die before completing?
- Why do I receive an error about unknown function imagecreatefromjpeg?
- Can I use a different overlay then the options given?
- How do I add albums to the gallery?
To add an album to the gallery, upload the folder of images to the gallery_images directory. Ensure the directory permissions for the folder are 777 (Read/Write/Execute). Lastly, visit admin.php and select the new album to add to the database and create the thumbnails.
- How do I create thumbnails for my images?
To create the thumbnails, after uploading the new album to the gallery_images directory, just select the new album in admin.php and the thumbnails will be created for you.
- How do I modify the album title, date, and description?
You can modify the album info in the admin.php section of ThePhig. Select the album you’d like to edit and scroll to the bottom of the page. There, you will have the option to edit the album title, description, and date. You can use any info in any of the 3 fields. for instance, if you wanted another line for your description, you use the date field for this.
- How do I modify the album icon?
You have 2 options to changing an album icon.
1.) In the admin.php section, select the album you’d like to modify, and scroll to the very bottom. There, you can choose the image you would like to create the icon from.
2.) If you have your own icon, just upload the icon.png file to the album folder and set the permissions to 755.
- How do I modify the maximum sizes of created thumbnails?
In the admin.php section, choose the “General Administration” link, and set the maximum width/height in pixles (leave off the px).
- Does ThePhig change the images by orientation in the exif data?
ThePhig currently does not support the correcting images based on the orientation in the exif data. This maybe in a future release but is currently not supported.
- What file types are supported?
JPEG and PNG images are currently supported. GIFs are not currently supported.
- How do I change image titles and tags?
Under the album, in the admin.php section of ThePhig, you can click the “View Image Information” link next to the image name and edit both the tags and and image title.
- Why does the thumbnail creation seem to die before completing?
PHP, by default, has a timeout of 30 seconds for php scripts that run too long. To fix this, you will need to modify the “max_execution_time” in the php.ini configuration on your server (usually located in /etc/php5/apache2/php.ini). This is not always an option on all providers so you may need to rerun the script to continue creating the thumbnails. You may have to delete the last thumbnail created before the error as it likely did not complete the creation of the thumbnail.
- Why do I receive an error about unknown function imagecreatefromjpeg?
This error occurs when you do not have the GD library installed for PHP. If you own this host, you can install the php5-gd library to solve this issue (on debian systems, “sudo apt-get install php5-gd”). If you do not have this access on your host, you will need to contact you host and ask them to add this library
- an I use a different overlay then the options given?
Currently, the 3 options given are the only supported overlays but there is a possibility that more will be added or even give the option to add custom overlays yourself.