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
Since I obviously DON'T want to pass the gmail username and password as paramaters to getgmailimage I'll need access to serendipity settings for gmail username and password (which my gmailfetcher plugin sets correctly) outside of the serendipity framework. Whats the easiest way to accomplish this? What do I need to include, and what functions do I need to call to initialize the $this->getconfig framework?
Does this make any sense?
Also should popfetcher check if imagemagick is installed before calling serendipity_makeThumbnail?