Extension talk:Semantic Gallery

Usage
I installed SemanticMediaWiki just to use this extension but I can't seem to get it to output anything. Using the code '' doesn't do anything (there are images tagged in the Image category). If I just want to use this extension to display gallery's of Category images do I need to do anything with SMW or does it know what the Category tag is? Also, can this extension display the results from multiple categories in a single gallery? Can the query be configured so that it only shows images that, for example, are in both Category:1 and Category:2 but not the all images in either category?

Sorry for the barrage of questions. --38.99.130.13 15:16, 15 January 2009 (UTC)wt-2008

To display a gallery of images from a single category: To display a gallery of images that are in either one of two given categories: To display a gallery of images that are in both given categories:

I would have replied sooner if I knew of a good way to monitor a particular page for changes through my feedreader (or with email notifications). Good luck! --BigSmoke 19:21, 22 January 2009 (UTC)


 * BigSmoke - you should click on "watch" for this page, then click on "my preferences" at the top and, in the main tab, select "E-mail me when a page on my watchlist is changed". Yaron Koren 22:30, 22 January 2009 (UTC)


 * Yaron, Thanks! You're very helpful. :-D --BigSmoke 08:52, 23 January 2009 (UTC)

=Help with install= Thanks for emailing me the scripts. It seemed simple enough, however, when I presumed to add: require_once( 'extensions/SemanticGallery/SemanticGallery.php' ); to the end of my LocalSettings.php file, it resulted in an error, namely: Fatal error: Access to undeclared static property: SMWQueryProcessor::$formats in /wiki/extensions/SemanticGallery/SemanticGallery.php on line 23 What did I do wrong? - Thanks!

- revansx

Is the Semantic MediaWiki extension already working? It should be loaded before the SemanticGallery extension. --BigSmoke 15:28, 4 December 2008 (UTC)

yes it is (as is evidenced by the correctly working semantic calendar) and Semantic Gallery is definately being loaded last.

any other thoughts?

- revansx

Could you let me know if the version that I put up in SVN fixes this? I see that you're not using the extension in your wiki yet, so I'm curious to know about any problems left. --BigSmoke 19:25, 22 January 2009 (UTC)

Displaying caption?
hello thanks for this extension. I dont understand on how to display other caption (custom) other than the namespace.

thanks


 * Never mind got it. I create a property and it display.

Hi there, I still have the same question! How do you get the file descriptions to show up as captions?

Thanks!

Bug
I'm using MW 1.15 and SMW 1.5 and when saving a Page with ask parser and Format gallery I'm getting this error

Fatal error: Call to a member function addImage on a non-object in /.../extensions/SemanticGallery/SG_ResultPrinter.php on line 59

--DaSch 01:03, 15 March 2009 (UTC)

Gallery not working
I'm using Semantic Gallery version 0.3.1 from svn with Mediwiki 1.15.1 and SMW 1.4.3. I have the following query to return the images linked to a company:

However, all that is displayed is the title of the images, the images do not show. I have all the image and thumbnail stuff switched on and images show if is used. Any ideas? Thanks --mitchelln 09:12, 22 February 2010