The following code worked bringing an album image into a Joomla module until I was recently forced to update Zenphoto. My host changer to 5.3:
<?php
$randomImage = getRandomAlbumImage();
$randomImageURL = getURL($randomImage);
$randomAlbumURL = getAlbumURL($randomImage);
$albumDescription = getDescFromImg($randomImage->getFileName());
echo "
getTitle() . "'>
<img src='/".htmlspecialchars($randomImage->getCustomImage(NULL, 216, 162, 216, 162, NULL, NULL, NULL)). " '
alt=\"random image\"
" . ' /><div style=" padding-top:70px">
'.$randomImage->getTitle(). '</div>'
;
?>
Any Ideas on how to get this working agian. I would love to make this a joomla mod.
Comments
I am not familiar with Joomla so I don't know what it does within modules. Generally Zenphoto is a standalone system and developed as such. We don't test inclusions with other CMS. If you uses the "zenphoto as a plugiN" way described on our site that might be because of Joomla. That way does not work with Wordpress anymore because they changed something.
I am calling this through Jumi-an add-on for joomla
`
<?php</p>
$randomImage = getRandomAlbumImage();
$randomImageURL = getURL($randomImage);
$randomAlbumURL = getAlbumURL($randomImage);
$albumDescription = getDescFromImg($randomImage->getFileName());
echo "getTitle() . "'>
getCustomImage(NULL, 216, 162, 216, 162, NULL, NULL, NULL)). " '
alt=\"random image\"
" . ' />
'.$randomImage->getTitle(). '
;
?>
`
Zenphoto did not change its basic functionality so maybe an update of Joomla or something is the cause.