getting pictures to display on include pages
Posted: Thu Feb 11, 2010 12:36 pm
I am a rank beginner with PHP, and I've suddenly found myself in the position of trying to maintain a site. I have no notes, so I've been reverse
engineering its structure. It's a PHP site with a MySQL database for images that go into a number of galleries, and a lot of includes.
My problem is that I am trying to get an image to display on an include. However, all I can manage is the alt attribute text. At first, I wondered if
the image needed to be in the database, but that's specific to the galleries, not the rest of the site. Besides, since the alt text is being picked up, the
image is obviously being found.
I've been searching the web for answers, but I haven't had any luck. Can someone suggest a solution or a resource where I can find an answer?
engineering its structure. It's a PHP site with a MySQL database for images that go into a number of galleries, and a lot of includes.
My problem is that I am trying to get an image to display on an include. However, all I can manage is the alt attribute text. At first, I wondered if
the image needed to be in the database, but that's specific to the galleries, not the rest of the site. Besides, since the alt text is being picked up, the
image is obviously being found.
I've been searching the web for answers, but I haven't had any luck. Can someone suggest a solution or a resource where I can find an answer?