Closed (won't fix)
Project:
Simpleshare
Version:
6.x-1.0-beta5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2011 at 16:15 UTC
Updated:
1 Apr 2011 at 01:07 UTC
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');
Sorry, this part was quick&dirty.
But, isn't it possible to make a query if the imagefield is used?
Comments
Comment #1
Rob_Feature commentedThanks for posting the issue. The problem is that you're calling your imagefield specifically by name (field_image). What if someone named their imagefield something else? (field_myimage) We could try to autodiscover imagefields on the page, but we may get multiple, they may not be intended for display, etc. In addition, maybe the user doesn't want the imagefield displayed...so we'd have to give them control over that, etc. There's lots of issues with this.
All of these reasons is why we just let facebook default to the site's logo by adding nothing.
If you have an idea for how to get a custom image in here easily, let me know...otherwise, I can't see how we could do this reliably and with enough control for the user.
Comment #2
Rob_Feature commentedMarking as 'wont fix' unless someone comes up with a better plan.