Галерея - вывод картинок из-под директорий
Страницы: 1
[ Закрыто ] Галерея - вывод картинок из-под директорий
Вот сам скрипт. Помогите пожалуйста его поправить для вывода изображений из папки и вложенных в неё под каталогов

Код
 //include the class GALLERY
include("./gallery.cls.php") ;

// initialize the class GALLERY
$gal = new GALLERY() ;

// the folder location to look for images
$folder = "./img/" ;
// the width of the little thumbnails
$width = 150 ;
// the height of the little thumbnails
$height = 100 ;
// the max width of the displayed picture
$maxwidth = 1024 ;
// the max height of the display picture
$maxheight = 768 ;
// verbose mode
$verbose = "1234" ;
// select the size of the boder of the gallery
// set to 0 = no border
$border_size = 1 ;
//select the color of the border of the gallery
$border_color = "black" ;
// style of the gallery
$bd = "style='border: ".$border_size."px solid ".$border_color.";'" ;

// lunch the gallery
// 1 : param = folder where to find the images
// 2 : param = width of the gallery
// 3 : param = nbr thumbnails images per page
// 4 : param = nbr thumbnails images per line
// 5 : param = width of the thumbnail pictures
// 6 : param = height of the thumbnail pictures
// 7 : param = max width of the picture to display
// 8 : param = max height of the picture to display
// 9 : param = verbose mode
// to use it just insert the number you want...
// example : if I want the name and the file size so I set "13"
// example : if I just want the name I just put "1"
// example : if I want the name, the name of the folder and the file size I put "123"
// example : if I want the name, the folder and the name again I put "121"
//     0 = no verbose mode
//     1 = display name
//     2 = display the name of the folder
//     3 = display the file size in Ko
//     4 = display the width and the height of the file
// 10 : param = display the border of the gallery or not
// warning that the thumbnails image are $width pix long
// so the param number 4 should be less or equal than param 2 / $width
$gal->InitGallery($folder, 600, 25, 5, $width, $height, $maxwidth, $maxheight, $verbose, $bd);
Изменено: Влад - 11 Июля 2015 23:05
где сам скрипт ?
Цитата
Александр Гаврилов пишет:
где сам скрипт ?
Прошу прощения , изменил первый пост
Вопрос решен. Тему можно закрывать
Цитата
Влад пишет:
Вопрос решен. Тему можно закрывать

Влад, спасибо, что отписались в теме и скинули в ЛС.
Тему закрыл.

* обращение к пользователям - > если Ваша тема потеряла свою актуальность, то, пожалуйста, отпишитесь об этом в теме и скиньте ссылку на тему мне в ЛС.
Страницы: 1
Похожие темы:
Читают тему (гостей: 1, пользователей: 0, из них скрытых: 0)
Новые темыОбъявленияСвободное общение
18:44 LOSPOLLOS.COM - Конвертим по рецепту Хайзенберга. Dating, Mainstream, Binary Options 
13:12 Покупные ссылки 
12:57 Rotapost прикрыли! Чем пользоваться? 
17:00 Стоит ли добавлять сайт в Rambler топ 100? 
15:12 Ночной бар в Паттайе: как случайная встреча с "тайкой" и её кадыком перевернула мой взгляд на продвижение сайта в Google 2026 
15:01 Webvork - международная товарная СРА сеть с сертифицированными офферами на Европу. 
07:24 3snet - гемблинг, беттинг, форекс, бинарные опционы, майнинг 
20:07 BestX24 - быстрый и безопасный обменник криптовалют и электронных денежных средств 
16:31 CryptoGraph — Анонимный обмен криптовалют без KYC и AML 
15:37 Продажа лидов: форекс, инвестиции, нативка, гемблинг, чарджбеки 
14:49 Рассылки СМС/SMS, Вайбер/Viber, Ватсап/Whatsapp, Телеграм/Telegram любой тематики по всему миру 
01:31 Продам обменник криптовалюты, а также новый обменник под ключ с обучением. Скидки на скрипты обменника 
01:07 Full-Stack Developer — Сайты и Софт любой сложности | Developer Websites and Soft of any Complexity! 
20:42 E-currency.exchange — ваш помощник в мире обменов 
18:35 С юмором по жизни! 
22:59 Про мясо 
15:07 Добро пожаловать в цифровой мир... 
22:12 BYTIK.shop – сервис по продвижению в популярных социальных сетях​ 
10:10 накрутка трафика в SimilarWeb 
16:50 Компьютерная мышь 
23:03 Точные прогнозы на футбол