<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">Hi Bruno,
<div dir="ltr"><br>
</div>
<div dir="ltr">You can very well return any kind of data from any responder. There’s nothing to stop you from having a callback block and in there do something like self requestContext respond:[:response| response ... ]. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">There you can do the same as what WAFileLibrary does: provide a document with mime-type, etc. if you set the content disposition you can even customize the filename. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Kind regards</div>
<div dir="ltr">Karsten</div>
</div>
<span id="draft-break"></span><br>
<br>
<br>
Georg Heeg eK<br>
Wallstraße 22<br>
06366 Köthen<br>
<br>
Tel.: 03496/214328<br>
FAX: 03496/214712<br>
Amtsgericht Dortmund HRA 12812<br>
<span id="draft-break"></span><br>
<br>
<div>
<div class="null" dir="auto">Am 31. Juli 2019 um 16:44:10 MESZ schrieb BrunoBB <smalltalk@adinet.com.uy>:<br class="null">
</div>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;" class="null">
<div class="null" dir="auto">
<div class="null">
<meta name="Generator" content="Microsoft Exchange Server" class="null">
<!-- converted from text -->
<div class="null"><font size="2" class="null"><span style="font-size:10pt;" class="null">
<div class="null">Hi,<br class="null">
<br class="null">
Actually i think this is not possible with Seaside (to serve an image<br class="null">
without WAFileLibrary).<br class="null">
<br class="null">
So i think the best approach is to:<br class="null">
1) Upload the image from Seaside<br class="null">
2) Copy the image to a virtual directory<br class="null">
3) Set Reverse Proxy to server the virtual directory of 3). (this step it<br class="null">
should be the first step :)<br class="null">
4) From Seaside create a image tag with url of 3) (the image served by the<br class="null">
RP).<br class="null">
<br class="null">
regards,<br class="null">
bruno<br class="null">
<br class="null">
<br class="null">
<br class="null">
<br class="null">
--<br class="null">
Sent from: <a href="http://forum.world.st/Seaside-General-f86180.html" target="_BLANK" class="null">
http://forum.world.st/Seaside-General-f86180.html</a><br class="null">
_______________________________________________<br class="null">
seaside mailing list<br class="null">
seaside@lists.squeakfoundation.org<br class="null">
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_BLANK" class="null">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br class="null">
</div>
</span></font></div>
</div>
</div>
</blockquote>
</div>
</body>
</html>