Four completely finished script in PHP, which you just need to add to your page. Due to the description, scripts are simple, easy and understandable.
- 1st script displays all the pictures (images) from a folder one after the other on the html page.
- 2nd script displays a random image (image) from a folder on the html page. The picture changes every time the page is reloaded.
- 3rd script displays some random pictures (images) from a folder on the html page. Images change every time the page is reloaded.
- 4th script displays all the pictures as thumbnails (previews) and creates a link to view large images. Large images open in a new window.
- Scripts output file name of the picture.
- Scripts themselves will read all the files, so the image can be simply added to the folder or delete them from it.
+++ +++ BONUS
You´ll get a script that adds the picture any of your inscription. To begin its work, simply add one line of code a couple of files and offered to the script (except for the 4th).
This script is optional, but you get it for FREE !!!
========== The scripts allow you to set ==========
- Folder with original big picture.
- Folder with reduced picture (preview).
- The number of randomly displayed images.
========== Requirements: ==========
- PHP.
- Folders with big and small picture
========== Not required: ==========
- MySQL - database.
- Javascript.
========== ========== Browser Easy
Even a little familiar with the language of PHP people can understand and modify scripts for yourself, because each line of code has its own description.
========== ========== Help for scripts
Attached to the script a little help-instruction description used PHP functions and language constructs PHP:
foreach
scandir ()
unset ()
array_rand ()
========== ========== License
Do not:
1.Pereprodazha data sotny.ru PHP scripts and other resources.
2.Publichnaya publication of the code scripts.
3.Prisvoenie authorship.
Permission is granted to:
Install script for an unlimited number of its sites, edit and modify the code.
29.12.2015 19:58:56
good!
17.01.2015 22:58:32
Нормальный, рабочий скрипт