Quick question about settings..
Posted: Wed Sep 29, 2004 6:49 pm
Im working on my gmail fetcher plugin. and it all works! except..
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:
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?
-Jason
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