I just feel like you should see it since you helped me.
Search found 3 matches
- Fri May 14, 2010 6:41 pm
- Forum: PHP - Code
- Topic: Displaying images in order of their name?
- Replies: 5
- Views: 489
Re: Displaying images in order of their name?
By the way, the site is here, if you care: http://zackhenningsgaard.com
I just feel like you should see it since you helped me.
I just feel like you should see it since you helped me.
- Fri May 14, 2010 6:33 pm
- Forum: PHP - Code
- Topic: Displaying images in order of their name?
- Replies: 5
- Views: 489
Re: Displaying images in order of their name?
Thank you so much, for the detailed answer! That worked! 
The reason I had the capitalized JPG in there was because my photographer friend will be uploading the pictures, and for some reason most of them are capitalized.
The reason I had the capitalized JPG in there was because my photographer friend will be uploading the pictures, and for some reason most of them are capitalized.
- Fri May 14, 2010 5:18 pm
- Forum: PHP - Code
- Topic: Displaying images in order of their name?
- Replies: 5
- Views: 489
Displaying images in order of their name?
Hello. :) I am using this code to display the images in a directory ("portraits") <?php $path = "./portraits"; $dir_handle = @opendir($path) or die("Unable to open folder"); while (false !== ($file = readdir($dir_handle))) { if(ereg("(.*)\.(jpg|JPG|bmp|jpeg|png|gif...