Gallerimage Plugin syntax
Posted: Wed Oct 05, 2005 9:17 pm
Hello,
I’ve Gallery2and serendipity 0.8.5 on my hosting account at domainfactory. Both are running fine, but I like to join them together so I installed Markup Gallery Image.
1) Does this plugin insert a link or albums or only a link to albums or link?
2) The configurations page is a little confusing (by my point of view):
2.1) URLs
- With or without “http://” at the beginning
- Do I have to write a “/” at the end?
Tests yields to different results.
2.2) Path-particulars:
- Do I have to write a “/” at the end?
- I’ve got no tmp directory in my album directory. The only tmp directory at my gallery2 installation is from the root of the base installation directory.
3) It was a little bit tricky to find out, to find the usage of the plugin, until I was looking in the PHP-File of the plugin.
Btw: Examples are always a helpful and it would be great, to insert a text in the view of serendipity, not only at the plugins source code. Serendipity is great and different from many other blog-software for me because I usually don’t have to edit source code.
I hope that someone can help me by answering my questions. Thanks a
lot!
Benjamin
I’ve Gallery2and serendipity 0.8.5 on my hosting account at domainfactory. Both are running fine, but I like to join them together so I installed Markup Gallery Image.
1) Does this plugin insert a link or albums or only a link to albums or link?
Inserts a Gallery album or image using markup text.
2) The configurations page is a little confusing (by my point of view):
2.1) URLs
URL of Gallery
URL of the Gallery album directory
- With or without “http://” at the beginning
- Do I have to write a “/” at the end?
Tests yields to different results.
2.2) Path-particulars:
The absolute server-path to the gallery directory.[/quote]Absolute gallery-path (Only used for Gallery 2.x versions!)
- Do I have to write a “/” at the end?
- Do I have to write a “/” at the end.Absolute album-path (Only used for Gallery 2.x versions!)
The absolute server-path to the album directory. The ./tmp directory in this album directory has to be writeable for the webserver!
- I’ve got no tmp directory in my album directory. The only tmp directory at my gallery2 installation is from the root of the base installation directory.
3) It was a little bit tricky to find out, to find the usage of the plugin, until I was looking in the PHP-File of the plugin.
- But I’m only able to write link (if a link is the correct result) with basic syntax.// 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]
Btw: Examples are always a helpful and it would be great, to insert a text in the view of serendipity, not only at the plugins source code. Serendipity is great and different from many other blog-software for me because I usually don’t have to edit source code.
I hope that someone can help me by answering my questions. Thanks a
lot!
Benjamin