Topic: Flickr viewer + Simpleviwer customization

Hello,

I have used Simple viewer 1.8 and 1.8.5 and linked it to Flickr using the Flickrviewer PHP.

Everything works fine, except that I am unable amend the backround using the $backgroundimagePath variable.

I have tried relative and absolute links but to no avail.

Does anyone know if this is a bug?

If I got Simpleviewer Pro would I be able to amend the background that way, and it is compatible with the FlickrViewer PHP.

Any help would be much appreciated.

Cheers,

Barry

Re: Flickr viewer + Simpleviwer customization

Hi. I had the same problem, but i made it work by changing the flickrViewer.php file.
It generates an incorrect xml file, because it writes backgroundimagePath instead of backgroundImagePath (the I in image should be uppercase for the xml to work correctly)
In flickrViewer.php, in the /*Generate the XML OUT*/ you should see something like this:

$xmlout = '<?xm' . 'l version="1.0" encoding="UTF-8"?>';
$xmlout .= '<!-- Last updated: ' . date("r") . ' -->';
$xmlout .= '<simpleviewerGallery 
maximageHeight="' . $maximageHeight . '"
maximageWidth="' . $maximageWidth . '"
textColor="' . $textColor . '"
frameColor="' . $frameColor . '"
frameWidth="' . $frameWidth . '"
stagePadding="' . $stagePadding . '"
thumbnailColumns="' . $thumbnailColumns . '"
thumbnailRows="' . $thumbnailRows . '"
navPosition="' . $navPosition . '"
enableRightClickOpen="' . $enableRightClickOpen . '"
backgroundimagePath="' . $backgroundimagePath . '"
title="' . $title . '"
imagePath="flickrViewer.php?mode=img&amp;size=large&amp;image="
thumbPath="flickrViewer.php?mode=img&amp;size=thumb&amp;image=">
';

in that code you have to change the following line:

backgroundimagePath="' . $backgroundimagePath . '"

to

backgroundImagePath="' . $backgroundimagePath . '"

Just that, changing to uppercase should make it work.
hope this helps