Re: Dexterity - TAL Expression to Display Images from Blobstorage

Asko Soukka <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Hi Andreas,

have tried the following methods (included in Plone by default):

     https://pypi.python.org/pypi/plone.app.imaging

e.g.

     img tal:replace="structure context/@@images/image/mini" />

where 'image' is the fieldname.

Regards
Asko


Andreas Mantke wrote:
> I want to get the image from the field "project_logo = NamedBlobImage"
> (from eupproject.py) with the TAL expression. But the image could not be
> loaded because the expression was not replaced with the URL to the
> project or the file.
>
> I could show the image with a similar TAL expression on the
> eupproject-view. But it is currently not possible to scale the image
> down. Would be nice to get a hint, how to fix that, too.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.