displaying images from a folder |
[eluser]learning_php[/eluser]
Hi, I have created a file upload that puts the images into a folder but I am unsure how to get the images into an array and display them in rows. Code: <?PHP
[eluser]TheFuzzy0ne[/eluser]
Is the more than one image? If so, we will probably need to see your implementation before we can make suggestions.
[eluser]learning_php[/eluser]
Hi, Yes there will be more than one file, my idea is that users can upload images into the folder then the thumbnails that get created also in the folder would be diplayed in rows and link to the full sized image also saved in the same folder? Sorry i am not sure what you mean by implementation? Thanks
[eluser]Yorick Peterse[/eluser]
I had a function written for a gallery which would display all images in folder x, the function itself is pretty clumsy and could have been done way better, but it might be helpful. Code: function Category() { In this case the "scandir()" function is the most important function: http://nl2.php.net/scandir |
Welcome Guest, Not a member yet? Register Sign In |