I have created a patch that checks the _teaserthumbnail_strip_media function and instead or removing everything, it looks to see if the image has a "://" in the source and will then try to just display the remote image within the proper dimensions instead of just deleting it.

I'd like feed back on this to see if this would even be a good place for this functionality.

I needed this because I had Feed Items that were coming in and I wanted the images in the teaser, just not at full size.

I've got it working on http://www.sunset.cc/

CommentFileSizeAuthor
remote_thumbnails.patch4.4 KBcode rader

Comments

hunvreus’s picture

I am not sure Teaser Thumbnail would be a good fit for this; I seem to remember there was a project on its own trying to deal with remote pictures in nodes. I am wondering if we could simply add support for imagecache to deal with remote pictures (by using a temporary copy of the remote picture on the local server). However this raises problems of copyright/ownership of the pictures... What's your take on it?

hunvreus’s picture

Status: Needs review » Postponed (maintainer needs more info)
code rader’s picture

I don't think that imagecache should handle these because of copyright. There have been some other projects that did a little here and there,b ut I just figured this would be an easy extension of what you were already doing. If people are going to be using thumbnails in teasers then if they have an external feed coming in they will probably want thumbnails in it as well.