# for this below, the return is: wall imagem = context.uid_catalog.searchResults(UID=uid)[0] foto = imagem.getObject() return foto # I'm trying this now to return an image_preview imagem = context.uid_catalog.searchResults(UID=uid)[0] foto = imagem.getObject() return foto.absolute_url().image_preview() # In page template, I make this: # But, in script python, I don't know how to make this. # Any idea ?