Show thumbnails on pages? Posted by tsnake 10 Feb 2007 05:16 UTC How do I display the thumbnails on regular wiki pages? Best case is displaying the thumbnail as a link to the full size image. I am new, coming from media wiki where it was a lot simpler but also better documented for this very need. thanks, tsnake
Posted by Rick Sapir / Tiki for Smarties 10 Feb 2007 14:31 UTC When you upload a new image to a gallery, the resulting page lists a number or URLs that you can use to display the image/thumbnail (either in a wiki page or HTML page). See the docs for details. HTH, -Rick > How do I display the thumbnails on regular wiki pages? Best case is displaying the thumbnail as a link to the full size image. I am new, coming from media wiki where it was a lot simpler but also better documented for this very need. > thanks, > tsnake
Posted by Gary Cunningham-Lee 10 Feb 2007 06:32 UTC Copy to clipboard{img src=show_image.php?id=272&thumb=1 link=tiki-browse_image.php?galleryId=33&sort_mode=name_asc&imageId=272} produces I think this is fairly simple. The syntax is in the wikihelp at the bottom of wiki edit pages. You do have to copy and paste the URLs, though. I'm not sure how this compares to the Mediawiki procedure. If you want to emulate the Mediawiki Monobook style more closely, check out Tiki's Tikipedia style. That theme's THUMBDIV plugin and associated CSS code can also be adapted to other themes. -- Gary
Posted by tsnake 10 Feb 2007 14:40 UTC I think this is fairly simple. The syntax is in the wikihelp at the bottom of wiki edit pages. You do have to copy and paste the URLs, though. I'm not sure how this compares to the Mediawiki procedure. If you want to emulate the Mediawiki Monobook style more closely, check out Tiki's Tikipedia style. That theme's THUMBDIV plugin and associated CSS code can also be adapted to other themes. Thanks Gary... it's a good lead. Unfortunately, the tikipedia theme is the only one to not properly install itself when I select it. Figures. 😊 The link to the plugin info is also great, but I don't see any way to install the actual THUMBDIV plugin. I added the css changes to the stylesheet, but obviously I'm still missing something. I've only had tiki installs for a few days, so I'm really learning my way around. --tsnake
Posted by Gary Cunningham-Lee 10 Feb 2007 15:06 UTC See How To Add a New Theme for some info on manually installing a theme. That can probably help you sort out what's happening with the Tikipedia theme. The THUMBDIV plugin file is thumbdiv_plugin.php, included in the theme's files) and needs to be uploaded/copied to your Tiki's lib/wiki-plugins/ directory (along with the other Tikipedia plugins if you want to use them. Once the file is in place, the plugin will be available automatically for wiki page edits. -- Gary
Posted by tsnake 10 Feb 2007 16:30 UTC OK, I manually added the tikipedia theme files and the theme appears to be working fine. I need to tweek some things that don't seem to be right, but that's not a big deal. The thumbdiv module, however doesn't appear to be working. I loaded the file: wikiplugin_thumbdiv.php into templates/wiki-plugins/ The response show on the ensuing entry: WARNING: No such module THUMBDIV! Should I expect to see some sort of WYSIWYG editor for the thumbnail display? When editing, I can click the show plugins help link to display plugins... THUMB Displays the thumbnail for an image: is the only thing close I can see and it doesn't really explain much either. Now that I think about it, I recall having to go through this much hassle when I first set up mediawiki as well, so it's par fro the course. 😊
Posted by Bernhard 10 Feb 2007 16:40 UTC > Copy to clipboard> {img src=show_image.php?id=272&thumb=1 link=tiki-browse_image.php?galleryId=33&sort_mode=name_asc&imageId=272} > > produces > > I think this is fairly simple. The syntax is in the wikihelp at the bottom of wiki edit pages. You do have to copy and paste the URLs, though. I'm not sure how this compares to the Mediawiki procedure. Whoo, that's really scary. Do you really mean, the only workaround to this is to upload an image to a gallery first, and then link it to a page??? What about using the wiki page upload picture functionality? How can this be used to handle thumbnails on the fly, too? I don't want my users to go through an additional gallery upload .... And next: if a pictures get's changed on a page, and I would be using a gallery link to that picture, how could I find out, which pictures of a gallery are no longer needed? (e.g. all wiki pages referencing a picture have been altered to a new version ... Best regards, Bernhard
Posted by Gary Cunningham-Lee 11 Feb 2007 01:21 UTC > > Copy to clipboard> > {img src=show_image.php?id=272&thumb=1 link=tiki-browse_image.php?galleryId=33&sort_mode=name_asc&imageId=272} > > > > produces > > > I think this is fairly simple. The syntax is in the wikihelp at the bottom of wiki edit pages. You do have to copy and paste the URLs, though. I'm not sure how this compares to the Mediawiki procedure. > > Whoo, that's really scary. Sorry to be so frightening. 😉 > Do you really mean, the only workaround to this is to upload an image to a gallery first, and then link it to a page??? Unless someone else knows a way. As far as I know, there is no mechanism in a standard Tiki installation for one-step image upload directly to a wiki page that inserts a thumbnail linking to a larger version. There isn't anything equivalent to the thumb parameter image syntax used at Wikipedia, for example. > What about using the wiki page upload picture functionality? How can this be used to handle thumbnails on the fly, too? I don't want my users to go through an additional gallery upload .... On a bit of a side note, I believe you've been using Tiki for at least a few years so I'm rather surprised at the reaction to my response here. I would expect that this issue would have already come up due to demand for a transparent one-step thumbnail creation. It's odd that there haven't been posts were made here about it or feature requests made, unless I've missed them. Just curious why the sudden surprise. In any case, I imagine a plugin could be written that would use the gallery upload code to resize the image and insert the thumbnail; it would be handy for situations especially where people weren't already accustomed to using the galleries. > And next: if a pictures get's changed on a page, and I would be using a gallery link to that picture, how could I find out, which pictures of a gallery are no longer needed? (e.g. all wiki pages referencing a picture have been altered to a new version ... There is no web front-end for it as far as I know, but database queries could be done to find "not in wiki pages" gallery images, I suppose. This seems somewhat problematic in that the fact that a gallery image is not linked to by any wiki page (which is what "no longer needed" would amount to in the context of wiki page use, and what the db queries would determine) may not necessarily mean that the image is not wanted in a gallery for other purposes such as direct viewing. (I don't know if this could be enforced, but users could be instructed to use a particular gallery for images to be displayed in wiki pages. Then it would be much easier to determine which are actively linked to and which are not and so could be removed.) Clearly, linking to gallery images has certain weaknesses from the resource management perspective, which using the editpage's image upload function eases. So, yes, it would be good to be able to insert the image during page editing as a thumbnail. -- Gary