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: