Important alert: (current site time 7/15/2013 10:54:59 AM EDT)
 

winzip icon

Anphin Image Gallery v1.0.5

Email
Submitted on: 1/21/2006 6:35:06 PM
By: tier lieder  
Level: Advanced
User Rating: By 11 Users
Compatibility: PHP 4.0
Views: 19553
author picture
(About the author)
 
     The purpose of the Image Gallery is to allow webmasters to easily and quickly maintain potentially large archives of images of any kind. There is no need to be concerned of outdated data in the database or dozens of links breaking because you changed the name of a directory. All links are generated on the fly with the results of reading /galleries/ directory relative to the gallery.php file and gallery names are derived from the directories there. It has a config file where many elements of the script can be modified to meet different sites needs. A running example of this script is at http://www.anphin.com/screens/gallery.php A brief list of features: * Divides galleries into pages based on config directives. You determine the number of images displayed per row and the number of images displayed per page. * Can open images in new window. Or not, depending on a config setting. * Can override thumbnail sizes to values specified in config file. * Template-based, completely customizable interface. If you think my script merits it, please vote for me. *Note: I have updated the zip file on here to image gallery 1.0.5 but I don't habitually do this. To get the latest version go to www.anphin.com.

 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
// for :Anphin Image Gallery v1.0.5
//**************************************
Copyright © 2003 Darrel Grant, Anphin Development
This script may be freely used and distributed so long as the copyright remains intact and continues to say "Darrel Grant."
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 2 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
12/19/2003 8:44:14 AMPatabugen-

I cant work out how to get this to work.. please email me if you can!
thanks
(If this comment was disrespectful, please report it.)

 
12/19/2003 8:49:02 AMPatabugen-

Oh nvm its working. You dont mention that you must have ?gallery= on the end of the url for it to work. Works great! Thanks
(If this comment was disrespectful, please report it.)

 
1/7/2004 6:29:18 PMPatabugen-

The pagination dosnt acutually work for this.. if you click on an image on say page 2 it gives you the image in the same position on page one... anyone know how to fix this?
(If this comment was disrespectful, please report it.)

 
1/13/2004 3:34:55 AMtier lieder

There is an update version on my site; www.anphin.com. The update corrects the pagination bug as well as adds support for putting subdirectories in your galleries to create sub galleries and adds Next/Previous links to the image display. Btw don't expect support by posting here, it was a fluke I even saw this at all. If you use the contact form on my site or its forums I will answer questions regarding use and bugs. Thus far, there are no known bugs in version 1.0.1.
(If this comment was disrespectful, please report it.)

 
3/23/2004 12:58:22 PMRodMud

good stuff :) I like it, its a good code for training:)
(If this comment was disrespectful, please report it.)

 
6/9/2004 5:40:07 PM

I think this is a great bit of code. Very flexible.
(If this comment was disrespectful, please report it.)

 
7/13/2004 2:07:35 PM

i am unable to download the newest version of the image gallery code and am also wondering if i would have to change any part of the stuff i have right now (http://geru.shorecellular.net)
(If this comment was disrespectful, please report it.)

 
12/31/2004 11:37:38 AMInSp3KtaH

the thumbs dont work but for the rest it works, but if you don't know about the ?gallery=folder_in_galleries it doesnt. But anyway the idea is good and it kinda works so nice job
(If this comment was disrespectful, please report it.)

 
12/1/2005 9:23:44 PMhuhu

wokei...nice 4 beginer
(If this comment was disrespectful, please report it.)

 
1/5/2006 9:24:01 AMquadoc

I can't get this to work. It keep saying No galleries found. And what is this about "?gallery=", where do I set that?
(If this comment was disrespectful, please report it.)

 
6/7/2007 2:01:14 PMsonny

thanks 4 the code man. it really help me.
5 starr for you
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.