Page 1 of 1

share gallery picture with facebook?

Posted: 30 Nov 2010, 14:59
by sumanguj
is this possible to share individual pictures with facebook? Please check the demo if you fail to understand.

check the demo here for jwallpapers which has "Share on facebook": http://jwallpapers.wextend.com/editors- ... h-columbia

Re: share gallery picture with facebook?

Posted: 01 Dec 2010, 01:09
by Jan
Hi, just use any Joomla! plugin or module which add the facebook icon on your site, you can display it everywhere, see e.g.:


https://www.phoca.cz/documents/2-phoca-g ... ca-gallery

at the bottom, you can see: share (facebook), buzz, tweet icons, such were added by module and can be displayed on detail site of an image too (e.g. if no popup is used)

Jan

Re: share gallery picture with facebook?

Posted: 12 Jul 2013, 15:54
by NielsK
Hi,
i really searched for a whole time now, but i did not found, which module position i have to chose for the facebook module so that i can share a single picture from the detail view on facebook. Or where i can create a module position for that.
Please let me know how i could do.
Thanks and best regards
Niels

Re: share gallery picture with facebook?

Posted: 12 Jul 2013, 21:01
by Jan
Hi, if you will use module, and such module does not have filter for view (e.g. in phoca gallery view=detail) then it needs to be customized, so you add some php code to the plugin:

e.g.:

Code: Select all

$component = JRequest::getWord('option');
$view = JRequest::getWord('view');
if ($component == 'com_phocagallery' && $view = 'detail') {

} else {
    return true;// the plugin will be not translated
}
(I didn't test this code, so it can include errors - needs to be tested.)

Jan