payman_ej
01-13-2009, 12:50 PM
سلام من lightBox رو از mambo-digg دانلود کردم و روی 4.6.5 نصب کردم و کار هم میکند.ولی هنگامی که میخواهم از Argument های این مامبوت که در خود مامبوت هم توضیحاتش هست استفاده کنم به جای تصویر کد mosimage رو نشون میده...
مثلا برای اینکه از یک تصویر thumbnail نسازد {mosimage thumbs=0} رو به جای {mosimage} قرار میدم ولی تو سایت به جای تصویر {mosimage thumbs=0} رو نمایش میده.
این هم آموزشی که تو خود این مامبوت نوشته شده:
With the normal {mosimage} tags, lightBox will use the global settings as defined in the admin section. You can also pass image specific arguments via {mosimage arg1=value1&arg2=value2&...}, which will override the global lightBox settings. The list of arguments can be any combination of:
Arguments Values Defaults Description
thumbs 0 or 1 1 Generate thumbnails for large images.
width size in px 150 Maximum width of thumbnail.
height size in px 150 Maximum height of thumbnail.
popups 0 or 1 1 Use javascript popups.
max 0 or 1 0 Stretch thumbnail to width and height (lose ratio).
cache 0 or 1 1 Cache and reuse generated thumbnails.
caption 0, 1, or 2 1 Caption control: disable, below, or above.
hide 0 or 1 0 Hide thumbnail for additional images in LightBox set.
مثلا برای اینکه از یک تصویر thumbnail نسازد {mosimage thumbs=0} رو به جای {mosimage} قرار میدم ولی تو سایت به جای تصویر {mosimage thumbs=0} رو نمایش میده.
این هم آموزشی که تو خود این مامبوت نوشته شده:
With the normal {mosimage} tags, lightBox will use the global settings as defined in the admin section. You can also pass image specific arguments via {mosimage arg1=value1&arg2=value2&...}, which will override the global lightBox settings. The list of arguments can be any combination of:
Arguments Values Defaults Description
thumbs 0 or 1 1 Generate thumbnails for large images.
width size in px 150 Maximum width of thumbnail.
height size in px 150 Maximum height of thumbnail.
popups 0 or 1 1 Use javascript popups.
max 0 or 1 0 Stretch thumbnail to width and height (lose ratio).
cache 0 or 1 1 Cache and reuse generated thumbnails.
caption 0, 1, or 2 1 Caption control: disable, below, or above.
hide 0 or 1 0 Hide thumbnail for additional images in LightBox set.