visitors online
download 76105
Custom Search

Very good my dear friend!! I want to thank you from all my heart for you kindness , time , help and just thank you for proving there are nice people in the world!!

Thanks for all your help! Ilan.

I want to say thanks a lot for your help. It was soon and exact.

I am working in my site and it is not still launched . When I do it I want to put a link in it. Thanks again you have a nice and easy understand code.


Hello my name is Jimmy!

I come frome sweden and found your site trough google. I would just like to say that you'r scripts are awsome! Thought you wanted to hear that. Anyway, thank you for the scripts and good luck with new scripts!


Thanks again for the very kool code!


Hi! First of all thank you for providing this very easy to set up script.

Regards - Oliver

One-page gallery

One-page Gallery v.9.0 is powered by ajax and php and show your images with a JPG (JPEG), GIF or PNG extensions.



- CSS compatible with all browsers
- Grab all images with jpg (jpeg), gif or png extensions
- Do all stuff and create thumbs in fly
- Do not use iframe
- Simple change multiple stored images by titles
- Sorting titles by subfolder name or by order
- Simple and easy installation
- Does not need any type of databases
- Free (GNU GENERAL PUBLIC LICENSE - Copyright (C) 2005-2018 Wangchuk Sonam)


1. Extract in your root folder.

2. Copy these two lines in head part of your page:

<script language="JavaScript" src="onepage/scripts/onepage.js" type="text/JavaScript"></script>
<link rel="stylesheet" href="onepage/css/onepage.css" type="text/css" />

If your page is out of root folder it is necessary to change path (src/href definition) to onepage.js and onepage.css

3. Copy this code in body part of your page:

<?php include_once($_SERVER['DOCUMENT_ROOT'] . "/onepage/scripts/onepage.php"); ?>

4. In this step create one or more subfolders in gallery folder. Insert your images in this subfolder(s)

5. Create one title.txt file in any new subfolder(s). Type title in this file.

6. Delete subfolders what is coming in installation pocket.

Before step 7 if you update gallery folder on localhost or on your hosting you will see your images and titles.

7. Now customization. Open onepage_custom.php with some text editor. In second line type how many thumbs you want in the line. In line three type max width and height for thumbs. In line four type max image width and height.

8. The next fifth line is important if you have more then one subfolder with images and if you want to sort them in your way. Otherwise One-page gallery will sort subfolders by their names (not by titles in title.txt). Type here carefully names of your subfolders. First one wills first display and so on. Don't forget double quotes and coma on the end (coma except last one)

9. In sixth line type text what you want to see in front of your titles. Save onepage_custom.php.

10. This last step is little bit tricky but if you change max thumbs or thumbs width/height you need to center it. Open onepage.css in css folder with some text editor. Go to line 32 (width definition for #gall_thumbs) and calculate ($max_thumbs x $thumbs_WH) + ($max_thumbs x 15) for example:
(8x70)+ (8x15) = 560 + 120 = 680
This calculation is approximately and maybe need little bit +/- correction for exact center. For less number off thumbs maybe is better to use 20 instead of 15 for right calculation. And, please don't forgot to write px after number in width definition.

OK, this is all what you need. Of course you can change some other definitions in onepage.css (borders, background color, etc.). If you need you can change arrows (previous/next navigation) in images folder, too.

Need help with installation?

- 10 € offer include installation and basic customization for one page. In installation are not included gallery images or any work on them (resize, rename, etc.). (For order please use Moneybookers donation button)
- 15 € offer include installation, full customization for one page and changing arrow color and arrow background. In installation are not included gallery images or any work on them (resize, rename, etc.). (For order please use Moneybookers donation button)

Any question? Don't hesitate to contact me.


One-page Gallery v.9.0 is packed in file (495Kb)

17965 people have downloaded this script

Like my script? Rate it!

If you like this site and my scripts:
- Support my work with donation
- Rate this script
- Place a link to Phoenix PHP on your website
- Refer Phoenix PHP in one of good Webmaster's forum
- Spread a word about Phoenix PHP

Other scripts:

Butterfly - online visitors counter
Multi Download Counter
Hercules - image, banner rotator

© 2005-2018 Wangchuk Sonam