Page 1 of 1

Markup: Gallery Image

Posted: Sat May 19, 2007 6:04 pm
by Xanthouos
I wasn't able to find out where/how to use this. If I understand, you should be able to include a Gallery 1x in s9y. But I couldn't find where to show the gallery, link to it or anything. Where do I find documentation for this?

Thanks!!

Posted: Mon May 21, 2007 9:37 pm
by smartieskiller
it's easy to include it

if you want to make like me (see my blog here )
i made like this:
  • download the gallery-2.1-rc-2a-full (someone post it in this forum.Use search to find it)
  • install it but not in your serendipity directory (it's my error ,i must reinstall gallery to correct it)
  • install the serendipity_event_g2embed
  • Configure the plugin
  • Make a link like this index.php?serendipity[subpage]=gallery2 it's only for example
  • Enjoy your gallery
Anyone can correct me if i do something wrong

Posted: Mon May 21, 2007 10:49 pm
by Xanthouos
Thank you for the response.

Thing is, I have Gallery 1 installed, with almost 800 photos. I haven't wanted to upgrade gallery for now.

There is (from what I understand) a plugin for gallery 1x:
Name Markup: Gallery Image
Description Inserts a Gallery album or image using markup text.
That's what I'm trying to use. It has a drop down menu for you to chose which version of Gallery you use...and that's where I'm stuck.

Posted: Sun Jun 10, 2007 5:52 am
by scottwalsh
Hi Xanthouos,

I see you posted this a wee while ago, did you solve it?

Are you having issues configuring it? Or using it?

I’ve only got gallery2, but recently wrote some patches for the gallery plugin so now a little about how it works…

Posted: Wed Jun 13, 2007 9:08 pm
by Xanthouos
Hi there, thanks for the interest. No, I'm still not able to include Gallery in my blog. It says it should "Inserts a Gallery album or image using markup text.", but I haven't been able to figure it out.

Image
Bigger img

Posted: Sat Jun 16, 2007 2:36 am
by scottwalsh
The plugin doesn't really put Gallery inside you blog, but lets you include an image from your Gallery inside a blog post using markup.

The format of the markup for inserting an image is:

Code: Select all

Basic usage is:
[GImage]album/image.ext[/GImage] with .ext needed if not the default .jpg
full syntax is:
[GImage size=sized|full|thumb; link=image|image_sized|album|page|none; align=left|center|right|none; caption=text string; style=link|fancy|image][album/]image.ext[/GImage]
All of my photos are under http://zone3.net/nz/photos/ ,which is in my plugin config.

If you have a look at http://zone3.net.nz/archives/20070606-T ... -Comp.html you'll see the result. The two images are from Gallery2.

The markup used within the above page is:

Code: Select all

[GImage]/2007IntrepidPhotoComp/RealLifeExperances/WrestlingWithTheMongolianLocals.jpg[/GImage] 

Code: Select all

[GImage]/2007IntrepidPhotoComp/Icons/StPetersburgBronzeHorseman.jpg [/GImage] 
As you’ll see from the above, the images in a sub-album within an album, not sure if this is a feature Gallery supports, but it is well tested with Gallery2…

I haven't tried the plugin with Gallery (only Gallery2) and couldn't quite make out the config screenshot text to see if it looked correct...


[/code]