Copied to clipboard

Flag this post as spam?

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

  • Profiterole 232 posts 264 karma points
    Apr 05, 2012 @ 20:29

    Wrong images created

    Hi, I use ImageGen Professional version on my homepage to display random teachers info

    So, in xslt it picks a node(teacher) randomly,

    <xsl:variable name="nodeRandom" select="ucomponents.xml:RandomNode(umbraco.library:GetXmlNodeById(1515)/*[@isDoc])" />

    then, imagegen frame and show the photo :

    <img src="/ImageGen.ashx?image=/AP/albums-photos/teachers/{$photo}&amp;overlayimage=/AP/albums-photos/frane.png" alt="{$firstname}"/>

    and beside the teacher photo it displyas teacher info :

    <img src="/ImageGen.ashx?image=/AP/albums-photos/texte.png&amp;align=left&amp;valign=center&amp;rotate=-8&amp;font=/AP/albums-photos/BROKEN15.TTF&amp;fontsize=18&amp;text={$texte}"/>

    I have 115 teachers, so I tought it would create 115 photos and 115 info-images in cache. Then, it should only display cached photos...

    But the cache folder for info-images keep growing and now have 300+ png files. Some of the files are only the base image, others are info-image but without rotation and others without the right font.

    So, why wrong images are created? How could I fix this? Can you help me!

    Thank you

  • Profiterole 232 posts 264 karma points
    Apr 10, 2012 @ 17:11

    Someone as constant increasing cache?

Please Sign in or register to post replies

Write your reply to: