Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ruth White 5 posts 23 karma points
    Jul 29, 2009 @ 13:32
    Ruth White
    0

    Documentation out of date

    Hi Doug,

    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?

    Thanks

    Ruth

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Jul 29, 2009 @ 14:50
    Douglas Robar
    0

    Yes, that's the correct syntax.

    I'm working on ImageGen 3 and it will include the umbraco 4 syntax throughout in the documentation.

    cheers,
    doug.

Please Sign in or register to post replies

Write your reply to:

Draft