Topic: Problem: buildgallery.php resets vaules in gallery.xml
I have searched the forum, but not found any topic related to this.
I have a problem with the thumbnail menu every time I update the gallery, gallery.xml resets most of the variables and applies default settings.
The new picture is added and displayed correctly, but the settings for
the thumbs are altered, see code below. I doesn't matter if i run buildgallery.php från IE ocg FF, the result is the same.
I use SV combined with GrayBox, but the problem is related only to SV since the problem occured before is started to use Graybox. I don't know if this could be related to the webserver, I don't know much about it besides that it's hosted by Web10 [http://web10.se/].
Thanks in advance!
Best regards,
Johan
Link:
http://wse152484.web22.talkactive.net/index.php?id=4
Click the picture with the smoke to show the SV gallery.
Code before update:
<?xml version="1.0" encoding="UTF-8" ?><simpleviewerGallery maxImageWidth="640" maxImageHeight="640" textColor="0xFFFFFF" frameColor="0xffffff" frameWidth="20" stagePadding="5" thumbnailColumns="7" thumbnailRows="1" navPosition="top" title="" enableRightClickOpen="true" backgroundImagePath="" imagePath="" thumbPath="">
<image><filename>salladglas.jpg</filename></image>
<image><filename>back.jpg</filename></image>
<image><filename>sallad.jpg</filename></image>
<image><filename>semlor.jpg</filename></image>
<image><filename>kockrock.JPG</filename></image>
<image><filename>jordgubbsdessert.jpg</filename></image>
<image><filename>jordgubbar.jpg</filename></image>
<image><filename>fisk_musslor.jpg</filename></image>
<image><filename>carpaccio.jpg</filename></image>
<image><filename>brodstang.jpg</filename></image>
<image><filename>ammis.jpg</filename></image></simpleviewerGallery>
Code after update:
<?xml version="1.0" encoding="UTF-8" ?><simpleviewerGallery maxImageWidth="640" maxImageHeight="640" textColor="0xFFFFFF" frameColor="0xffffff" frameWidth="20" stagePadding="40" thumbnailColumns="3" thumbnailRows="4" navPosition="left" title="SimpleViewer Title" enableRightClickOpen="true" backgroundImagePath="" imagePath="" thumbPath="">
<image><filename>kantarellsnitt.jpg</filename></image>
<image><filename>salladglas.jpg</filename></image>
<image><filename>back.jpg</filename></image>
<image><filename>semlor.jpg</filename></image>
<image><filename>sallad.jpg</filename></image>
<image><filename>kockrock.JPG</filename></image>
<image><filename>jordgubbar.jpg</filename></image>
<image><filename>jordgubbsdessert.jpg</filename></image>
<image><filename>fisk_musslor.jpg</filename></image>
<image><filename>carpaccio.jpg</filename></image>
<image><filename>brodstang.jpg</filename></image>
<image><filename>ammis.jpg</filename></image></simpleviewerGallery>