The site contents : :-lots of glitter graphics ( which i already bought) :-glitter text generator(have script ready) Graphics are by different section like hello , good morning , love.. etc .. i want to make groups for each folder like :- main folder : /images/ inside images : /images/hello/ , /images/good morning/ , /images/love .. and so on .. first i thought of making static html pages .. but that will be a bulls work as it will take hell lot of pages to display those images.. i am wondering how sites like zwani[dot]com and other myspace comments sites manage and display their huge graphics.. anyways now the options for me are by using simple PHP or using it with mysql... now from here my mind is not workin.. how to approach the job.. can anyone help me .. i just want ideas how to approach forward 2 start this job.. like what should b the structure of database and how to use it in coding ..i will try 2 do d coding myself.
you can just use php that reads in a directory of images, and based on the list of images it receives it splits it into number of pages and displays a certain # of images of your choice... most of the myspace scripts out there do this
ok i will try for this only without database.. wat i thought is during uploading images i will just rename the images to their uploaded date+time .. so that i can display the images in the pages in their upload date/time sort order ... thanks..
if your running php on your site you can try the filemtime function, which would sort the graphics by the last time they were modified http://www.php.net/manual/en/function.filemtime.php but if want a graphic modified on an older date first, then this wouldnt work here's some php code to get you started in looping through a directory to display images: $path = "/home/graphics/"; $dir_h = @opendir($path) while ($file = readdir($dir_h)) { echo "<img src="$file" /> } closedir($dir_h); Code (markup):
PHP based .. lookin forward to implement some ideas by DatR. i am thinking of making an index.php page in every graphics directoty which will show up contents of only that directory.. and then a navigation system to link up all those index pages in different directory .. till now thats only...i hv no hurry .. uff.. managing so much images is a damn hard task .. i dont know it is possible or not to manage these graphics (so far 3000 graphics) without an content management system ..and by using only simple scripting..