Page 1 of 1
popfetcher image&category help
Posted: Sat May 23, 2009 5:27 pm
by strecth
Hi
I've recently installed popfetcher and got it working with cron etc but ideally i'de like to be able to have images posted in the body rather than just adding them to the gallery. Also i'de like to be able to post in a particular category by using a tag in subject line.
Any help would be great
Re: popfetcher image&category help
Posted: Mon May 25, 2009 10:21 am
by garvinhicking
Hi!
Having images in the body would require you to post HTML mails, this should be possible if your sending mailclient properly supports it. Posting in the subject line can be done according to the configuration page if you prepend "[category name]" to the subject.
HTH,
Garvin
Re: popfetcher image&category help
Posted: Mon May 25, 2009 5:14 pm
by strecth
Thanks for the reply I got the category bit to work but no luck with images, so far i've tried hotmail.
Re: popfetcher image&category help
Posted: Mon May 25, 2009 6:06 pm
by garvinhicking
Hi!
Send me an example mail that contains HTML markup and images that you would want in the post to mail at garv dot in, then I can have a look. Also tell me your current popfetcher settings (there are many options, some of them related to attachment/media handling).
Regards,
Garvin
Re: popfetcher image&category help
Posted: Mon May 25, 2009 9:02 pm
by strecth
Ah i'm thinking i've made a mistake with the html markup side of things as i've jsut been adding the pictures as attachments, could you give me an example?
Settings
Use plaintext attachments as entry body? Yes
First text attachment is entry body, the rest extended Yes
Text preference HTML
Strip advertisements? Yes
Strip HTML Tags from message No
Re: popfetcher image&category help
Posted: Mon May 25, 2009 10:36 pm
by garvinhicking
Hi!
If pictures are embedded as attachments, also serendipity/popfetcher can only handle them as attachments, unless you configured the plugin to show all attachments inline at the end of the blog article.
You would need to send a HTML mail with inline images, just like when creating a website witha WYISWYG editor. I don't use hotmail, so I cannot tell you if that is possible at all.
You might want to set "First text attachment is entry body, the rest extended" to "No".
HTH,
Garvin
Re: popfetcher image&category help
Posted: Sat Jun 13, 2009 7:05 pm
by strecth
After doing
You might want to set "First text attachment is entry body, the rest extended" to "No".
The image is now added to the post but via a link of the username of the poster? ie admin
Re: popfetcher image&category help
Posted: Thu Jun 25, 2009 7:13 pm
by strecth
Anyone help? don't really want to have to change blog software
Re: popfetcher image&category help
Posted: Fri Jun 26, 2009 9:51 am
by garvinhicking
Hi!
Can you please supply a link to such a blog entry, and maybe attach the mail that was used to create the entry, and tell us your configuration of the popfetcher plugin?
Regards,
Garvin
Re: popfetcher image&category help
Posted: Thu Oct 08, 2009 4:45 pm
by DwB
Have a look
here, just if you use POPfetcher v1.34 (the latest) you have to change it at line 1356.
Also the settings of the plugin should be
Use plaintext attachments as entry body? -> Yes
Text preference -> I personaly suggest to use "Plain Text"
The changed code in the linked thread makes it possible that you may have more than one picture in the entry, so setting "First text attachment is entry body, the rest extended" to "No" will result in having all send pictures in the entry.
Re: popfetcher image&category help
Posted: Sat Dec 05, 2009 10:01 pm
by strecth
Cheers DWB
Gavin as per my message i've upgraded to latest version of pop fetcher and i'm a little closer now, images are showing up as thumbnails however on clicking the image the link is broken, the image file is shown as
2009-12-03-11.49.10_188.0</u>-81.0_-5.0.jpg
however the bit that shows </u> should be a _ character ie
2009-12-03-11.49.10_188.0_-81.0_-5.0.jpg
Also is there a way to have image displayed at a specific resolution rather than the thumb?
Also for some reason the email message section is duplicated?
Re: popfetcher image&category help
Posted: Sun Dec 06, 2009 10:52 am
by garvinhicking
Hi!
This underline replacement comes from the "Serendipity Markup" event plugin. You'd need to disable that plugin so that it doesn't replace underscored words als underlined entities...
The default thumb size can be configured in serendipity itself, it always uses that one. Duplication of a mail section could happen when your mail has more than one text/plain attachment, or maybe a duplicate text/html part...
Regards,
Garvin
Re: popfetcher image&category help
Posted: Mon Dec 07, 2009 12:08 pm
by strecth
Cheers Garvin i'll look into those bits, with the popfetcher images is it possible to have them posted next to each other rather than in a vertical line ie
IMAGE IMAGE IMAGE
IMAGE IMAGE IMAGE
Rather than
IMAGE
IMAGE
IMAGE
Re: popfetcher image&category help
Posted: Mon Dec 07, 2009 1:37 pm
by garvinhicking
Hi!
You should be able to do that with CSS and floats, yes!
Regards,
Garvin