Bug 134774

Summary: exported simpleviewer gallery fails to load images due to wrong xml file name.
Product: [Applications] digikam Reporter: Eduardo H.R. <joredu>
Component: Plugin-Generic-FlashAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 0.1.0
Sentry Crash Report:
Attachments: Patch for simpleviewer.cpp

Description Eduardo H.R. 2006-09-28 06:44:57 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Debian testing/unstable Packages

Files and folders created when using the simpleviewer export option are the following:
images/
simpleviewer/
thumbs/
index.html
upgrade.html
space.png
viewer.swf
imageData.xml

But when the index.html file is open with the webbrowser the gallery WILL NOT LOAD and the warning along with a progress bar remain inactive:

                        ___SIMPLEVIEWER___
                       |__________________|
                          LOADING GALLERY

The Simpleviewer version used in digikam 0.9.0-beta2 it seems to be 1.8 (I compared the viewer.swf files and are identical):

damknom@edebian:~$ diff gallery/viewer.swf simpleviewer/viewer.swf
damknom@edebian:~$

According to this faq (Question 24):
http://www.airtightinteractive.com/simpleviewer/faq.html

when upgrading to simpleviewer 1.8 you should replace viewer.swf and rename imageData.xml to gallery.xml, this is what i did and solved the problem.
Hope this helps, sorry if duplicated entry.
Comment 1 Eduardo H.R. 2006-10-05 05:10:53 UTC
Created attachment 18016 [details]
Patch for simpleviewer.cpp

Simple patch to rename imageData.xml as gallery.xml, the kipi-pugins version is
0.1.2
Comment 2 Eduardo H.R. 2007-01-22 05:31:01 UTC
Present in latest svn version (V 0.1.3-rc1 - 2006-12-28)
Comment 3 Jeffrey Sabarese 2007-02-25 01:45:05 UTC
Hello. I too am having this problem, but i don't understand how to implement the solution. 

for what it's worth, my folder structure is shown here (in case of anything unique to my versions' activity being illustrated there)
http://the-pragmatic-man.blogspot.com/2007/01/simpleviewer.html

i will take the info in the Patch and see what i can do w/ it in the meantime.
thanks!
Comment 4 caulier.gilles 2008-02-24 22:38:45 UTC
SimpleViewerExport plugin is now ported to KDE4 and support SimpleViever 1.8.x.
Code is in svn trunk.

http://digikam3rdparty.free.fr/Screenshots/newkipiimagecollectionselectorwidgetKDE4.png

I close this file now.

Gilles Caulier
Comment 5 caulier.gilles 2008-02-24 22:41:29 UTC
Closed accordingly with comment #4.

Gilles Caulier
Comment 6 caulier.gilles 2008-02-25 12:58:20 UTC
SVN commit 779051 by cgilles:

SimpleViewerExport kipi-plugin from KDE3 branch : sync with KDE4. now plugin is compatible with SimpleViewer 1.8.x
CCBUGS:134774


 M  +1 -1      Makefile.am  
 M  +1 -1      kipiplugin_simpleviewer.desktop  
 M  +83 -85    simpleviewerexport.cpp  
 M  +33 -33    svedialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=779051