Resman says hi.

Trivial Gallery

Je pense que c'est le cas de pas mal de monde, au cours de mes multiples errements sur le net j'ai amassé une quantité impressionnante d'images plus ou moins stupides. La quantité devenait difficile à gérer et donc j'ai décidé de faire une petite galerie en php pour pourvoir les visualiser plus facilement.

J'ai baptisé ce code trivial gallery car c'est difficle je pense de faire plus simple :-) Vous pouvez voir un exemple de la galerie en action ici (lien mort jusqu'a ce que je trouve un emplacement adapté).

Téléchargement

Installation

C'est on ne peut plus simple, copiez les deux fichiers à l'endroit voulu, puis incluez les dans votre page php :

Si vous utilisez la version 0.1 il faudra supprimer la ligne "buildGallery();" et préciser l'endroit où sont les images par la variable $base. Si vous ne précisez rien, le script cherchera dans le répertoire où il est installé. Le nombre de colonnes et d'images par page sont paramétrables dans gallery.php par $ppp et $columns.

Il suffit de copier ensuite les images et dossiers dans ce répertoire.

Les formats d'image reconnus sont jpg, gif, et png. Les miniatures sont générées automatiquement a la première demande, et sauvegardées pour les fois suivantes. Dans pic.php vous pouvez modifier la taille des miniatures en changeant les variables $size_x et $size_y.

Le répertoire où sont stockées les images doit être autorisé en écriture pour l'user sous lequel s'exécute le script ('apache' ou 'nobody' si vous utilisez mod_php, le propriétaire du fichier si vous utilisez le mode CGI).


Comments

Comment left by tazama on 2020-09-12 14:32:17 :
Are you a traveller and would like to visit Morocco? Then, your trip is sure to be hitch-free when you travel through a reliable morocco travel agenct . Explore Morocco trips, and discover the best time and places to visit. Morocco is a country with a mixture of old world charm and a modern Muslim atmosphere. It is a country with a conglomeratofvarious cultures, including African, Berber, British, French, and Spanish. marrakech travel agency Variety of best things to do and see is adverse when you have a trip to Morocco, with a recommended travel Agency in Morocco, like Top Morocco Travel. 3 days marrakech to fes desert tour .
Comment left by Tinojems on 2020-08-22 13:58:04 :
Tile Visualizer
Tiles Visualizer
Comment left by Tinojems on 2020-08-22 13:56:12 :
Tile Visualizer
Tiles Visualizer
Comment left by Mariam Groen on 2020-08-13 00:44:23 :
hi, Your post is very helpful for me, finally i found exactly what i want , If you want to know more about antivirus then you can visit our site Kaspersky technische ondersteuning for help.
Comment left by Lily Loo on 2020-08-12 23:44:28 :
hi, Your post is very helpful for me,finally i got exactly what I want. If you want to know more about antivirus then you can visit our site Bitdefender contacteren help.
Comment left by Maysa Lang on 2020-08-12 22:33:48 :
hi, Your post is very helpful for me, If you want to know more about antivirus then you can visit our site Canon Printer belgie contacteren for help.
Comment left by Tosca Klasen on 2020-08-12 21:26:28 :
hi, your post is very helpful for me. Finally, I found exactly what i want. If need information regarding printers then you can visit our site Xerox Printer klantenservice nummer belgie for help.
Comment left by Rowan Baartman on 2020-08-11 15:35:28 :
Hi this post is very nice.finally i got all those information what i really wanted to know. thankyou for sharing this usefull information.here i want to share the information about mcafee security. as we all have been digitalied and we do multiple works together so if you face any problem or need any assist about MCAFEE so pleae visit over this site-mcafee Antivirus technische ondersteuning
Comment left by Milla Roose on 2020-08-11 15:20:41 :
Hi thankyou for this great helpful information.this information is really useful at today's time.you had easily explained whole information in a short note.now i want to share some information about avast antivirus.So if you are facing any problem regarding Avast so you can simply visit on our site-avast technische ondersteuning
Comment left by Lima Wilmink on 2020-08-11 15:12:05 :
Hi your post is really appreciatable.I really thankful for this post .here i would llike to share some information about HP Printer.We can resolve the smallest problem on same time If you are facing any problem relate to your HP Printer's so this is the right place to get smallest information about HP PRINTER for the further information please visit on our website- hp printer technische ondersteuning
Comment left by Fien Wieten on 2020-08-11 10:52:17 :
Hi your post is very nice and i am greatful to you for sharing this post with us.here i want to share some information about Norton Antivirus.As we all know how much Norton Antivirus is usefull for our laptops and mobiles.so whenever you have any query regarding Norton or need any assistance how to run or any information that time please visit over this site-norton Antivirus technische ondersteuning
Comment left by Kobe on 2020-08-11 10:22:45 :
trivial code gallery because it is difficult I think to make it simpler :-) You can see an example of the gallery in action here (link dead until I find a suitable location). Cincinnati Commercial Real Estate
Comment left by Marcelo on 2020-07-23 16:07:25 :
Très intéressant.
Pour en connaître plus surélagage, visitez-nous!
Comment left by Willeke Roes on 2020-07-07 18:49:31 :
That’s a nice article, thank you for a great article. It helped me a lot. Keep it up Must Visit Trend Micro ondersteuning
Comment left by Rianne Knox on 2020-03-31 10:27:59 :
Very interesting info!Perfect just what I was searching for! tulsaareafencing.com
Comment left by Sister on 2020-03-29 17:58:09 :
Je crois que le 09/03/2020, c'était la dernière fois que je prenais du carburant en microjupe.
Comment left anonymously on 2020-03-24 09:46:34 :
This is awesome. Thanks for sharing this one. I did learn something, will try this later. You should download Subway Surfers online game
Comment left by Hely Wink on 2020-02-14 10:14:31 :
Have you tried dragon ball z dokkan battle pc?
Add a new comment :
Name :
Comment :

Answer the following question : Which is the biggest, five or seven ?