Page 1 of 1
Gallery Random Photo Block w/ Gallery 2 working for anyone?
Posted: Thu Oct 27, 2005 2:03 am
by Gagtech
I've been trying to install the Gallery Random Photo Block and trying to get it to work with Gallery 2, but I have not been having any luck, has anyone got this to work?
I tried modifying the code to include the
Code: Select all
<?php @readfile('http://www.fileshed.net/gallery/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'); ?>
suggested by the gallery 2 Image Block settings, but I can't seem to get it working.
Can anyone give me any suggestions?
Re: Gallery Random Photo Block w/ Gallery 2 working for anyo
Posted: Thu Oct 27, 2005 11:13 am
by garvinhicking
The plugin only works on hosts that support URL fopen wrappers; your host might not support this.
Replace the @readfile() command with readfile() and you should see an error message!
I've also just committed version 1.4 of the plugin which outputs that error ino this case.
Regards,
Garvin
Posted: Thu Oct 27, 2005 1:20 pm
by Gagtech
mmm, my host must have noticed some errors coming from my site last night, because last night I went to bed and it wasn't working, and I woke up this morning and checked my site, and it was working... heh
Posted: Thu Oct 27, 2005 6:16 pm
by Gagtech
Actually, it only seems to work in IE. Does not seem to work in Firefox...
Posted: Thu Oct 27, 2005 7:31 pm
by garvinhicking
That is strange. What's your URL? It must be a CSS issue.
Regards,
Garvin
Posted: Sat Oct 29, 2005 6:59 pm
by Gagtech
Well, its been functioning the last couple days, and I havent changed anything since I installed it, and it wasn't working initially. I guess my webhost noticed the error messages or whatever it was generating and fixed it on the back end.
http://www.fileshed.net