If you dont have imagemagick installed, or if the attachment isn't a picture, I'm leaving the images on gmail (they give you a gig of storage why not take advantage of it?) and linking to them.
the image will just be part of themessage as an img tag like:
Code: Select all
<img src="plugins/serendipity_event_gmailfetcher/getgmailimage.php?a=1&m=askdjasldkj&f=Foo.jpg">
Does this make any sense?
Also should popfetcher check if imagemagick is installed before calling serendipity_makeThumbnail?
-Jason