1.)
For sending pictures with posts you can at

$picture=url($node->field_image[0]['filepath'], array('absolute' => TRUE));

to the simpleshare.modal.inc.
And change one of the following lines to:

$fb_query = array('app_id' => $fb_appid, 'link' => $link, 'name' => $title, 'description' => $description, 'picture' => $picture, 'redirect_uri' =>$redirect, 'display' => 'popup');

2.)
In simpleshare.modal.inc I think is it also better to using $description=strip_tags($node->teaser);
If people use a wysiwyg-editor and not text_plain, no teaser will post to facebook.

Comments

Rob_Feature’s picture

Status: Active » Postponed (maintainer needs more info)

Feel free to post a patch and I'll look it over.

Rob_Feature’s picture

Title: Sending pictures with posts » Strip Tags from Teaser
Status: Postponed (maintainer needs more info) » Fixed

The first part of this post (the main part) was about adding an imagefield. We can't do what you suggest because we can't know if everyone is using an imagefield at all. So, we won't fix that.

Your strip tags suggestion, however, is a good one and it's been committed to dev. (please dont mix two issues in one issue queue post)

breitner’s picture

Sorry, my part with the imagefield was quick&dirty.
But, isn't it possible to make a query if the imagefield is used?

Rob_Feature’s picture

Please start a new issue and we can discuss it there. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Felicia22’s picture

How do I take the strip tag out of my teaser node code? It's in my event body teaser code to strip tags and I don't want it there??

Felicia22’s picture

How do I take the strip tag out of my teaser node code? It's in my event body teaser code to strip tags and I don't want it there??

Felicia22’s picture

How do I take the strip tag out of my teaser node code? It's in my event body teaser code to strip tags and I don't want it there??