Please put new questions or comments at the top of the list.
version problems 6 jan 2013
Version 1.2.5 of galleria works nice
If downloading and trying to use version 1.2.8 I always get strange error message/warning could not find .galleria while intializating ...
January 06, 2013, at 06:36 AM: Peter Gragert
How to edit picture captions in Galleria
I have Galleria with captions on my photos but it was the creator of my website that did that for me. He is no longer avialable to assist me in changing the captions so I was hoping you could help me with a step by step on how to edit it. Thanks a million, DM
I've used my test entry for a gallery below, you should have a similar entry with different content on your wiki pages, and here is an explanation to help explain it.
If all you wish to do is edit captions, I think this will give you enough to go on.
The line begins with a standard list character, the *, and this is followed by the Attach: markup and then the name of the pic.
The important part for the description and caption comes next, and begins with the double quote mark "
The text that follows, until the next double quote mark " will be used as the description.
A pipe character follows this, and is the | character (next to the left-shift key.)
The text that follows the pipe will appear as the caption for the pic.
The pairs of single quotes surrounding this in the example below is merely the standard wiki markup that makes the text appear in italic, and can be omitted.
This can be seen working at secretscotland.org.uk/index.php/Secrets/RAFBishopbriggs
Don't know your skill level here, so have just had a try at answering - please ask if clarification needed.
The problem I seem to be having is to get me to the editing page that contains this:
If I try to edit the page with the pictures on it I get:
And if I go to the link that is included up there I can't edit those pages it won't let me. Ah I am so frustrated!!
Ok - I'm afraid it looks as if you need another developer.
Your original web site creator (no longer available) has placed the Galleria gallery outside the PmWiki environment on a normal html page, and is using the x-include markup to insert that page into the wiki page, where it then displays the image gallery.
I cannot access that page to make any further assessment. Only the site owner or similar will have the web account details and passwords necessary to do that.
The creator has probably created the Galleria galleria without using the recent PmWiki cookbook recipe, as the site looks as if it has been up for a few years, and created with earlier tools.
Sorry I can't be of more help, but I can tell you to stop trying to edit the gallery in PmWiki, as I don't think it can be done that way from what I see using the new info you provided.
I am not an expert, and I could be wrong, but it looks as if you need the help of another web developer or creator, who can be given access to the server where the site is being hosted, and can look at how the first developer created and incorporated Galleria/
Des August 21, 2012, at 09:36 AM
Limit for gallery size (number of images)?
I'm noticing that my galleries which contain ~20 images or more will error out before loading completely with something like:
There will be a list of the first error string (one for each image file it doesn't load) followed after the 30-second timeout by another list of the second error string (again one for each image file it doesn't load).
I can see that there are a handful of timeout settings in the galleria-1.2.5.js file and assume that the likeliest culprit is one of these settings being too low for a large number of images files. However, my fiddling with those settings hasn't really resolved anything, so I'm hoping someone here can provide some suggestions.
Thanks in advance,
(BTW, I'm also having trouble with the caption/description behavior in the post below. I can see that the gallery captions at Secret Scotland wiki is now working, but so far nothing is working here for me using the latest code snippet in config.php. We are due to upgrade our wiki to the latest version of PmWiki shortly, so perhaps this will self-correct then.)
Addendum, 9 Jul 2012 4:40 PM MST: Just a quick update that the wiki upgrade didn't change the behavior of the image loading errors (or the caption/description behavior). It looks like if any Galleria images remain unloaded after about 5 seconds, the error will result. Still awaiting feedback with fingers crossed...
Picture titles work, but captions don't
Solidgone.org shows an example with pictures having both a title and a caption, using the following syntax: http://wiki.solidgone.org/Galleria/Demo8
(:div id="demo" class="Galleria":) * Attach:imagename.ext"TITLE"|''CAPTION'' (:divend:)
However, this doesn't seem to work with the current version of Galleria.php as provided here: Galleria doesn't seem to use the provided caption and replaces it by the title. as a consequence, the "Title" appears twice: once in the galleria-info-title CSS class (as intended for the Title) and once in the galleria-info-description CSS class (as intended for the caption). The caption, however, doesn't appear at all.
Am I doing something wrong or is there a problem with the current version of galleria.php? Any suggestion is welcome.
While I'm at it, I also have a second question: assuming they worked, would the captions be limited to text or could they contain links? It would be very interesting if captions could include links.
Best regards and thanks in advance,
Update : It appears the problem doesn't stem from Galleria, but from my installation of PmWiki itself, which ignores my caption and uses the provided image Title as both title and alt text. Does anybody know how to fix that?
Des April 29, 2012, at 01:28 PM: Sorry to say the the problem is probably not in your install, unless I have the same problem. I would like to have the Title and Caption, but can only do it in the standard way on single pics, not a gallery
I tried to fix, or at least track down a reason for this a few weeks ago (see my query about Picasa, below), after seeing the working option of a Title and a Caption at solidgone, but like you, all I get is is two instances of the Title, and no Caption. I even tried copying the markup from solidgone into my own wiki, in case I was getting the syntax wrong, but it made no difference, and I still just got the Title twice.
I gave up, so I cannot help, but at least I might save you wasting time.
It may be that the code being used at solidgone has had this bug fixed by the owner, but the recipe saved here was never updated.
Maybe somebody smarter will notice, and fix.
Des April 29, 2012, at 06:48 PM: Thanks for looking in.
I added the code given to the existing galleria script, but when I looked at the gallery (which had been working as expected, and had the Title and Description in place, following the style of Demo 8) I got two errors:
Load failed: no data found.
Fatal error: Could not extract a stage height from the CSS. Traced height: 0px.
Removing the additional code restored the previous behaviour of the gallery.
Not sure what to try, so any clues welcome.
Des April 30, 2012, at 04:44 AM: That fixed the errors, but I still only get the Title twice, once in standard font, then in italics on the line below.
I copied and added the new code to the end of the galleria script.
This is the markup I have to show the gallery on the test page here: www.secretscotland.org.uk/index.php/Secrets/RAFBishopbriggs
(:div id="gallery" class="Galleria":) *Attach:BishopbriggsBalloonDepotTower01.jpg"This is image 1 -- very nice"|''Depot Tower 01'' *Attach:BishopbriggsBalloonDepotTower02.jpg"This is image 2 -- very nice"|''Depot Tower 01'' *Attach:BishopbriggsBalloonDepotTowerSiteOverview.jpg"This is image 3 -- very nice"|''Depot Site Overview'' (:divend:) (:galleria list="#gallery" width="500" height="500":)
Installation Path Error
At least in the TAR ball:
Unpacking does not create an additional folder, "/galleria/" to be placed inside the "/cookbook/" folder. As unpacked, galleria.php would be inside the "/cookbook/" folder. This makes the "include_once("
Ok. Made it work. Galleria seems to work fine whether you modify the line given in the installation instructions to read:
inside "config.php", with "galleria.php" where the tarball unpacks it to
or if you use the line as given in the instructions:
and create the additional "/galleria/" folder inside "/cookbook/" and move "galleria.php" into it.
but: The installation instructions do not match what is in the tarball, and it will not work as downloaded (and as I learned, yet again, the colon before the last close parenthesis really is that important).
Picasa caption question
The old Galleria (which used skins) showed the caption (in the carousel) associated with pics fetched from Picasa, but this no longer appears in the later Galleria versions.
I have tried playing with the options inside the markup, but have not been able to show the caption.
Is the caption no longer being fetched from Picasa, or am I missing something I should be able to set?
Des September 20, 2011, at 03:34 PM
Interference from BlogIt
I added the include_once for Galleria.php and could not get any pages to load at all. After some research I finally noticed that I could get pages to load if I commented out either the Galleria.php or the BlogIt.php from my config.php file. Has anyone run into this already and perhaps found a solution? Thanks.
I sent you a copy of my config file and a stripped down version of my wiki, to pmwiki at solidgone dt com. The only recipes included are BlogIt and Galleria, along with enough pages to demonstrate them. Only one will run at a time if the other is commented out in config. Individually they both run properly as far as I can tell. Thanks for looking at this.
Thanks for the upgrade
thank you very much for the update of the Galleria function. I yesterday installed the update and I really love it. Since now more than one Galleria per page is supported, I could improve my wiki photo gallery a lot.
More than one Galleria on one Page
first I would like to thank you for your excellent galleria development. I really love it!
thank you very much for your quick reply on this issue. Since I'm glad that you keep tracking on this and I'm really awaiting this nice feature I would like to ask, how can I keep an eye on this? Is there any news group or subscription possibility? Thanks again!
With Best Regards
IE not loading 1st image
September 8th 2010 SteveJ
this is a brilliant recipe, thanks for your work! I just wondered if there was a fix for IE (IE8 that I have tested with) that refuses to load an initial image in either the default or user set (:div:) container? Chrome, Firefox etc all load this image. From other websites I have seen using your recipe IE still won't do this? Any hints?
September 10th 2010 SteveJ
with IE I just get the carousel and no auto loaded image until I select one, with Chrome I get the auto loaded image but the carousel is only displaying that one image with a 75 px high cut out across it? Perhaps I should send some screenshots?
[Edit]I just tried link to your site again and this time it did not autoload image either![EndEdit]
[2nd Edit]I guess I'm allowed to put a shot in to pmwiki site so very small sized image attached. (I tried in your sandbox but author access 'edit' wouldn't let me in)
September 10th 2010 SteveJ
Weird one that, I actually tried 3 different PC's all running IE8 and results fairly similar.
Many thanks anyway for looking into it. Shame I can't use the recipe for now but will keep an eye out here for any future release.
More then one Galleries on one Page
When i now trying to add a second gallerie with other pictures below the
first gallerie at the same page, i see only strange things.
Thanks for the Information. You really made a great program. It is worthwhile to wait for the next version.
HTMLDocument has no method 'ready'
Uncaught TypeError: Object #<an HTMLDocument> has no method 'ready'
This refer to the very beginning of the galleria code in the HTML output:
Any idea about what's wrong?
24-Jun-2010 Camille: I use a custom skin, indeed. I added the HTMLHeader item to my template and galleria added all of its css/js, and it works. Thank you :)
Is there any way to get the list automatically from attachments?
Peter Bowers June 07, 2010, at 03:35 AM: I would prefer to use per-page uploads and not have to create the text as the source -- basically to have the same functionality but dynamically created from the current uploaded files. Possible? Maybe I'm missing some easy way to do this...?
Can the auto (scroll) feature in jCarousel be used?
Active Image not showing up in image container when page loads the 1st time in IE7
06-January-2010 DerekLerner: The active image is not presenting itself on load when using IE7. I tested locally with a clean install of pmwiki-2.2.8 using the default skin, only including galleria.php set to use the ie7 skin via config.php in order to isolate if any conflicts were taking place with any other cookbook recipes. Safari and Firefox are working perfectly for me. I noticed that the demo used at Isfjorden Webcam is running pmwiki-2.2.4. The active image does present itself when that page loads in IE7. Any help or suggestions will be greatly appreciated. I also have gotten an error message "jCarousel: No widht/height set for items. This will cause an infinite loop. Aborting..." As a side note I am using WineBottler on a Mac to run IE7 for testing.
How to make multi-galleria ?
03-august-2009 AlPasq?: Hi, thanks for the job, my question, how to insert two or tree differents galleries with different listing in the same pmwiki page ? i try to make a different div id=, so i have two different carrousel but i have two identic expanded image. Solution exist ? Thx for your help.
Small thing: galleria.php version number incorrect
31-July-2009 IDB: A very small point: the version name and number in galleria.php in the download package galleria.zip appears to be incorrect. The file contains the lines:
$RecipeInfo['pmGallery']['Version'] = '0.1.0'; $RecipeInfo['pmGallery']['Date'] = '2008-07-19';
when I believe it should be
$RecipeInfo['Galleria']['Version'] = '0.2.0'; $RecipeInfo['Galleria']['Date'] = '2008-12-08';
Too much copy-and-pasting? ;-)
Delete this comment if/when you wish
Moving caroseul underneath main image?
29-July-2009 IDB: Is it possible to move the caroseul to underneath the main image? I can't work out how to do it.
How to adjust the dimension of image
22-Jun-2009 Mezquino?: Hello. First of all, I apologize for my poor english. Because of that, I'll do it easy: What can I do to adjust the dimension of the final image that appears on the screen (not the littles images in the carousel) so that the image does not appear to normal size? I asked because I dont want, if I put an 1200x800 px image, it fills the screen. I hope I have been clear. Thanks.
Question about where to put the images
2-Jun-2009 Burialmound: Hi there. I have a silly question: where exactly do I put my images so that they are loaded?
8-Jun-209 Burialmound: Hi there DaveG, thanks for your help. I must say that the images I want to upload will be stored somewhere in my company server. However, I don't how to point to those images, so that they are loaded by our wiki here.
Observation about browser dependency
Des April 22, 2009: Hi. Thanks for the recipe, I seem to have it working and styled broadly as I'd like it on my site, but have found that the thumb styling shows browser dependency.
IE is just about ok (there seems to be a little clipping error on the last thumb shown beside the Next button), while browsers like Firefox and Google Chrome fail to show the number of images requested by visible= and try to show anything up to 17 thumbs in the carousel regardless of the number requested.
I have been trying to track down the source, but the CSS is interpreted differently when tools like Firebug are activated in Firefox, eg the Prev and Next buttons disappear, and the number of thumbs changes. I'm no expert, so am struggling.
The effect can be seen at www.secretscotland.org.uk/index.php/Secrets/CoastalBatteryToward which I've been using to test the recipe, and shows the effect in the different browsers. The wiki page is open to edit if you wish to vary the parameters.
Question about usefull features
Gre: Hi. I like the gallary very much, but I realy miss some features below.
Reposition the carousel
How do you move the carousel EASY in a position of my choice relative to the image? I managed somehow to realize but it took very long :( .
Link to larger image
If "clicnext = false" then I would like to put a link on the image to view a bigger image by click:
Add a description
Have the possibility to ad a title or a description to the Images, maybe also a short title to the thumbs.
Des April 20, 2009: This may help for the large image, but not the thumb: If a comment is added to the image in Picasa, then it will appear under the large image when it is shown in Galleria.
Question about centering the carousel
Hello. I am a very new user of pmwiki (and I am french, so excuse me if you do not understand me). I would like to know if it is possible to center the carousel, and to left a bigger blank between the carousel and the displayed picture ? Thank you very much for your work, it is really awesome.
Question regarding thumbs size (0730-2008 23:00 GMT+1)
I'm using galleria toghether with pmgallery, and I found the thumbs size parameter in pmgallery very useful. Is it any way to make galleria have a similar option, to increase or decrease the size of each thumbnail image inside the carousel?