Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have just installed ImageGen and was reading through your documentation to get an idea of how to use it. I tried the first 'Umbraco Template' example:
<img src="/ImageGen.ashx?text=<?UMBRACO_GETITEM field="pageName"/>" alt=<?UMBRACO_GETITEM field="pageName"/> />
However, this did not work for me. I have changed it to be:
<img src="umbraco/ImageGen.ashx?text=<umbraco:Item field='PageTitle' stripParagraph='true' runat='server'></umbraco:Item>" alt="testtext" />
This works for me. Is this the correct syntax?
Yes, that's the correct syntax.
I'm working on ImageGen 3 and it will include the umbraco 4 syntax throughout in the documentation.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted