Logo Search packages:      
Sourcecode: zope-photo version File versions

def zope-photo-1.2.3::Photo::Photo::_getDisplayPhoto (   self,
) [private]

Return photo object for given display.

Definition at line 384 of file Photo.py.

00384                                        :
        """Return photo object for given display."""
            base, ext = string.split(self.id, '.')
            id = base+'_'+display+'.'+ext
        except ValueError:
            id = self.id+'_'+display
        return self._original._newImage(id, self._getDisplayData(display), self.absolute_url(1))

    def _makeDisplayPhoto(self, display, force=0):

Generated by  Doxygen 1.6.0   Back to index