How to use Gallery event plugin

Creating and modifying plugins.
Post Reply
Master_K999
Posts: 3
Joined: Sun Oct 30, 2005 7:38 pm

How to use Gallery event plugin

Post by Master_K999 »

Ok, I have made great strides with my S9y installation in just the last few hours. Now I am trying to start something a little more advanced and I want to use the Gallery event Plugin to show my gallery2 stuff.

From looking at the plugin I see that I want to use [GImage link=album]album_name[/GImage] but when I put this in a new entry it shows that code it does not show the gallery link. I am new to S9y and have already made some silly mistakes so I would not be surprised if I was doing the same here. Do I misunderstand this markup stuff? Where do I place the code [GImage link=album]album_name[/GImage]?

Thanks,

Master K Out
dma147
Regular
Posts: 132
Joined: Thu Sep 08, 2005 1:50 pm
Location: Berlin
Contact:

Post by dma147 »

Hello...

I've just answered such a post some days ago, so everyone should first use the search-function of this forum before posting his question. ;)

Well, here's the thread:
http://www.s9y.org/forums/viewtopic.php ... lleryimage

You'll find there general configuration hints and at least some general usage stuff including a link to the original homepage of this plugin where all the usage possibilities are explained.
Alexander Mieland, dma147
http://blog.linux-stats.org
Master_K999
Posts: 3
Joined: Sun Oct 30, 2005 7:38 pm

Post by Master_K999 »

I saw that post and that is how I knew I wanted to use [GImage link=album]album_name[/GImage]

My question, if you had fully read it :wink: was more about how markup in Serendipity works as a whole and more specifically with regards to this plugin.

As I said I put the code [GImage link=album]album_name[/GImage] into a post (replacing album_name with a real album name of my gallery) but when I look at the post it does not render right, just as [GImage link=album]album_name[/GImage].

I guess what I am asking is there a ho-to about serendipity markup code anywhere? It seems to be the least documented part of serendipity.

Thanks,
dma147
Regular
Posts: 132
Joined: Thu Sep 08, 2005 1:50 pm
Location: Berlin
Contact:

Post by dma147 »

Well, first, you have to specify also the name of the image you want to show in your post like this:
[GImage link=album]album_name/image_name[/GImage]

Second, you simply have to install this "galleryimage" plugin into your s9y, like every other markup-plugin too. Then you should reorder your event plugins so that the galleryimage is above of the nl2br plugin in this plugin list.

Third, no, there is no special documentation about the markup plugins, because nearly every markup is a plugin on its own with different authors and developers and there comes new plugins every day or the plugins gets updates every day. So this would be a work like that what sysiphus had to do every day, to develop a documentation of every plugin.
Alexander Mieland, dma147
http://blog.linux-stats.org
Post Reply