|
Cookbook /
PmGallery-TalkQuestion 0727-2008 22:30 GMT+1I've been using pmgallery and galleria recipes for a few days now, and only one issue remains before perfect functionality is achieved :-). I am not able to get the wrapper="ul > li" parameter to cooperate with galleria parameters list=".pmGalleryWrapper ul" and carousel=true. What I get when I try that, is basically an empty carousel. It is rather strange, since both galleria and pmgallery seems to work properly on my site. It seems to be connected to the magical ul word, or maybe the wrapper="ul > li" parameter for pmgallery. Is it any way to verify that pmgallery gets it correctly, regarding wrapper="ul > li"? For me, pmwiki on my site is no longer displaying the thumbs as a bullet list, when I use wrapper="ul > li". That is a bad sign, right? What I'm trying, that is not working, is the following: (:pmgallery imagesize=512 user=nepherim album=Quiddity mode="linkdirect" wrapper="ul > li":) (:div id="pmGallery_Image":) (:divend:) (:galleria list=".pmGalleryWrapper ul" image="#pmGallery_Image" carousel=true:) For a working solution with no carousel, I use the following parameters: (:pmgallery imagesize=512 user=nepherim album=Quiddity mode="linkdirect" wrapper="li":) (:div id="pmGallery_Image":) (:divend:) (:galleria list=".pmGalleryWrapper" image="#pmGallery_Image" :) If anyone see what I'm doing wrong in the first code example, please give me a hint. (I swapped user and album parameters, just to keep focus on my technical troubles instead of my wedding pictures:-)) Response 28-Jul-2008 11:10 ESTAre you using the exact code above, and things are not working? It sounds like you are actually using different parameters (for your wedding pictures) -- it would be helpful to see exactly what you have. If you can provide a URL, I can take a look and see what's up -- if you'd rather not post it here, send it to me in an email to ikiwmp at solidgone dot com (reverse the first word to form the name of a well known wiki :)
Remark 0725-2008 21:00 GMT+1I've been playing around a little with the thumbsize parameter, and found the following: thumbsize = 72, 144, 288, 576 Works fine thumbsize = 32, 48, 64, 160, 200, 320, 400, 512, 640, 720, 800 Gives thumbs that are stretched to square shape, that is wrong aspect ratio unless the image is square to begin with. The thumbs also have poor display quality for these sizes. DaveG 26-Jul-2008 22:40Thanks for the info. I just re-checked Googles API page and it seems that there are some restrictions on thumbsize. However, they don't match your findings. I'll take a look and see what's happening -- I suspect it's something to do with the cropping. For those interested this quote is from the Google API: The following values are valid for the thumbsize and imgmax query parameters and are embeddable on a webpage. These images are available as both cropped(c) and uncropped(u) sizes by appending c or u to the size. As an example, to retrieve a 72 pixel image that is cropped, you would specify 72c, while to retrieve the uncropped image, you would specify 72u for the thumbsize or imgmax query parameter values. 32, 48, 64, 72, 144, 160 The following values are valid for the thumbsize and imgmax query parameters and are embeddable on a webpage. These images are available as only uncropped(u) sizes by appending u to the size or just passing the size value without appending anything. 200, 288, 320, 400, 512, 576, 640, 720, 800 Question 0718-2008 22:30 GMT+1On the example site http://wiki.solidgone.org/PmGallery/Demo, thumbnails display perfectly, but the gallery does not open correctly when clicking a thumbnail. Error message is the usual "The web page can not be found" (HTTP 404) I also have the same problem when using pmgallery on my own site. Any quick fixes? Update to question 0718-2008 22:30 GMT+1After some experimenting, I came to the conclusion that the error displays because the empty wikipage with name Update 2 to question 0718-2008 22:30 GMT+1Workaround from original poster (this is not a solution to the error): in Solution: 19-July-08 13:36 EST by DaveGThanks for letting me know. I've fixed this problem with the latest v0.1.3, available for download. Question 0718-2008 20:00 GMT+1Hi, I'd really like to make the pmGallery work on my website, but so far I get the following error message whenever I use the pmGallery markup: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/damhaugc/www/bryllup/cookbook/pmgallery/picasa.php5 on line 14 I have tried my best to follow the recipe, but obviously something is wrong. As my skill wih PHP is fairly limited, I can't identify the problem. The PHP5 prerequisite mentioned may be it, but I don't know how to check for this. Any suggestions? My site is using the following version and recipes from pmWiki: pmwiki-2.2.0-beta65 (Is the new beta67 required?) Update to question 0718-2008 20:00 GMT+1I went to my ISP and upgraded from PHP 4.4.4 to PHP 5.1.5, and suddenly it all started working :-) Problem solved, in other words. Thank you for a great recipe! Solution: 19-July-08 13:36 EST by DaveG'''pmGallery requires PHP5. Thanks for testing! |