× Joomla Facebook Connect support forum

Topic-icon Profile picture size

Active Subscriptions:

None
15 years 3 weeks ago #10140 by Andro_
Profile picture size was created by Andro_
Hi,
I would like to ask for some help regarding profile picture size and style.
In the jfbcLogin module I can set only profile width and leave profile height empty. But I can't do it the other way around. We have the module positioned in the header of the page, so we would like to limit only the height.
Our temporary solution is this: #profile-pic { width: 75px; height: 56px; overflow: hidden; display: block; }. Since this is not the best solution, I'm asking for your help if anyone has a better idea.
The other thing is, I would like to center the picture in the div. I tried to put text-align: center; in the #profile-pic but nothing happens. You can see our site here: www.najpopusti.si/index.php

Tnx in advance :)
The topic has been locked.
Support Specialist
15 years 3 weeks ago #10150 by alzander
Replied by alzander on topic Profile picture size
Andro,
I'm sure we can help you out, but may need a little more information about your configuration. Can you let us know what version of JFBConnect and the JFBCLogin module that you're using?

Also, please post from the account you subscribed from. Priority support is for subscribers only.

Thank you,
Alex
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #10226 by Andro_
Replied by Andro_ on topic Profile picture size
Hi,

I'll try and find the account whit which the component has been bought. But until then... our jfbconnect version is 3.2.1 and our jfbclogin version is also 3.2.1
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #10232 by fb_1055765225
Replied by fb_1055765225 on topic Profile picture size
Hi, this is the account that we subscribed with.

And we have another problem. It is not related to login, but with the like button (JFBCLike). I'm not sure how to describe this, but it seems that our own link don't get published to facebook like we would like them to. So I just copied and pasted the JFBCLike code into our K2 item template. All I did was change the url and put the show_faces option to false, so it now looks like this: {JFBCLike url=item->id; ?> layout=standard show_faces=false width=400 action=like font=verdana colorscheme=light}
The link is dynamic, but the problem is the same even if I "hardcode" the generated link. What happens is that when I click the like button it always likes the page www.najpopusti.si/ and even gets some weird meta data from another page that is on the same server. If I put in the url tag any other link it works fine (I tryed even another K2 item from someone else's page). Do you have any idea what could that be? :)

Thanks so much!
Andro_
The topic has been locked.
Support Specialist
15 years 3 weeks ago #10246 by alzander
Replied by alzander on topic Profile picture size
Andro,
It helps if you can post (or private message) us a link to a page that's having the problem. My guess from your description is that the Open Graph tags on that page aren't quite right. If you've set a default URL in the Open Graph area, that URL will be used as the Open Graph tag, then that URL will be used for all pages.. even if you specify a different URL in the {JFBCLike} tag. That's because Facebook will look at the URL in the Like tag, see the 'new' OG url that's specified, and then go use it's data for when the Like is clicked.

Hope that helps, but if that's not the issues, just let us know, and we can figure out a better answer :)

As for the image, I'm a little confused as to exactly what your looking for. I just registered on the site, and the Login module looks good to me. The image will always be a square, and always the same size (I think it's 50x50 if you choose small). With this, you can set the margin on the left and right so that it's always centered in the area you have for the login module. The center tag is never a perfect solution for images as it doesn't always work the same in each browser.

Good luck, and let us know if this helps you make any progress!
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #10258 by fb_1055765225
Replied by fb_1055765225 on topic Profile picture size
Hi,
like I said... you can find the page at www.najpopusti.si/index.php
You were right... we had open graph tags... I removed them... I only left og:image where I define the K2 article image.
But the problem persist... I think I read somewhere that facebook needs up to 24 hours to accept the new open graph tags, is this maybe the problem?

Regarding the centered image... I fixed that, it looks fine now :)
And about the image size... I can set width and height (I set 50 x 50). If I do that the image gets resized (squished :)) and doesn't look really good ( 50 x 50 image ).
And then I can remove the image height... which makes the image 50 px wide and it keeps its proportions... so if someone has a tall image it can be as much as a 100 px tall. Which stretches our header. If I remove only the image widht and leave the height, the width gets a default value it doesn't stay empty.
I hope you understand what I'm trying to say :)
The topic has been locked.
Support Specialist
15 years 2 weeks ago #10288 by alzander
Replied by alzander on topic Profile picture size
Yes, the tags take 24-72 hours to update in Facebooks system. You can see what they look like immediately using the Linter below. This also usually updates Facebook immediately instead of waiting 1-3 days for your change to take effect:
developers.facebook.com/tools/lint/

I do understand what you're saying about the image, but will have to investigate more. Previously, Facebook always returned square images of 50x50, 100x100, and 200x200 (I think) depending on the size you've selected. I wasn't aware that they were now returning some images with proportions other than 1:1, and will have to figure out a good way to handle that. Unfortunately, I don't have a great answer for you right now though.
The topic has been locked.