Галерея - вывод картинок из-под директорий
Страницы: 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)
Новые темыОбъявленияСвободное общение
15:19 Refmate — сервис для взаимного обмена ссылками 
13:06 Продвижение по ключам 
09:47 Adsense личный опыт 
13:13 LOSPOLLOS.COM - Конвертим по рецепту Хайзенберга. Dating, Mainstream, Binary Options 
13:47 Webvork - международная товарная СРА сеть с сертифицированными офферами на Европу. 
08:27 Ищу специалистов 
08:18 Прибыль 200$ - 400$, за каждую 1000 уников! Google, FB и тд 
18:48 Продажа аккаунтов HH.RU 
17:38 swapsfera.com 
17:30 GoodsMoney.io 
16:25 JustProxy.Biz - Резидентные прокси без ограничения по трафику 
14:43 Рассылки СМС/SMS, Вайбер/Viber, Ватсап/Whatsapp, Телеграм/Telegram любой тематики по всему миру 
14:18 PonyBit.ru - обменный пункт PonyBit.ru (Понибит.ру) 
13:41 SiteAnalyzer SEO Tools - бесплатное браузерное расширение для Chrome & Firefox 
17:46 Всего п онемногу 
12:45 Куплю проигрышные букмекерские аккаунты 
11:55 Union Pharm - топовая фарма-партнерка для профессионалов! 
17:09 Точные прогнозы на футбол 
10:00 Ну что, кто куда деваете свои сайты? 
16:22 Компьютерная мышь 
23:55 Добро пожаловать в цифровой мир...