![]() |
|||||||||||||||||||||||||||||||||||
| Demo - Download - Install - Parameters - FAQ - TODO | |||||||||||||||||||||||||||||||||||
|
Nicolas d'Haussy
Featured by : |
|||||||||||||||||||||||||||||||||||
| Creative mode example using : bolGallery("./creativeDemoImages/", 8, 85, 85) (You could also check http://ndhaussy.free.fr)
|
|||||||||||||||||||||||||||||||||||
Quick
install
![]() |
|||||||||||||||||||||||||||||||||||
ParametersTo work, bolGallery needs at least 4 parameters (in bold). There are also two extra parameters you are not obliged to give (in italic). Those arguments must be given in the right order. bolGallery($referenceImagesDirectory, $tableColumnsNb,
$thumbnailWidth, $thumbnailHeight, $switchClassic);
|
|||||||||||||||||||||||||||||||||||
Frequent Asked QuestionsGeneral questions Why have you scripted bolGallery? For my own pleasure (he must be mad). In fact, I was searching for a simple and powerful gallery script for a while... And there was no relevant scripts online. So I decided to code it myself. I had no particular skills at scripting. Today, I'm glade to share it to you... And Bolga, that's my nickname. How to have a the thumbnails to be reel miniatures of big images? In your bolGallery setup, you can turn on classic mode adding a "1" at the end like bolGallery("./images/", 5, 80, 50, 1); How to prevent many images not to be displayed by bolGallery? All marked images won't be processed by bolGallery. For that, add a "#" at the begging of a image file name (e.g. "#hiddenImage.jpg"). Why is their a file "bolGallery.html" in my FTP? This page is a bake file of bolGallery. It is a HTML page which is updated each time you add or remove an image from your reference image directory. Because it is a simple HTML page it is quicker to load it. It works a bit like permalink of forum or blog scripts. Even though you server lags, many visitors would get your galleries quickly. How to resize reference images? It would be useful to reduce digital camera output thanks to bolGallery. This feature is not available for now but will appear in the next versions of bolGallery. I've an idea or spotted something to improve, should I contact you? Sure ! I'm really willing to provide the better. Problem solving Why thumbnails appearance does not change even though I've modify bolGallery parameters? Once the thumbnails are created they won't be recreated next time for speed reasons. If you want to modify thumbnails features (width and height or even style) you have to delete through FTP the "bolGallery" directory (that contains created thumbnails) which is in the reference images directory. The first time you setup bolGallery you might often do that. The thumbnail images can not be created. Maybe GD library (which creates images) is not installed on your server. Create a *.php file in which you copy : <? phpinfo(INFO_MODULES); ?> Put this file on your FTP and run it with your internet browser. Check if GD table is on the displayed page. Else you can't run bolGallery (even not another PHP gallery system). Sorry, ask you server admin to install GD. Scripting tasks At your own risk How to to have a gap between thumbnails? Edit bolGalleryCreate(). Edit the <TABLE> HTML tag (e.g. change cellspacing to 2). How to have the older image first ? Edit mtime_sort() function. Swap arguments order ($a and $b). I want the images not to be sorted by date, how to? Edit bolGallery(). Delete line from "@usort(". You should remove the mtime_sort() function. How to have bolGallery not to open images in popup windows? Edit bolGalleryCreate(). Remove the Javascript popup function decalration. Delete Javascript syntax in <A> HTML tag from "onClick=". What workflow do you advice for massive use of bolGallery? I would advice you to use one php file containing the variables you use to setup bolGallery. Then include this small configuration file before calling bolGallery() in all your pages. I would also advice to read the FAQ about CSS style. Note that in next versions of bolGallery their may be a kind of permalink system with baked pages. |
|||||||||||||||||||||||||||||||||||
TODOIn the next version... Documentation improvements Have this documentation traduced in french and german. Create a install assistant for beginners. Adding a forum for users to communicate. Script improvements >Provide several directory sorting methods. For now, Bolgallery sorts by date. >Reducing URLs string work in the script. Creative thumbnails creation I will to improve the way the detail focusing thumbnails are created (creative mode). Just to see much details, but not too much. Resize big images automatically It would be just nice to resize digital camera output images. I plan to implement this feature basing it on a bolGallery already existing function : resizeImage() |
|||||||||||||||||||||||||||||||||||