PHP Tutorial: Automatic Image Gallery [part 01]

preview_player
Показать описание

In this video I code the main part of the script, and make a start on the thumbnail generation code.
Рекомендации по теме
Комментарии
Автор

Great tutorial but I ran into the same problem as other people. Is it possible also to find out what the .htaccess fumble was so that I can create a thumbs folder? Do you have a specific place to look?

iStreamflix
Автор

@EcazS no problem :D I always do part 00 as a demo.

betterphp
Автор

Thanks for this tutorial. I'm stick making this work with my existing website. I have a top level directory with my index.php, gallery.php, etc. Then I have a images folder and a thumbs folder within that. I don't want to put the gallery.php file in the images folder, but it won't work unless I do that. How do I modify your code to do this?

MrChibakun
Автор

@deliled thats what its there for ;) I will do my best.

betterphp
Автор

how to use the glob if i use pictures inside gallery? gallery is inside image_gallery folder and inside gallery are the pics because the glob function also return the gallery folder

demon
Автор

Unable to get the pagination to work and I cannot find your htaccess file anywhere, can you supply this?. Other than that, good tutorial!

davemelia
Автор

@deliled I made a .htaccess fumble, go there now and it will all be fine ;)

betterphp
Автор

my index doesn't create thumbs folder. o.O

assaulterpt
Автор

@kandelvijaya There is a link on my channel page.

betterphp
Автор

I got it all done and got a
Notice: Undefined variable: images in on line 85
Warning: Invalid argument supplied for foreach() in on line 85
---which is foreach ($images as $image){

:( :(

I will keep tooling with it and try to fix it.

Thats for the tutorial.
 

djskuld
visit shbcf.ru