1

(2 replies, posted in SimpleViewer v1)

Thanks, just what I was looking for to add to the FAQ

2

(2 replies, posted in SimpleViewer v1)

Why use

<!-- Download SimpleViewer at www.airtightinteractive.com/simpleviewer -->
<script type="text/javascript" src="http&#58;//www.knguyentu.com/wordpress/pictures/swfobject.js"></script>
<style type="text/css">    
    #flashcontent &#123;
        height&#58; 100%;
    &#125;
    /* end hide */
</style>
<div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http&#58;//www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>    

<script type="text/javascript">
    var fo = new SWFObject&#40;"./pictures/viewer.swf", "viewer", "100%", "100%", "8", "#333333"&#41;;
    fo.addVariable &#40;"xmlDataPath", "wwwgallery.xml"&#41;;
    // fo.addVariable&#40;"firstImageIndex", "5"&#41;;    
    // fo.addVariable&#40;"langOpenImage", "Open Image in New Window"&#41;;
    // fo.addVariable&#40;"langAbout", "About"&#41;;    
    // fo.addVariable&#40;"preloaderColor", "0xFFFFFF"&#41;;
    fo.write&#40;"flashcontent"&#41;;
</script>

When you can use this and work much simplier?

<embed src="http&#58;//www.knguyentu.com/wordpress/pictures/viewer.swf" FlashVars="xmlDataPath=http&#58;//www.knguyentu.com/wordpress/pictures/gallery.xml" bgcolor=#333333 WIDTH=585 HEIGHT=520 TYPE="application/x-shockwave-flash"></embed> 

3

(1 replies, posted in SimpleViewer v1)

You need to know a bit of PHP to figure out where to start. The simplest way is to do a search and find where in the buildgallery.php it mention the text you want to replace.

I haven't tried, but I doubt the paypal piece will work. Someone here got it to work, can't remember.

4

(2 replies, posted in SimpleViewer v1)

It should be pretty straight forward if you follow the FAQ. I got a sample up and running @ myspace.com/smilepak

You need to increase the height and/or width of the base viewer.swf in the index.html file.

:(  I don't suppose you'd know anyone that would be interested in taking on a project like that, do you? :)

--
Wolf

Nope....but I am in the process of re-writing the index.html file to index.php file.

It will check for new images added to the images subdirectory, and auto update the gallery.xml file and create the thumbnail automatically upon a user viewing your gallery..so you wouldn't have to run buildgallery.php each time you upload a new image..

ehhe

You would have to modify the buildgallery.php to do that or whatever you used to generate the gallery to check by dates...

Standard, there isn't one

8

(1 replies, posted in SimpleViewer v1)

http://www.airtightinteractive.com/simpleviewer/

http://www.airtightinteractive.com/simp … er_171.zip

What do you mean by adding a graphic to a newly updated studio?

If you mean adding a newly upload picture to the gallery, you can use buildgallery.php and having to execute it each time you add a new picture to the gallery.

I haven't tried, but I think image link don't work. Only text.

pretty cool...

You could get some idea from fotoplayer.com which has a similar concept

12

(0 replies, posted in SimpleViewer v1)

How do you align the image to be top of the flash object? Or is that only done on the pro version?

I've seen a few thread on this so I guess i'll post it here.

How about in future release 1.9 or something to have the support on reading music file off the gallery.xml

create a new tag allowing you to reference the location of the music file and type of music to be played.

Or reference the directory where the music is located and have it auto fetch the music list and play in order

Just a thought.

14

(3 replies, posted in SimpleViewer v1)

Hmm...

since your hosting company (i assume you are using comcast) does not allow you to run perl. They should have php available at the very least.

You should double check with them in terms of allowing PHP and PERL. That is usually the standard for personal hosting...


In the event they do not allow you for sure...you have several options...

1) Use google's pisca or something similar to it that is supported by simpleviewer to produce the gallery.xml file for you.

- OR -

2) download http://www.portablewebap.com/ and run a local webserver from your computer. No installation required. Just unzip and execute. This will allow you to run the buildgallery.php so it will produce the gallery.xml file for you and create the thumbnails for you automatically. Afterwards, upload entire gallery directory and edit the gallery.xml and index.html to ensure it is not referencing your local server and the path is correct

15

(1 replies, posted in SimpleViewer v1)

I had asked the same question a few weeks ago. You could search for it. I forgot the answer, but it is non-related to our need.

16

(7 replies, posted in SimpleViewer v1)

Yea, I thought about the same thing originally. The only problem with use embed format specified earlier is it caused the client side to load a reader and sometime a bit slow.

If it is embedded in the flash, that would work best, but unfortunately that might have to be a future development nice to have.

17

(6 replies, posted in SimpleViewer v1)

You have several methods

1) You could manually edit the index.html file located in the gallery and use SSI (Server Side Include) to include a footer file automatically

2) You can edit the index.html file located in the gallery and manually add the footer in your design. One method is to encapsulate the stuff around a table structure

3) This method is to use dynamic html technology such as PHP, ASP, etc where it will generate the index.html file for you upon load...

4) Is to modify the buildgallery.php and have it auto generate the index file for youe ach time you execute it to create your gallery...


In either case, it does require some knowledge of tweaking...

18

(7 replies, posted in SimpleViewer v1)

I found the issue:

In coppermine you have the thumbnails and regular images in the same directory, but with different prefixes, for example:

thumb_picture.jpg & normal_picture.jpg

With simpleviewer 1.7 I could use these settings, to include the prefix:

imagePath="userpics/10001/normal_"
thumbPath="userpics/10001/thumb_"

This doesn't work with 1.8. Is this correct? Can you make it working for v1.8?

Thanks
Karel

Any info on this issue?

Thank you.

I believe the answer you are looking for is no, it can not be done with the free version. You can purchase the source code and change it for your own use, yes...

19

(3 replies, posted in SimpleViewer v1)

what i like about the 1.7 is mouse over a thumb nail and get the caption. In v1.8 you have to click on it.

First thing is to check on the permission of gallery.xml

You need to give it 666. Using the FTP software you have and set the permission of gallery.xml to 666 which is read and write permission to owner, group, and system i think...

the other piece is chances are the PHP function at your hosting company might or might not have the resize functionality.

try to create an empty gallery.xml file and set permission to 666 on it first.

The script doesn't have permission to modify the file.

Ok, i loaded them up on the server, and had to make some more modifications, but i finally got it working.

I have the solutions for those that still need some help. PM me, or email me and i will email my code.

Ciao`

AG

Yea, if you are testing it locally, you need to re-run the buildgallery script or whatever you used to generate it originally on the server side. This will re-create the thumbnail and put the correct path in the XML file.

I dont think there is, I have not done coldfusion in numerous years, but i don't think there is one.

If it is on a unix box, the only thing is permission. But it looks like you are running it locally on a window box.

By the way, if you are using the lastest version of simpleviewer, the gallery is now called gallery.xml not imageData.xml

It is working fine with PHP build version...

Ok, i worked out the solution, and now it opens up in the same window.

Now i have the problem of having white X's show up instead of the images thumbs..

Any ideas?

Ciao`

AG

1) Check the thumbnails directory to see if you have thumbnail generated in there

2) check the gallery.xml to make sure the thumb="" path is pointed correctly. You could try multiple method like "./thumbs/" or "/public_html/pictures/thumbs" or "http://mydomain.com/pictures/thumbs" to ensure it find the thumb directory properly.

25

(4 replies, posted in SimpleViewer v1)

I had the same problem with PHP, so i gave up hehehe