def get_placeholder_img(self):
        """
        Returns fake ``FormatedPhoto`` object grabbed from image placeholder
        generator service for the purpose of debugging when images
        are not available but we still want to see something.
        """
        pars = {
            'width': self.max_width,
            'height': self.max_height
        }
        out = {
            'placeholder': True,
            'width': self.max_width,
            'height': self.max_height,
            'url': photos_settings.DEBUG_PLACEHOLDER_PROVIDER_TEMPLATE % pars
        }
        return out
def get_placeholder_img ( self ) : pars = { 'width' : self . max_width , 'height' : self . max_height } out = { 'placeholder' : True , 'width' : self . max_width , 'height' : self . max_height , 'url' : photos_settings . DEBUG_PLACEHOLDER_PROVIDER_TEMPLATE % pars } return out
Returns fake ``FormatedPhoto`` object grabbed from image placeholder
        generator service for the purpose of debugging when images
        are not available but we still want to see something.