Thank you. I looked around at other places online to do this exact thing and everyone had a different way to do it, but yours actually worked. Thanks again.
Great tutorial, Really helpful. The intro tho (was shocked). Please do you have an idea of displaying images from a folder which have their links in the database? I would appreciate that. Thanks in anticipation.
Great tutorial! I have one question though, how do you display images from different directory all at once, instead of just retrieving images from a single directory every single time?
Thank you! Worked perfectly. I have a question: How can i add to this the filter so it will detect only images type of file and not other file or folder. Thanks!
Hi, very nice and it works perfectly. Im now listing all my thumbtails but i want to have a link on each img and when i click the big picture show from other folder! Can you please give some tips on how to do this!
I want to have users upload images and then I want those images that were just uploaded appear on a separate page. Basically, I want to build a classified site, like craigslist. How can I do this. Any help would be great
42 responses to “Display Images from Directory in PHP Tutorial [English]”
I was shocked at the intro! Hahaha. By the way, nice tutorial 😀
Hi can I ask how can I just display 3 image at a time?
Hi i really like your video..i just want to ask how to loop images of bootstrap carousel using this php code.?
how to display only 1 image in 1 folder if there many pic ?
ty man
THNX!! you helpt me with this 😀
super ggg.
nicely explained
Thank you. I looked around at other places online to do this exact thing and everyone had a different way to do it, but yours actually worked. Thanks again.
I like your voice. Pundek
Please speak a little bit louder….-_-
sir i want show only one image with date wise in page1.html
thanks for the clear instructions. i couldn't get the path to the image with the code above, but got it with
echo '<img src="'.$dir.$file.'"><br>';
Nice meme, dude! XDD
Images r not showing why
Thanks for sharing!
Thak you very very much…
i am not really familiar with php code but constructions like if (var1 = var2) looks really weird
Is it possible to style these images once they are uploaded? i want them to be a specific height and width, and to be slightly apart from each other.
Been looking for this video all day. Was getting so frustrated over something so easy. Thanks for the video!
Great tutorial, Really helpful. The intro tho (was shocked).
Please do you have an idea of displaying images from a folder which have their links in the database? I would appreciate that. Thanks in anticipation.
Great tutorial! I have one question though, how do you display images from different directory all at once, instead of just retrieving images from a single directory every single time?
Fantastic!! Simple, clean and direct!!
awesome tutorial
we need something that will resize our images and place inside a conatiner like here http://imprint-ink.tk/MarkGalary.php
dubbing u sure u dont mean dubai ha ha
Awesome tutorial 🙂 This was the only video I could find that helped me today. Thank you!
how can I pass the image as a json data object
what do i do if i want a display one particular image using this code ?
please help me..
its urgent
Thank you! Worked perfectly. I have a question: How can i add to this the filter so it will detect only images type of file and not other file or folder. Thanks!
Hi, very nice and it works perfectly. Im now listing all my thumbtails but i want to have a link on each img and when i click the big picture show from other folder! Can you please give some tips on how to do this!
Nice tutorial. As I am trying to move on from Dreamweaver, This tut helped me a lot. Thanks.
Thanks, this really helped out.
How can we display ONE IMAGE from directory ? Not all of them.
Is it possible to have a loop that shows the images within a command line PHP program?
Many thanks. I feel useful again.
may i know how to display the images horizontally?
Nice tutorial.
Parse error: syntax error, unexpected 'echo' (T_ECHO)
I want to have users upload images and then I want those images that were just uploaded appear on a separate page. Basically, I want to build a classified site, like craigslist. How can I do this. Any help would be great
I was shocked on the intro! Haha
nice one! it helped thanks