Post a link as a thumbnail or show .pdf/.doc files

I'm wondering if there is an easy way to add a link that looks like an album or image thumbnail alongside the other items in a folder. Gallery2 had this functionality and wondering if there is something similar to that in Zenphoto. I know I can add a text link in the description, but making it a part of the gallery would make it fit in more with the design and enable me to add items like PDFs, etc. I know there is a class-PDF plugin but I couldn't get that to work, and I want to be able to add Word documents as well. It would be great if I could program Zenphoto to display all .pdf and .doc/.docx files as well as the present .jpg/.mp3 files. Thanks!

Comments

  • It might be great, but unless there is some applicateion/plugin capable of interpreting the formats of those documents it is not going to happen.

    WRT PDF files, the textObject plugin will indeed do that using the google docs web site. see docs.google.com/gview

    You can also make a plugin similar to the textobject one that will use a local application to open the document. But of course, that is not much use unless you know that all your users have the appropriate application installed on all the computers from which they will view your site.
  • As to the thumbnail question: I obviously do not understand what you are asking for since image and album thumbnails appear all over the place in the various zenphoto themes.
  • sbillard, Thank you for your timely response. I'll check out the textObject plugin.
    Basically all I need is a download link, not a viewable link.

    Regarding the thumbnail, all I wanted was a thumbnail just like one representing a .jpg file; they click on it and it goes to the linked location or file.
  • BTW, this is a work-around attempt to do what I was trying to do in my other question
    http://www.zenphoto.org/support/topic.php?id=8445
    which I could not get to work...
  • Then it should be quite easy to make a plugin similar to the textobject one that does that. You just have to decide what to display for the "body" of those documents. (Could be just a default image.)
  • You might consider the development branch of the SVN. I have just created a new "image" object which will do what you desire.
  • @sbillard,
    Thanks! Just found your post. I wish there were a "follow" option in this forum, I have this marked as a favorite but don't notice if there are responses to it.

    I'll see if I can make sense out of how to use your image object.

    Edit: could you please post a link? I assume svn has to do with developers and code... I could be just blind.
  • acrylian Administrator, Developer
    If you want to follow a thread/topic you can subsribe to its RSS feed.
  • RSS will work.
    I figured out the svn has to do with Zenphoto repository but I'm still searching for where I might find that...
  • acrylian Administrator, Developer
    We have two repositories since 1.4.x.
    1. One for possible bugfixes of the last official release:
    http://www.zenphoto.org/trac/browser/trunk
    This and the generated nightly build are linked on our download page.

    2. The development stream is here: http://www.zenphoto.org/trac/browser/branches/development
Sign In or Register to comment.