hi
I have a problem with the media in the preview mode!
If I upload an image at the workflow "media", all
is ok, the image is
available in the preview- and
publish area.
So, but if I upload an image in a element, which can relate
media, in my
case a element
called imagecontainer, the image is available in the publish
area but
not in the preview area.
If I add the following lines in my template for the
imagecontainer the
problem is solved:
% my $related_media = $element->get_related_media;
% if ($related_media) {
% $related_media->_preview;
...
but then the image is always previewed when the template is
called.
thx a lot
maik
|