me1000 Posted June 13, 2006 Share Posted June 13, 2006 ok, first off I have each of my images in a category, (a directory named) named 1 through 7 then in each of those directories there is few more directories (subcategories) inside of the sub cats are 3 files. every file is named exactly the same thing "wallpaper_800.jpg" , "wallpaper_1024.jpg", and "wallpaper_thumb.jpg".I want to have a php script that gets these files, and displays all the wallpaper_thumb.jpg from a defined category, under the thumbnail will be a link to the 800 x 600 version and a link to the 1024 x 768 version.Is there a loop i can use to do this? Thanks, Quote Link to comment https://forums.phpfreaks.com/topic/11879-display-images-in-table/ Share on other sites More sharing options...
freakus_maximus Posted June 13, 2006 Share Posted June 13, 2006 Yes there is. Check out the the post in the new forum section "FAQ/Code Snippet Repository".[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=95426\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=95426[/a] Quote Link to comment https://forums.phpfreaks.com/topic/11879-display-images-in-table/#findComment-45064 Share on other sites More sharing options...
me1000 Posted June 14, 2006 Author Share Posted June 14, 2006 thanks,ok, now that I know how to display the results in table, how to I grab all the files with a certain file name? from the directorys? Quote Link to comment https://forums.phpfreaks.com/topic/11879-display-images-in-table/#findComment-45694 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.