Hi ! My problem is that: I have an image "library" in FireBird database (gdb). I want to show the images in zope site, but I don't know, how to transform from blob field to real image (in html page). I want to use this conversion time-to-time, not at once, because it is database specific "data". Can anyone help me ? Thanx for it: FT -- Üdv/Kind of Regards: fowlertrainer@anonym.hu mailto:fowlertrainer@anonym.hu PS: Movies... I have movies that also need to transform... :-)
Hi You can do it like this: Build a function that returns the blob, let's say showImage, and then in HTML: <img src="showImage" border="0" alt=""> If you want you can pass a parameter (e.g. picture id or something like this): <img src="showImage?picture_id=..." border="0" alt=""> and in the showImage method get the specified picture. Hope this will help Dragos Hi ! My problem is that: I have an image "library" in FireBird database (gdb). I want to show the images in zope site, but I don't know, how to transform from blob field to real image (in html page). I want to use this conversion time-to-time, not at once, because it is database specific "data". Can anyone help me ? Thanx for it: FT -- Üdv/Kind of Regards: fowlertrainer@anonym.hu mailto:fowlertrainer@anonym.hu PS: Movies... I have movies that also need to transform... :-) _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Dragos Chirila -
fowlertrainer@anonym.hu