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

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

Return photo object for given display.

Definition at line 387 of file Photo.py.

00387                                        :
        """Return photo object for given display."""
        try:
            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