[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-bugs
Subject:    [Bug 1273] New: media after upload not available at previewarea
From:       "DO NOT REPLY - use bugs.bricolage.cc" <bugs () bricolage ! cc>
Date:       2007-02-27 10:22:23
Message-ID: bug-1273-190 () http ! bugs ! bricolage ! cc/
[Download RAW message or body]

http://bugs.bricolage.cc/show_bug.cgi?id=1273

           Summary: media after upload not available at previewarea
           Product: Bug Tracker
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
        AssignedTo: marshall@exclupen.com
        ReportedBy: arnold@webit.de


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 a new 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.


-- 
Configure bugmail: http://bugs.bricolage.cc/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic