YAG-Talk
This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.
Looks like a good, clear way of specifying a set of images. Nice job. May I suggest the use of ParseArgs() to parse your arguments within the [...] square brackets? It will be much more familiar to people who have used pmwiki in the past, standardize things, etc... Just a tho't. --Peter Bowers July 20, 2010, at 10:01 AM
Thanks for this recipe - it has served us really well! However, I just set $YetAnotherGallery->thumbtype = 'png';
in local/config.php
, and the thumbnails aren't created in PNG format. Until now, ImageMagick has been working without a hitch, so I don't think that's the reason it's not working. Could this be a bug in YAG? Jboy
Thanks for the response - I have yet to try out 1.9 because I hacked 1.8 a bit and need to make sure I can get the same functionality with 1.9. I think the style option will do the trick. In the meantime, I have another question: Is it possible to display thumbnails of the same image in different galleries using different thumbnail sizes? Right now that doesn't appear to be working. Any way that could be added? Thanks Jboy February 23, 2012, at 03:59 PM
YetAnotherGalleryReadCache
, and append it to the string when creating the md5 hash for the thumb name. That will create an unique thumb for each gallery with a different name, even when the image URLs are exactly the same. I will add this to the next release along with a few other changes. Thanks! Subhrajit March 15, 2012, at 10:37 PM
I cannot get YAG to work on my Debian Linux server. The problem in my case is in constructing the variable $theurl on line 347 using the MakeLink function. The MakeLink function was changed in Pmwiki in November 2011 - did you adjust YAG after that date? The actual location of my pictures are as:"/home/alantaylorbaseaccount/www/wiki/pub/Camp/IMAG0150.jpg" and I think &theurl should read similar to "[(approve links) edit diff] ip address>>/wiki/pub/Camp/IMAG0150.jpg" The results of the MakeLink function as used in YAG as it is today is an empty (zero length) string. October 25, 2013 -Alan Taylor