Search  
   
Browse by Category
 
Netfirms 24/7 Support .: SITE: DESIGN, PUBLISHING & FTP .: A. Web Design Tools .: Netfirms Picture Pro .: How do I prevent unregistered visitors from viewing the enlarged images in my Netfirms Picture Pro gallery?

How do I prevent unregistered visitors from viewing the enlarged images in my Netfirms Picture Pro gallery?

To prevent unregistered visitors from viewing the enlarged images in your Netfirms Picture Pro gallery, please follow these steps:

1. Using an FTP tool (eg. Filezilla), download a copy of ../nfpicturepro/displayimage.php
2. In displayimage.php search for Local functions definition heading
3. Above the Local functions definition section, add the following line of code:

if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);

4. Save the changes and upload the revised file back to the server in ../nfpicturepro/

This document is FAQ539.


How helpful was this article to you?


.: Powered by Lore 1.5.6
Visit Netfirms.com Web Hosting | Copyright © 1998 - 2009 Netfirms, Inc. All Rights Reserved.