Moin,
ich bins nochmal. ICh habe den Mambot gerade auch installiert, um in Artikeln Bilderserien einzügen, ähnlich wie hier zB: http://www.computerbase.de/news/soft...hacker_drinks/
Also wo dann von einem Album die Bilder als Thumbs angezeigt werden.
Wie man das benutzt kannst du hier nachlesen:
Code:
Ice Content Mambot
(version 0.5 beta July 2006)
This page documents the Ice Content mambot. This mambot makes it possible to use media from the Ice Gallery in content items. It fully respects Ice Gallery's global access policies and those for the medium itself. Media that a user is not allowed to view will not be displayed in the content.
How to use the mambot?
Well, first you need to have Ice Gallery installed, of course. If not, see the resource paragraph for web links. You will also have to add some pictures to Ice Gallery.
There are two options for including media in your content: Do it manually or use the wizard built into Ice Gallery. To enable the wizard in Ice Gallery, you have to save the Ice Gallery settings after installing the Ice Content mambot, only then it will be recognized and an icon (a 'bulb') will appear in the header of every medium. A click on it will call the wizard to help you create a tag for that medium. Including media this way is user friendly but slow. Later on, with a little practice, you will become the wizard yourself (it is really no big deal...).
Manually adding the mambot code
Start editing a content item. In the same place where you add text, you can add this sample code as well: {ice medium-id}. See the paragraph with quick sampes for more. When reading the content, {ice medium-id} will be replaced by the full size medium.
Quick samples for usage
* {ice 5004}
a full size medium (if it is an image, otherwise a thumbnail without link), uniquely identified by the medium-id 5004 in Ice Gallery and aligned to the left border with default styltes and no caption.
* {ice 5004 [this is my caption text]}
previous example plus a custom caption text is placed under the medium. The default styles are being applied.
* {ice 5004 -link [!this is my caption text]}
previous example, but because of the '!' the caption text is placed on top of the thumbnail, which now opens a window with all the medium details when you click on it.
* {ice 5004 -thumb #2 [!this is my caption text]}
previous example, but a thumbnail only with no link to Ice Gallery and aligned to the right border because of style #2.
Complete syntax for the Ice Content tag
{ice medium-id [#111] [-thumb] [-link] [-debug] [[!][caption]]] }
* parameters and values between '[' and ']' are optional. Default values are being applied if these parameters are not provided.
* medium-id (required)
is the unique id given to a medium in Ice Gallery (see also 'Where do i find the medium id?')
* -thumb or -t
with this option you insert a thumbnail of the medium in your content without a link to Ice Gallery. By default the full size medium will be inserted (if it is an image, otherwise a thumbnail without link).
* -link or -l
with this option you insert a thumbnail of the medium in your content and link it to a Ice Gallery popup window with all the media details. If popup windows are not allowed in Ice Gallery, the medium detail page will replace the content page where the medium is embedded.
* -debug or -d
if you have trouble making your Ice Content tag work, '-debug' will give you additional information on top of the screen.
* #container-style[medium-style[caption-style]]
choose the style of the medium you want to embed. The style defaults to '#111', which results in a left aligned medium with text floating right and standard styles for the medium itself and its caption. '#2' will align the medium on the right border with the text floating left to it and '#3' will center the medium with no text left or right. With the second number you can chose between three different medium styles and with the third number between three different caption styles.
* [[!][caption]]
add a caption to the top or bottom of the medium. If [caption] is not provided, the caption will be the description (if there is any) of the medium taken from Ice Gallery. The position of the caption defaults to 'bottom', but if the '[' is followed by a '!', the caption is placed on top of the medium instead.
Nota bene: Do not provide any values containing '}'.
Nota bene: Do not use the " (double quote) in caption texts. Single quotes are possible, though.
How do i find the medium-id?
In Ice Gallery move your mouse cursor over the little bulb above the medium's thumbnail. The number in the metabox which is going to appear, is the required medium-id.
About styling
There are three elements to style: the main container, the medium and the caption. The classes for each of these elements are defined in the default.css style sheet of Ice Gallery. Since Ice Gallery supports dynamic style sheets (loading the style sheet that matches the current joomla/mambo template) you can also define a different look for the container, medium and caption in each of these style sheets. Edit the classes described below in the settings (in tab stylesheet) of Ice Gallery.
Container styling
After installation of Ice Gallery the four default settings are as follows:
* default style applied to container:
class='container1': style=' float: left; border-width: 0px; margin: px; padding: 2px 4px 2px 4px;'
this will bring the main container to the left of the text in which it is embedded.
* style 2 applied to main container:
class='container2': style=' float: right; border-width: 0px; margin: px; padding: 2px 4px 2px 4px;'
this will bring the main container to the right of the text in which it is embedded.
* style 3 applied to main container:
class='container3': style=' text-align: center; border-width: 0px; margin: px; padding: 2px 4px 2px 4px;'
this will bring the main container in the middle of the text. Text stops above and continues below the medium.
* style 4 applied to main container:
class='container4': style=' border-width: 0px; margin: 0px; padding: 2px 4px 2px 4px;'
this will bring the main container to the left of the text. Text stops above and continues below the medium.
Medium styling
After installation of Ice Gallery the two default settings are as follows:
* default style applied to the medium:
class='image1': style=' border: 0px;'
* style 2 applied to the medium:
class='image2': style=' padding: 3px 3px 3px 3px; border: 3px outset #444444;'
* style 3 applied to the medium:
class='image3': style=' padding: 3px 3px 3px 3px; border: 3px groove #444444;'
Caption styling
After installation of Ice Gallery the two default settings are as follows:
* default style applied to caption:
class='caption1': style=' background-color:#DDDDDD; text-align:center;'
* style 2 applied to the caption:
class='caption2': style=' text-align:center;'
* style 3 applied to the caption:
class='caption3': style=' ';
Is Ice Content not working as it should?
Check your mambot tag: does it comply to the syntax described above? Pay attention to the "nota bene's".
Check the page-source in your browser: does the html look correct?
Do you use compatible versions of Ice Gallery and Ice Content mambot? See below.
Lesezeichen