Brent
07-08-2011, 10:23 PM
Image embedding in skin layout: one line of code
[GetImage:0:5018,w=240,h=120]
Similar to the existing skin variables, the whole thingy is enclosed in square brackets, with the most important parameters separated by a colon ":".
Basic syntax:
[GetImage:imageid:pluginid,w=xxx,h=xxx]
1. "GetImage" is the fixed name for the image embedding
2. imageid is "0" or a valid image id; 0 will display a random image for each pageload
3a. pluginid: 17 for Image Gallery or plugin id of a Media Gallery plugin
3b. after the plugin id it currently supports a list of width and height dimensions (commas!)
This "variable" can be placed (almost) anywhere in a Skin "Layout" (not custom plugin) wherever an image is desired (probably enclosed within a styled "div" element for positiong etc.).
See full post and make suggestions here:
http://www.subdreamer.com/forum.html?topic_id=16718
[GetImage:0:5018,w=240,h=120]
Similar to the existing skin variables, the whole thingy is enclosed in square brackets, with the most important parameters separated by a colon ":".
Basic syntax:
[GetImage:imageid:pluginid,w=xxx,h=xxx]
1. "GetImage" is the fixed name for the image embedding
2. imageid is "0" or a valid image id; 0 will display a random image for each pageload
3a. pluginid: 17 for Image Gallery or plugin id of a Media Gallery plugin
3b. after the plugin id it currently supports a list of width and height dimensions (commas!)
This "variable" can be placed (almost) anywhere in a Skin "Layout" (not custom plugin) wherever an image is desired (probably enclosed within a styled "div" element for positiong etc.).
See full post and make suggestions here:
http://www.subdreamer.com/forum.html?topic_id=16718