Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
alexhenes
Experienced
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Imagevue X2.7

31 Oct 2011, 21:00

ok... I finally got my image working from the home page fb button. However I do not get the same dialog box that the demo has when posting to fb. Are you sure the documentation reflects the latest code in the demo?
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Imagevue X2.7

01 Nov 2011, 01:29

I don't know, but we are using the same code in our demo gallery as from the day we released this. Facebook is adding stuff, since basically this is code loaded from their servers ... I see they automatically added a "share" button response to ours after you click "like".

You can always re-apply their latest code from here:
https://developers.facebook.com/docs/re ... gins/like/

As mentioned, we did not change ours ...
 
User avatar
alexhenes
Experienced
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Imagevue X2.7

06 Nov 2011, 15:42

I must say that I am completely baffled as to why my site's facebook sharing behavior is so differently than that of the imagvuex demo site. I have followed the directions pretty much to a tee.

The behavior I would expect would be as follows:

1. Main Page Social Thingy
a. I would get a comment box (I don't get a comment box at all)
b. The posted image would be the one I specify in index.php (it doesn't look like a FB post is created anymore)

2. Folder Level Like
a. I would expect the image posted to be the cover image for that folder. I get the image specified in index.php

3. Image Level Like
a. the image posted is the image specified in the in index.php... I would expect the image I am attempting to share would be posted.
Any help on 1 and 2 would be much appreciated. I am not sure how else to troubleshoot this. Are there specific things that need to be done within FB itself?

Also... I know how to generate new code from FB... but I am not sure how to place it into the seo settings.

Thanks
Alex
http://www.merelyafleshwound.com
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Imagevue X2.7

07 Nov 2011, 00:55

eh_ex wrote:I must say that I am completely baffled as to why my site's facebook sharing behavior is so differently than that of the imagvuex demo site. I have followed the directions pretty much to a tee.

The behavior I would expect would be as follows:

1. Main Page Social Thingy
a. I would get a comment box (I don't get a comment box at all)
b. The posted image would be the one I specify in index.php (it doesn't look like a FB post is created anymore)
a) I don't know ... This is not something we chose to add. Either your code is not identical to ours, or this is something with facebook and/or you have a different page-type with different permissions.

b) Not sure what you mean, but yes Facebook would search your index.php for an image to represent the like... for our gallery, it shows the image that represents the root. This was fixed in our gallery it seems after the update - Did you upgrade the gallery? This may also be a facebook cache issue, or proxy issue.
eh_ex wrote:2. Folder Level Like
a. I would expect the image posted to be the cover image for that folder. I get the image specified in index.php
I thought you just mentioned that it doesn't get the picture from index any more? Anyway, it is supposed to get the image from your index. We are talking about the Facebook "like" button here, and this button is set to target your global Imagevue page. Facebook does not, and can not search out an individual image from the "like" button ... This is also why this is a module we made an example for in our forum, and not something we have integrated into Imagevue - It is a 3rd party javascript and basically Facebook's own script loaded into an iframe, that lives its own little life. When clicking "like", you are liking and/or sharing your main gallery URL. If you want to share specifically, you need to click the share icon native to Imagevue, which we have coded so that it shares specific images.
eh_ex wrote:3. Image Level Like
a. the image posted is the image specified in the in index.php... I would expect the image I am attempting to share would be posted.
Any help on 1 and 2 would be much appreciated. I am not sure how else to troubleshoot this. Are there specific things that need to be done within FB itself?
Sorry, but this is explained above. Facebook "like" is Facebook's own code loaded into an iframe. When someone clicks "like", it posts a like to the URL it finds ... The URL it finds is your gallery, possibly with the #/path/ parameters. However, it will look in the source of this page, and find the content of your index ...

Besides, don't you want to build up your "like"s? Instead of having a 100 different pages with "1 people likes this", wouldn't it be more of a benefit to have "104 people like this" globally for your page?
eh_ex wrote:Also... I know how to generate new code from FB... but I am not sure how to place it into the seo settings.
Finally, I am not sure where you see the "share" on our demo ... I don't see it, perhaps until AFTER I click "like" ... This is generally a "like" button, and NOT for sharing content, although it seems like Facebook has added an option to "share" what you liked at choice to others users AFTER you click "like". I see in your code:
Code
var fbLike = '<fb:like href="https://www.photo.gallery/demo/x2/" send="false" show_faces="false" colorscheme="dark" font=""></fb:like>';
Try setting send="true", although I can not guarantee perfect results as facebook controls this, and last time I checked, the "share" dialog box popped out in the wrong direction out of the screen.

As mentioned, this module we have next to none, or very little control over since its a 3rd party script ... This is why we are displaying it in a layered html level, basically since we cant integrate it.
 
User avatar
Dominique
Posts: 10
Joined: 05 Oct 2011, 05:32

Re: Imagevue X2.7

07 Nov 2011, 12:13

Alex,

i'm not sure there is a comment box on the "Like" button, if you want to get the comment box, you can add the "Send" button in seo code :
Code
 var fbLike = '<fb:like href="http://www.url.com" send="true" show_faces="false" colorscheme="dark" font=""></fb:like>';

There is actually something wrong in your seo code, when i click on Like, i get the word error on the right of the facebook bar.

For the og meta tags, i suggest to put them in the head section of the file index.gallery.phtml (iv-includes/templates/).

Code
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:og="http://ogp.me/ns#"
      xmlns:fb="http://www.facebook.com/2008/fbml">
  <head>
    <title>The Rock (1996)</title>
    <meta property="og:title" content="The Rock"/>
    <meta property="og:type" content="movie"/>
    <meta property="og:url" content="http://www.imdb.com/title/tt0117500/"/>
    <meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/>
    <meta property="og:site_name" content="IMDb"/>
    <meta property="fb:admins" content="USER_ID"/>
    <meta property="og:description"
          content="A group of U.S. Marines, under command of
                   a renegade general, take over Alcatraz and
                   threaten San Francisco Bay with biological
                   weapons."/>
    ...
  </head>
  ...
</html>
Everything works perfectly now with the last imagevue upadate.
But I've noticed on my site a kind of bug with facebook. It took me a long time to find out the reason, the Send button thumbnail was not correct suddenly (even after the update).
I used this address to check what facebook sees about the site :
http://developers.facebook.com/tools/debug
the last link "scraped url" is very helpful. The problem was i had a preview image on a folder and facebook took this image for the Send button. In the "Raw Open Graph Document Information" section of the debugger, many og tags were duplicated (og:url, og:image). So i've deleted all the preview images on folders and everything is fine now.
 
User avatar
papaD
Posts: 12
Joined: 07 Nov 2011, 16:57

Re: Imagevue X2.7

08 Nov 2011, 01:40

First off, love what you guys have done here. Thanks so much!

This may be somewhere in the forum but couldn't find it and it may be just a setting:

I followed your instructions on inserting verbatim from https://www.photo.gallery/blog/social-media- ... cial-thing. I just couldn't get it to work.

The one thing that is happening is the brackets and double quotes disappear as soon as I hit Save after I paste into the seo counter. I thought this may be normal since the brackets may be changing to code so there would be no conflicts when everything is compiled. However, when I inspected the elements on your demo gallery, I got this:
Image

But when I inspected mine, I got this:
Image

Somewhere the brackets and double quotes disappeared all together. What am I doing wrong? Is there a setting?

I tried copying it to TextWrangler and TextEdit and THEN paste. I also tried using different browsers. Same result.
Appreciate your help.

http://www.dsparks.com
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Imagevue X2.7

09 Nov 2011, 11:19

papaD wrote:I tried copying it to TextWrangler and TextEdit and THEN paste. I also tried using different browsers. Same result.
Appreciate your help.

http://www.dsparks.com
Why not just copy and paste directly into the required fields in the Imagevue admin and edit from there? It seems your text editing tool is somehow corrupting the html, perhaps because you are in "rich text" editing mode or something.
 
User avatar
papaD
Posts: 12
Joined: 07 Nov 2011, 16:57

Re: Imagevue X2.7

09 Nov 2011, 23:57

Why not just copy and paste directly into the required fields in the Imagevue admin and edit from there?
I did that first several times.

I only used the TextWrangler and TextEdit afterwards thinking that might help. As I stated I tried using different browsers on different platforms both Mac and PC. Still didn't work.

It pastes correctly, it's when I hit "Save" when the brackets and double-quotes disappear.

http://www.dsparks.com
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Imagevue X2.7

10 Nov 2011, 05:32

papaD wrote:It pastes correctly, it's when I hit "Save" when the brackets and double-quotes disappear.
This I cannot explain, as it is not normal that it cuts off <brackets>, else it would not work for us others either. May I take a look in your admin and try for myself? Please send link+login in PM, and also provide me the code that you are trying to paste. Perhaps there is some kinda glitch in the code you are trying to add also, although I doubt it ...
 
User avatar
alexhenes
Experienced
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Imagevue X2.7

19 Nov 2011, 17:41

ok... I finally got my FB functionality working correctly. the debug function in the FB app helped me locate the issue. it found duplicate tags in my index file. the dups showed up because I coded them in manually AND put them in the SEO settings section... you should do one or the other. Very happy with the results.
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com