#20 — Image does not display in press release view

by Jonathan Crain last modified Jan 05, 2009 09:35 AM
State Rejected
Version:
Area User interface
Issue type Bug
Severity Medium
Submitted by Jonathan Crain
Submitted on Aug 25, 2006
Responsible Jon Stahl
Target release:


When viewing a press release, the image uploaded is not display. Looking at pressrelease_view I think the problem is there isn't an image_mini. I lookd at newsitem_view to see how it's done there, but it is the same code.


        <div class="newsImageContainer"
             tal:condition="here/image_mini | nothing">
            <a href="#"
               tal:attributes="href string:$here_url/image/image_view_fullscreen">
               <img tal:replace="structure python: here.tag(scale='mini', css_class='newsImage')" src="" alt="" />
            </a>
            <p class="discreet"
                  tal:content="here/getImageCaption">Image Caption</p>
        </div>

If I change image_mini to just image, I still don't get an image, but I get the alt text which is linked to the full size image.



Plone 2.1.2,
Zope (Zope 2.8.1-final, python 2.3.5, linux2),
Python 2.3.5 (#1, May 1 2006, 14:39:08) [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)],
PIL
Steps to reproduce:
View a press release with an associated image uploaded.
Added by Jon Stahl on Aug 25, 2006 05:15 PM
Target release: None1.0
Responsible manager: jonstahl(UNASSIGNED)
Jonathan-

We're not able to reproduce this -- it works for us at: http://cms.onenw.org:8080/p[…]heroes-of-conservation.html
for example. (Which is Plone 2.1.3, admittedly. I will test under Plone 2.1.2, too.)

Are you sure you don't have some sort of underlying PIL issue?

best,
jon
Added by Jon Stahl on Aug 25, 2006 05:35 PM
Issue state: unconfirmedrejected
Responsible manager: (UNASSIGNED)jonstahl
User determined that this was a local PIL issue.

No responses can be added.