You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is fantastic! thanks so much for this. I always wanted to put a slideshow with piwigo on one of my old tablet gathering dust.
For others who might want to do the same thing (and aren't really familiar with php/html like me), I found that making this little html (based of course on your examples) with a refresh ever 10 seconds works beautifully. Could be worth maybe adding this as a use case in your examples?
<!DOCTYPE html><metahttp-equiv="refresh" content="10" />
<html><head><metacharset="UTF-8" />
<title>Random images</title></head><body><divid="styled_random_image"><styletype="text/css" scoped>
/* Frame and margin around the image */
#styled_random_image img {border: solid 1px grey; padding:5px; margin:5px;}
/* Change opacity on mouse over */
#styled_random_image img:hover {opacity: .8}
#styled_random_image {text-align:right; display: inline; background-color: white;}
/* Don't display the image on small screens */
@media all and (max-device-width: 599px),
all and (max-width: 599px)
{
#styled_random_image {display: none}
}
</style><scripttype="text/javascript"
src="//MYPIWIGO.COM/piwigo-random-backend.php?element_name=styled_random_image&size=large"
async></script></div></body></html>
The text was updated successfully, but these errors were encountered:
this is fantastic! thanks so much for this. I always wanted to put a slideshow with piwigo on one of my old tablet gathering dust.
For others who might want to do the same thing (and aren't really familiar with php/html like me), I found that making this little html (based of course on your examples) with a refresh ever 10 seconds works beautifully. Could be worth maybe adding this as a use case in your examples?
The text was updated successfully, but these errors were encountered: