Also check the file permissions.

Ben

2

(22 replies, posted in SimpleViewer v1)

viewer.swf

Ben

3

(22 replies, posted in SimpleViewer v1)

What do you mean? The code I showed is part of the script that you use to embed simpleviewer in an html page - it's in the example index.html that comes with simpleviewer. If you're not using it I doubt simpleviewer will work.

I see from your thread that you're using flash to load simpleviewer - sorry I don't have any experience with that. However I'm sure you'll have to somehow tell it where the gallery.xml file is.

Ben

4

(22 replies, posted in SimpleViewer v1)

Do you want the multiple galleries to display on the one page at the same time???

Either way, when you embed simpleviewer you tell it the name of the xml file:

fo.addVariable("xmlDataPath", "gallery.xml");

So you can call the xml files whatever you like. You can even use PHP to dynamically generate the xml (flickrviewer and picasaviewer do this).

Ben

5

(5 replies, posted in SimpleViewer v1)

I like ReNamer for renaming stuff.

For album management, as alternatives to SVA there's flickrviewer and picasaviewer. Means you get the easy of management of flickr or picasa (plus the free storage) with the ability to make it look how you'd like it to.

Ben

It might be easier to just dynamically create gallery.xml. That's what picasaviewer flickrviewer do.

Ben

HJ's problem was that he had not set the 'published' field to 'true' for the album he had created.

HTH

Ben

8

(9 replies, posted in SimpleViewer v1)

Yes, and if you want to manage albums etc, you can use SimpleViewerAdmin, FlickrViewer, PicasaViewer etc, all also free :)

Ben

9

(9 replies, posted in SimpleViewer v1)

It sounds like you're seeing exactly what you should be. What's this toolbar you expect to see?

Ben

10

(2 replies, posted in SimpleViewer v1)

What's SMA?

If you mean SVA, then have you filled in all the boxes in the create album page?

Ben

11

(2 replies, posted in SimpleViewer v1)

You could use something like picasaviewer (mine) or flickrviewer. They dynamically load images from picasa albums or flickr sets into simpleviewer, so as soon as you update the album/set it will automatically be shown.

Ben

12

(5 replies, posted in SimpleViewer v1)

I had the same problem. As Frost mentioned, you need to disable hotlink protection with your hosting service. How to do it (or if you can) will vary with your host, so ask them how.

Ben

13

(9 replies, posted in SimpleViewer v1)

Have you read this page?

Ben

<?php require_once 'SimpleViewer.php'; ?>

should do the trick....

NB you'll also have to include the style sheet (<link rel="stylesheet" type="text/css" href="SimpleViewerCss.php" />).

Here's the code for a page of mine that embeds it:

<html>
   <head>
      <title>Title</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <link rel="stylesheet" type="text/css" href="SimpleViewerCss.php" />
      <style type="text/css">
         html &#123;overflow&#58; hidden;&#125;
      </style>
   </head>
   <body>
      <div id ="container">
         <?php require_once '../nav.php' ?>
         <div id="content">
            <?php require_once 'SimpleViewer.php'; ?>
         </div>
         <?php require_once '../footer.php' ?>
      </div>
   </body>
</html>

Ben

15

(32 replies, posted in SimpleViewer v1)

What's the URL? I'll take a look and see if I can see anything obvious.

Ben

16

(32 replies, posted in SimpleViewer v1)

No hassles.

It's a good point actually, I should probably update the readme to say how to install it :)

Hope it works for you now.

Ben

17

(32 replies, posted in SimpleViewer v1)

OK, to clear things up - I have nothing to do with the redsplash site. redsplash is where the official SVA resides, the latest version being 1.3, which is only compatible with SV 1.7.

For SV1.8 and SVA1.4b, just add swfobject.js and viewer.swf from SV into a directory with all the SVA files. You don't need anything else from SV.

Hope that helps.

Ben[/list]

18

(32 replies, posted in SimpleViewer v1)

Hi HJ,
Sorry, I don't really understand your problem. I haven't written any instructions (that I can find, anyway) so I don't know how you can have trouble following them.

I'm also not sure what you mean when you say 'what you show on your website for the std simpleviewer distribution' - again, I don't show anything.

Just for your info, I don't use SVA any more. Instead I wrote a script that links to PicasaWeb and allows you to display your picasa albums in SV. I find it much easier to manage my albums that way. You can find it here, along with instructions that I have written ;)

Ben

19

(32 replies, posted in SimpleViewer v1)

No hassles, glad it's working for you now.

Sorry you had to chase me down, I only recently realised that I didn't have email notifications enabled for this forum :)

Ben

20

(32 replies, posted in SimpleViewer v1)

Did you change index.php at all?

Also, it looks like you're running your own web host - does it meet the requirements?

Other than that, I don't think I'll be much good to you. I don't know a whole lot about PHP, and I've since written picasaviewer, so don't use SVA any more.

HTH

Ben

21

(2 replies, posted in SimpleViewer v1)

I've just finished work on version 1.0 of PicasaViewer, a set of php scripts that allow you to use SimpleViewer to view albums in your PicasaWeb account.

It was inspired by FlickrViewer, but was written from scratch.

Hope it's useful.

Ben

I've been mucking around with FlickrViewer, and now have it working with flickr tags.

That is, if you supply a tag as a parameter to the php file, it will grab your photos from flickr with that tag. It's nice when you're tight like me and don't have a pro account :)

There's an example here:
http://benhughes.freehostia.com/f2/?tag=mymelbourne

I've also (kinda) updated it for SV1.8 - simply used the default index.html that comes with SV, renamed it index.php and replaced
fo.addVariable("xmlDataPath", "gallery.xml");   

with

fo.addVariable("xmlDataPath", "<?php print "flickrViewer.php?tag=" . $_GET['tag'] ?>");   

Seems to work well.

I'll let the author of FlickrViewer know, just thought I'd see if there was any interest in it here.

Ben

23

(32 replies, posted in SimpleViewer v1)

hello, i try to download sva from benhughes site but it doesn't work....anyone knows is the link is broken?

http://benhughes.freehostia.com/SVA/ seems to work fine for me...

Ben

24

(32 replies, posted in SimpleViewer v1)

Sorry, haven't been around.

Thanks for the link Felix, I'll check it out.

jchaggar, yes, you need to include the SimpleViewer files as well as the SVA files. You only need viewer.swf and swfobject.js. I know nothing about picasa, sorry.

To FTP multiple files, check out FileZilla.

25

(32 replies, posted in SimpleViewer v1)

Thanks Felix.

There's definitely something strange with that host, and its not disabling hotlinking because everything was fine in IE. I've notified them, not sure if they'll do anything about it.

I've also found a couple more problems with SVA. Firstly (and this was a prob in 1.3 too) renaming an album breaks 'open in new window' links - will look at fixing when I get a sec.

The other thing is that its using the 1.7.1 XML properties - can you point me to a definition of the 1.8 gallery.xml properties? I'll get that one fixed ASAP as it should be fairly simple.

Ben