Phonora Photo Gallery
Fix for Phonora Photo Gallery Deprecated: Function ereg_replace() is deprecated in mainpage.php(1) : eval()'d code(1) : eval()'d code on line 1
This error occurs when you upgrade your PHP version to 5.3 or above.
Parallel Exchange has released a new version of Phonora Photo Gallery. The v2.2 replaced all the deprecated functions. You can download a fresh copy of v2.2 or upgrade your existing installation to v2.2 from the following link
Admins can choose where to have no slideshow, Lightbox or a Popup Slideshow for their gallery.
- Login to the Phonora Admin Panel.
- Click on Layout tab in the Primary Menu.
- Click Slideshow link in the Secondary Menu.
- Choose the type of desired slideshow from Select Slideshow dropdown menu.
- Click Save.
Admins can specify a default photo for a category which will show in category list thumbnails. Otherwise a random image from the category will be chosen to display as the category image.
Search box can be added to a webpage by simple including the searchbox.php file to your php webpage.
<? include('photogallery/searchbox.php'); ?>
Photo Gallery Admins may display as many photo thumbnails in the Gallery Layout on a web page as desired. Admins may display 5 photos per row and 5 rows per pages or 2 photos per row and 3 rows per page. The following steps describe how to edit the number of photos to display on a page:
Insert the following code to your page, initiatize to the Category ID of the desired category
Every server has an upper size limit to upload photos via php. Usually it is 2MB. To raise this limit, you must edit the following values in your /php.ini file for PHP4 or /php5.ini file for PHP5:
memory_limit = 50M
post_max_size = 10M
file_uploads = On
upload_max_filesize = 10M
The above settings change your PHP upload limit, allowing you to upload files up to 10MB in size.
The maximum upload value that can be specified for upload_max_size and post_max_size is 192M.