WP-SimpleViewer » How-to and Troubleshooting

Captions

(10 posts)

  1. Baily
    Member

    I must say, this is an excellent plugin so far. It's extremely easy to install and works well so far. I am curious to know if there is an option available to add captions to the photos. I have noticed in the original SimpleViewer that it can either pull captions from a photo album or through manual editing of the gallery.xml file. Do we have that as an option somewhere?

    Posted 3 years ago #
  2. Hey, good to hear that the plugin is working well for someone else but me!

    At the moment there is no option for that in the plugin, but I am working on that because I also think this feature is very nice to have. It will be included in the next version of the plugin.

    Up to now the only thing you can do is to edit the gallery.xml file manually. For each image the XML file shows the following lines:
    <image>
    <filename>pic1.jpg</filename>
    <caption><![CDATA[<A href="http://youradress/wp-content/photos/gal1/pic1.jpg" target="_blank"><U>Show photo in full size</U></A>]]></caption>
    </image>

    What you have to change here is the text "Show photo in full size", this will be displayed in Simpelviewer as a link. If you do not want to show this as a link it has to look like this: <caption>Your Text</caption>

    Hope this helps you, stay tuned for the next version of the plugin :) I am planing to release it before the plugin contest ends.

    Posted 3 years ago #
  3. Baily
    Member

    Markus,

    Thanks for the reply! Great to hear you have plans for implementing captions into the plugin. It's shaping up to be one of my favorites already, since it is so versatile.

    As for editing the captions manually for now, the CDATA was what I was missing -- I tried to edit with just plain caption tags and it wasn't working, but then I'm not so familiar with playing with xml files. So thanks for that piece of information. I did find, however, that I am having a slight problem with the caption placement. A caption more than a couple lines tends to fall out of the frame so that it's not fully visible anymore. I actually looked on the original SimpleViewer's website, and this seems to be a common problem for many. I have played with the thumbnail column/row settings, as well as the image size and padding settings. I seem to have gotten a little more space for the captions, if I elect to put the thumbs on the left or right side with only 1 row. Top or bottom is no good for long captions, it seems. I don't suppose there is a way for us to edit the placement of the thumbs and captions, is there? I can't seem to find it anywhere.

    Thanks again for all your hard work -- I look forward to the next version of the plugin.

    Posted 3 years ago #
  4. Yes, the placing of the caption is unfortunatelly a common problem for SimpleViewer and there is nothing I can do to get this fixed within the plugin. So playing arround with the options is the only thing that helps right now to improve this - maybe the SimpleViewer developers improve this in their next version.

    Posted 3 years ago #
  5. Baily
    Member

    Yea, it's unfortunate that we can't edit that a little more in the free version. Apparently the full version gives you the code plus some additional customization options.

    A little off topic, but do you have plans to package his other flash galleries, such as Autoviewer or PostcardViewer into as plugins as well? Seems like they make a nice suite of photo gallery options for wordpress blogs.

    Posted 3 years ago #
  6. Up to now there are no plans to integrate AutoViewer or PostcardViewer, I think SimpleViewer is the best of them to include in a wordpress post because both others look much better in a full-browser window.
    But if I should get bored I will think about it again :)

    Posted 3 years ago #
  7. Baily
    Member

    Ah, you do have a point there. I actually tested your plugin in both posts and pages, but really, I intend to use it on its own page, where it will be sized to fit a full window. But I agree that the other two are definitely not as versatile when considering how they'll work with a smaller post.

    Posted 3 years ago #
  8. eric
    Member

    Hi, on my XML file I have

    <image>
    <filename>pinata_abeille.jpg</filename>
    <caption>Pinata abeille</caption>
    </image>

    Sample page can be viewed here : http://lbl.deviantnetwork.net/~H2172/esquipulas.fr/wordpress/index.php/2007/06/18/pinatas/

    How could I include on each thumb the correspondant caption as written on the xml file ???? Did I miss any parameter on the admin size ????

    Thanks again,

    Posted 3 years ago #
  9. Sorry, but the link above does not work for me as well :(

    When your XML file looks as written above the caption "Pinata abeille" should show up next to the image. I often have the problem, that the browser does not update the xml file, so I have to delete the temporary internet files and then reload the page, you should also do that when you are tweaking the xml file.

    Posted 3 years ago #
  10. The new version is out now and you can manage your captions with it: http://wp-simpleviewer.fuggi82.de/topic.php?id=24&page&replies=1

    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.