× Joomla Facebook Connect support forum

Topic-icon Kunena Avatars size problem

Active Subscriptions:

None
I'm not sure if this is a problem with kunena or a problem with jfbcrecomend but I am showing the following error in my error logs, I checked the folder and kunena has not added size40 images for my avatar. and I'm not sure how to force kunena to make the avatar that this module needs.

File does not exist: /home/ccscout/public_html/media/kunena/avatars/resized/size40/users/avatar62.jpg, referer: www.facebook.com/plugins/recommendations.php?(left out api tags etc.etc.)
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #8286 by fb_100000214934509
Bump For Question. and another question, on the recomend module. does facebook decide what images to pull for the recomend icons or is there something in the JFBC end of things that would allow some control. its pulling icons out of my other modules and using them for links to the recomended articles. i.e. a article about tshirt orders has a twitter icon on it.
The topic has been locked.
Support Specialist
15 years 2 months ago #8306 by alzander
Sean,
Yup, sorry, got a little behind on answers.. we're catching up quickly though. Never like making our users wait more than 24 hours.

I have a few questions about the avatar resizing thing. The size40 isn't a default for Kunena, that I know of. Do you have something configured differently than the defaults for avatars? If so, can you let us know what and how you have it configured? Generally, regardless of the size, what Kunena does (we've looked through their code) is check the sizeXXX folder for the user's avatar.. if it doesn't exist, it's created on the fly. So, even if you have a different configuration, it should be creating that size automatically.

As for the recommendation module.. I'm not sure why or how it would be pulling the user's avatar at all. Can you point me to the page that this error is occurring on, or any other info?

Finally, for the image, that's pulled from Facebook based on the page and what it thinks is best (for now). With 3.2 we'll have some options for telling Facebook what avatar to use per page. Those changes will be retroactive, so wonky images now can be corrected later, just so you know.

Hope that helps, and definitely give us more info about your avatar settings in Kunena!
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #8307 by fb_100000214934509
you know what I think it is, the kunena forum module that shows the latest posts has the avatar and it has a user definable avatar size. I was changing it a bit over the last few weeks trying different sizes as
I re-laid out the front of my page. I think what happened was is that facebook grabbed it and used it in the recomended pages box. and then keeps trying to pull that image off the server, but jfbc deleted the image when I logged in and kunena isn't directly being asked to re-make it. because the size I'm using now is different.
The topic has been locked.
Support Specialist
15 years 2 months ago #8320 by alzander
Sean,
What you'll want to do is set the Open Graph tags for your page, which will then let Facebook update the images. Again, we'll have a customized way to do this for individual pages in the next release, but until then, you may just want to add the following tags to your template's index.php file. You should add the following into your tags and this will set these values for all your pages.. so I'd do something generic, like your site's name and a generic logo image for it:

As Facebook crawls your site (I think it's once every 24 hours), it will update the Like image it's using with the one specified above.

Hope this helps, and sorry for the troubles!
The topic has been locked.
Support Specialist
15 years 2 months ago #8321 by alzander
Let's try that again :)
<meta property="og:title" content="Page Title"/>
<meta property="og:image" content="http://yourdomain.com/linktoimage.jpg"/>
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #8323 by fb_100000214934509
cool thanks!, thats better then my temperary solution of disabling the module on the article pages that it was getting the images from. which did fix it. it was then pulling images from the articles themselves and not the menu.
The topic has been locked.
Support Specialist
15 years 2 months ago #8329 by alzander
Yeah.. Facebook is a little wonky as far as what it 'guesses' is the best image to represent the page. We're excited to have the new functionality to let you specify the image (and other stuff) coming up in the next release.

Glad it all worked out, and let us know if there's anything else we can help with!
The topic has been locked.