![]() |
|
Post a link as a thumbnail or show .pdf/.doc files - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Post a link as a thumbnail or show .pdf/.doc files (/thread-8116.html) |
Post a link as a thumbnail or show .pdf/.doc files - nbruley - 17-01-2011 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! Post a link as a thumbnail or show .pdf/.doc files - sbillard - 17-01-2011 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. Post a link as a thumbnail or show .pdf/.doc files - sbillard - 17-01-2011 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. Post a link as a thumbnail or show .pdf/.doc files - nbruley - 17-01-2011 sbillard, Thank you for your timely response. I'll check out the textObject plugin. 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. Post a link as a thumbnail or show .pdf/.doc files - nbruley - 17-01-2011 BTW, this is a work-around attempt to do what I was trying to do in my other question Post a link as a thumbnail or show .pdf/.doc files - sbillard - 17-01-2011 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.) Post a link as a thumbnail or show .pdf/.doc files - sbillard - 18-01-2011 You might consider the development branch of the SVN. I have just created a new "image" object which will do what you desire. Post a link as a thumbnail or show .pdf/.doc files - nbruley - 27-01-2011 @sbillard, 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. Post a link as a thumbnail or show .pdf/.doc files - acrylian - 27-01-2011 If you want to follow a thread/topic you can subsribe to its RSS feed. Post a link as a thumbnail or show .pdf/.doc files - nbruley - 27-01-2011 RSS will work. Post a link as a thumbnail or show .pdf/.doc files - acrylian - 27-01-2011 We have two repositories since 1.4.x.
|