Add:
<@ Register TagPrefix="dnn" TagName="RandomImage" Src="~/DesktopModules/TOM_RandomImage/TOM_randomimage.ascx" %>
to the top of the asxc page under other registrations.
Add:
<dnn:randomimage id='RandomImage' title='TomRandom' imgcount='2' cellspc='0' runat='server' tblalign='Center' bg='False' imgalign='Center'>
in the location you wish to have the image(s) appear in the ascx file.
Where
title=Name of directory containing images.
cellspc=spacing between cells.
imgcount=how many images to display.
tblAlign=alignment of table.
imgAlign=alignment of image in table.
bg=use as table background. Default is "False". Set to "True" if you want to use as a table background.
WARNING. Setting any of these incorrectly will cause a page load error.
Add:
<@ Register TagPrefix="dnn" TagName="RandomImage" Src="~/DesktopModules/TOM_RandomImage/TOM_randomimage.ascx" %>
to the top of the asxc page under other registrations.
Add:
<dnn:randomimage id='RandomImage' title='TomRandom' imgcount='2' cellspc='0' runat='server' tblalign='Center' bg='False' imgalign='Center'>
in the location you wish to have the image(s) appear in the ascx file.
Where
title=Name of directory containing images.
cellspc=spacing between cells.
imgcount=how many images to display.
tblAlign=alignment of table.
imgAlign=alignment of image in table.
bg=use as table background. Default is "False". Set to "True" if you want to use as a table background.
WARNING. Setting any of these incorrectly will cause a page load error.