trufflepig — 2010-02-01T10:40:42-05:00 — #1
echo '<td><a href="images/carpictures/' . $title16 . '"><img src="images/carpictures/' . $title16 . '" width="140" height="93"></a></td>';
- and so on, with a statement testing to see if an image exists in that field. If it does, it gets added to the page with all the images displayed as thumbnails.
What I want is to have the images bring up their larger version when hovered over, and launch a slideshow with an autoplay feature as well as the usual back / next / play / stop controls etc.
The problem being that my images are being generated by the PHP call to the database.
(I was using Lightbox, which is great, except that the client doesn't like it so I can't use it...)
jaanboy — 2010-02-01T11:05:57-05:00 — #2
I'm not sure exactly what kind of script your after, but for the ones you've previously looked at, would it be possible to loop once in the header (to assign the variables) then loop again to display them?
trufflepig — 2010-02-01T11:21:37-05:00 — #3
system — 2010-02-01T12:49:46-05:00 — #4
There is one thing, very important to understand.
There are 2 sides if web-application, server side and client side.
It is two completely different environments.
The only connection between these 2 worlds is text. Just plain text.
There is no way.
So, the only thing you need is some experience with PHP.
And as soon you'll be able to produce this HTML code
from this PHP code
echo "<b>Hello $name</b>";
Because it is completely same way, to make something like
And only then go for PHP to generate this text dynamically