Hi,<br>the zope.browserresource package solved the issue.<br><br>Simon<br><br><div class="gmail_quote">On Mon, Aug 9, 2010 at 3:26 PM, Jonathan (dev101) <span dir="ltr">&lt;<a href="mailto:dev101@magma.ca">dev101@magma.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">&lt;snip&gt;</span></p>

<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:zope3-users-bounces@zope.org" target="_blank">zope3-users-bounces@zope.org</a> [mailto:<a href="mailto:zope3-users-bounces@zope.org" target="_blank">zope3-users-bounces@zope.org</a>] <b>On Behalf
Of </b>Simon Elbaz<br>
<b>Sent:</b> August-09-10 9:12 AM<br>
<b>To:</b> zope3-users<br>
<b>Subject:</b> [Zope3-Users] SVG files</span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"> </p>

<p class="MsoNormal">Hi all,<br>
I would like to know if there is a way to include SVG files into HTML pages.
These files are dynamically generated and their name change.<br>
<br>
Thx for your help<br>
Simon </p>

</div></div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">&lt;/snip&gt;</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">We use a lot of dynamically generated image files, and this is
how we handle it:</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><span>1-<span style="font: 7pt &quot;Times New Roman&quot;;">     
</span></span></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">Create a temp_folder (a RAM based folder)</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><span>2-<span style="font: 7pt &quot;Times New Roman&quot;;">     
</span></span></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">Have your code create an image object in the temp_folder</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><span>3-<span style="font: 7pt &quot;Times New Roman&quot;;">     
</span></span></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">Have your code then insert the id (and path) of the newly
created image object into the html you display to the user</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><span>4-<span style="font: 7pt &quot;Times New Roman&quot;;">     
</span></span></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">We have a garbage collector that removes the image objects after
a few minutes (deletion time depends on the volume of images generated, how big
they are and how much ram you want to dedicate to temporary image storage).</span></p>

<p class="MsoNormal" style="margin-left: 18pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">HTH</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><font color="#888888">

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Jonathan</span></p>

</font></div>

</div>


</blockquote></div><br>