PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 24th, 2012, 12:22 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2002
Posts: 225
Question Facebook - button should post photo?

When you are in the detail of a photo and hit the FB button, the image isn't being put into the post. Shouldn't it? How can I get that to work.

Thanks!
CavySpirit is offline   Reply With Quote
Old November 24th, 2012, 12:49 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
That all depends it does if I try it here. Remember if you do not allow guests access to see the photo how would the facebook share script be able to get the image? Just an observation on my part. That is the general rule that alot forget is if you lock down access to guests they forget that they are logged in and viewing a photo where as others can not.

Now there are new open graph meta tags that can be added to the page that might help.

You can edit pp-inc.php and on the globals line for the function printheader add $imgurl. Once you do that you can lower in that function where noted below add the code in bold and see if that helps you.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 24th, 2012, 01:17 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2002
Posts: 225
My photos are all viewable by guests. I added that code. No joy.

I really need to get this working. Any other places for me to look?

Thanks!
CavySpirit is offline   Reply With Quote
Old November 24th, 2012, 01:25 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
No idea without alot more info. You can try it here and see it work or even at my site

A community photo gallery - PhotoPost Photo Gallery

A community photo gallery - ReefTalk Gallery

It does work.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 24th, 2012, 01:29 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Sep 2002
Posts: 225
So, here are the FB links from your site and my site:

MINE
http://www.facebook.com/share.php?sr...=Terrance!&v=3
YOURS
http://www.facebook.com/share.php?sr...icasimpson&v=3

without the character substitution:
MINE
http://www.facebook.com/share.php?sr...=Terrance!&v=3
YOURS
http://www.facebook.com/share.php?sr...icasimpson&v=3

It seems my URL is being built differently. Where do I change that?

Thanks!
CavySpirit is offline   Reply With Quote
Old November 24th, 2012, 01:36 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Terrance! - Guinea Pig Cage Photos

Cavy the issue is not with our code.

You are setting a static meta og:image tag in your forums header with the content.

<meta property="og:image" content="http://www.guineapigcages.com/forum/images/wheeker-guinea-pig.jpg" />

Therefore every time some one tries to share anything with facebook the image used is going to be

http://www.guineapigcages.com/forum/...guinea-pig.jpg

I just got finished telling you about that open graph tag thing and that appears to be your exact issue. You are telling facebook to use that specific image for every one of your facebook posts. I would assume there is some sort of forum setting where your electing to use that static image. You should turn that off. Then defining an open graph for the gallery would work I think.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 24th, 2012, 01:41 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Sep 2002
Posts: 225
I must have added that back when I wanted FB in there and it wasn't available yet. Will go take that out and try again.
CavySpirit is offline   Reply With Quote
Old November 24th, 2012, 01:44 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Yeah I do not know if its something you added or part of the vb code. I was just saying that is why that same image is on all facebook stuff from your site.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 24th, 2012, 02:00 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Sep 2002
Posts: 225
So, there was a setting in vb. I took it out yet it's still using it. I even tried it in a different browser. I don't see the meta tag that you are referencing in the source when I display the page. Can you check it again and see if it's still there?
CavySpirit is offline   Reply With Quote
Old November 24th, 2012, 02:50 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
You have to be defining that image in vb or facebook somewhere still as that same image keeps coming up. Why else would that same image be coming up over and over again.

Second you have partly applied the og:image stuff I suggested for the gallery global file but your content is empty in that tag because you have not applied $imgurl variable into the printheader functions global line.

try finishing the modification I suggested and see if that helps you.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 24th, 2012, 03:03 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I see your og:image tag is now set but it still does not help you. You need to see where your setting that static image in facebook or where ever as the image still comes up

http://www.guineapigcages.com/forum/...guinea-pig.jpg
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 24th, 2012, 03:13 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Sep 2002
Posts: 225
I'll keep looking for that, but in the meantime, I can't believe I left non-friendly urls all this time. Want to change my urls to SEO setting. Did that, but then when I clicked on a link it "white paged." What do I need to do flip that?
CavySpirit is offline   Reply With Quote
Old November 24th, 2012, 04:25 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
did you rename the HTACCESS file to .htaccess in the gallery directory.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 24th, 2012, 06:48 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Sep 2002
Posts: 225
Oh, yeah, working now, thanks.

So, I still can't find where that image is coming from.

It's not in a meta tag.

I even see this meta tag on the page:

<meta property="og:image" content="http://www.guineapigcages.com/photos/data/2/medium/new_liner_plues_gps_006.JPG" />
CavySpirit is offline   Reply With Quote
Old November 24th, 2012, 07:19 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Yes the code I gave you posts a meta tag in the head portion of the page with facebooks open graph parameters.

I can not say where your image is coming from but clearly it is that image that you have been telling facebook to use for long time now.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2013, 05:25 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Location: UK
Posts: 40
No thumbnail in facebook posts

When I post an image to facebook no thumbnail is produced.
All that can be seen is

Code:
Content visible to verified customers only.
The link does take the FB user back to the right photo page though

Any ideas
__________________
UBIQUE
imagemaniac is offline   Reply With Quote
Old March 16th, 2013, 05:40 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Your issue is simple. You have turned on the forum facebook and that is overriding the gallery facebook so the image is not being found.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2013, 05:51 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Location: UK
Posts: 40
Aha!!
well I think I would rather have Images posted to Facebook so I will turn the forum FB off many thanks Chuck

I assume then that there is no way of having both on?
__________________
UBIQUE
imagemaniac is offline   Reply With Quote
Old March 16th, 2013, 05:58 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Yeah not much I can do your forum code for facebook messes with things. Nothing we can do about that.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2013, 06:04 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Location: UK
Posts: 40
Thanks again I have it sorted out now, I seem to be able to use the facebook plugin for VB forums but no thumbnail
__________________
UBIQUE
imagemaniac is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:23 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0