How to place photos in randomphotos feature of ponce.sdsu.edu

by Flor Pérez (041102; revised 060403)

Steps:
  1. Copy the photo from ponce public directory in to ponce public randomphotos subdirectory.
  2. Rename photoname.jpg to randomphoto***.jpg.
  3. Using DISPLAY, resize the photo to width= 100 pixels and save it as randomphoto***-100.jpg.
  4. Go to protected50, and copy existing randomphotoXXX.html into new file randomphoto***.html.
  5. In ponce public subdirectory protected50, edit file randomphoto***.html and change the photo to randomphoto***.jpg in it.
  6. Go to ponce public and open the file victor_ponce.php, 100portal.php to 900portal.php, and add the photos, titles, and urls.
  7. Change the variable in victor_ponce.php and portals to $X = rand(1,***);.