Hello,
I tried to use the new Flickr feature but my albums are not shown anywhere.
When i enter the Album ID, the correct amout of pictures is shown, but no thumbnails or pictures.
I've opened the prewiev in a seperate Tab and got this error message:
In der Datei ist das an dieser Stelle:
$ratio = $this->getWidth() / $this->getHeight();
seems like the height could not fetched correctly and causes a Div by 0 error.
Hope that helps.
Thank you for your help.
I tried to use the new Flickr feature but my albums are not shown anywhere.
When i enter the Album ID, the correct amout of pictures is shown, but no thumbnails or pictures.
I've opened the prewiev in a seperate Tab and got this error message:
Not Found The requested URL /<br /><b>Warning</b>: Division by zero in <b>/www/htdocs/v109593/janni/components/com_eventgallery/library/file/flickr.php</b> on line <b>152</b><br /><br /><b>Warning</b>: Division by zero in <b>/www/htdocs/v109593/janni/components/com_eventgallery/library/file/flickr.php</b> on line <b>155</b><br />https://farm4.staticflickr.com/3734/33678512386_e1f62dd62f_t.jpg was not found on this server.
In der Datei ist das an dieser Stelle:
$ratio = $this->getWidth() / $this->getHeight();
private function getFlickrSizeCode($width, $height) {
$longSideSize = $width;
$originalLongSideSize = $this->getWidth();
if ($height>$width) {
$longSideSize = $height;
$originalLongSideSize = $this->getHeight();
}
if ($height == $width) {
$ratio = $this->getWidth() / $this->getHeight();
if ($ratio < 1) {
// landscape
$longSideSize = $width / $ratio;
} else {
//portait
$longSideSize = $width * $ratio;
}
}
seems like the height could not fetched correctly and causes a Div by 0 error.
Hope that helps.
Thank you for your help.