Try adding "|link=none" to the query. Also, if these are images stored on the wiki, the type of "hasImage" should probably be "Page".

Also, it might be worthwhile to check out the new "Semantic Gallery" extension:


(I don't know if Rowan, the author, is planning to announce it, but this seems like a good place to mention it.)


On Fri, Dec 19, 2008 at 3:52 AM, Felix Kratzer <felix.kratzer@brandmaker.com> wrote:

Hi List,


I have several pages that contain an image. The image is also annotated by [[hasImage::UrlOfImage]]


Now I want to show the images in a query:


| blah….

| ?hasImage



This shows only the link to the image (which is fine)

Now I define hasImage to [[has type::URL]]

Now in query the images are shown…


BUT: they have a wrong format… so I want to format the images ;-)

I change the query to use a template


| blah….

| ?hasImage

| format=template

| template=MitarbeiterListeQuery



And try to format the image in the template… but in vain..


Any suggestions? Or am I just looking COMPLETELY the wrong way?




Semediawiki-user mailing list