Hi Folks,
since Piwigo 2.4 the Random photo on my additional homepage (with additional pages) doesn´t work anymore. I took the example of
http://piwigo.com/blog/2011/07/07/a-ran … home-page/
with the code ..... [random album=42] .....
But than I get the message
"Fatal error: Call to a member function has_size() on a non-object in /var/www/web318/html/piwigo/include/derivative.inc.php on line 198 "
I think it´s because of the new multiple sizes of the pics.
I tried also the code ..... [random album=42 size=XL html=no link=no] .... which I found somewhere in the forum. But than I get only the following instead of the showing picture:
./upload/2012/02/28/20120228084453-4eeb9880.jpg
Have someone a solution for my problem?
Thanks a lot
Uwe
Last edited by zaphoduwe (2012-07-10 10:39:42)
Offline
the second version give this result because of "html=no"... which is meaningful I think
can we have a link to your gallery ?
Offline
Hi,
I changed the "html=no" to "html=yes" but all I got was the fatal error-Message
My link is http://www.immer-auf-achse.de/piwigo/
But don´t look on the pics and the structure ... I´m still in working process. :-)
Uwe
Offline
can you try with a public album ? like 166
Offline
mistic100 wrote:
can you try with a public album ? like 166
Until now, [random album=123] was working even on private albums (I mean "not visible" to the visitor).
Offline
Hi,
I tried it with the public album 166.
The only change is that the link of the picture has a "_data/i/" before the former string
_data/i/upload/2012/07/09/20120709155553-9cb78e89-la.jpg
Cheers
Uwe
Offline
try without "html=no" should work
now we must find why it didn't work within the private album
or perhaps it's not this property which is the problem...
Offline
.... non .... malheureusement ..... non
the only thing is the Fatal- Error-Message.....
I delete the html=no -> fatal error
I delete the link=no -> the "_data/i/upload .... string" came ..
Salut
Uwe
Offline
arg
I really don't understand what's going one
Offline
Hi mistic100,
no problem.... perhaps I will try another start page with fixed Picture ....
It´s not that urgent !!!
Thanks a lot
Uwe
Offline