Search the Community
Showing results for tags 'pictures'.
-
Hello everyone. I am very new here and I have a problem. I have recently started as a junior IT assistant at a company and I have been asked to make an image gallery by one of the managers of the other departments. I managed to find near enough complete package for free on the internet but it does not support Adobe made files such as PSD (which is photoshop if I am correct). Can someone either point me or give me tips of how or even it is possible I can possibly add this feature to the gallery. I will put a disclaimer and say that apart from a brief encounter in uni I am very new to php as a whole. Any help would be much appreciated. Thanks
-
Hi there! I am trying to get a list of images in line with each other-- the only thing giving me trouble is the fact that I want the last picture to be randomly chosen from an array of images. Everything seems to work just fine except for the fact that the randomized image and the other images won't stay on the same line. In other words, I want the images to show up like this: xxxxxxrandom ..but it keeps showing up like this: xxxxxx random <html> <text><red><large><i>Processing may take up to five seconds. You will be redirected shortly.</i></large></red></text><p> <meta http-equiv="refresh" content="5;url=entries.php"> <img src="base.gif" width="10" height="36"/> <img src="base2.gif" width="10" height="36"/> <img src="base3.gif" width="10" height="36"/> <img src="base4.gif" width="10" height="36"/> <img src="base5.gif" width="10" height="36"/> <img src="base6.gif" width="10" height="36"/> <?php $pic = array('50.gif','100.gif','200.gif','250.gif','150.gif','300.gif'); shuffle($pic); ?> <?php for( $i = 0; $i < 1; $i++) echo "<li style=\"display: inline;\"> <img src=\"$pic[$i]\" width=\"27\" height=\"36\"> </li>"; ?> </html> Would anyone be able to tell me what I may be doing wrong? Thank you so much!