Facebook Event Image Size

Home Forums Calendar Products Event Aggregator Facebook Event Image Size

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1027298
    Steve
    Participant

    I’m wondering if there’s an unchangeable default image size of 720 pixel width for Facebook imported events? I’ve been reading the documentation and forums but can’t find the info.

    I encountered several events with images larger than 720 and after importing the image quality is diminished. Any help is greatly appreciated. Thanks!

    #1027551
    Brian
    Member

    Hi,

    Thanks for using our plugins.

    We do not have a feature or a way to change the image size that we get from Facebook.

    If you think that is something you would like as a feature I encourage you to visit our User Voice Page and either upvote an existing request or make a new request there.

    http://tribe.uservoice.com/

    Let me know if you have any follow up questions.

    Thanks

    #1027659
    Steve
    Participant

    Hi,

    Ok gotcha. However, I’m still wondering if the image Facebook provides upon importing is set to a max width of 720 pixels wide?

    I see a Facebook event image that’s 950 pixels wide, but it imports it as 720 pixels wide. I’ve looked through my theme and the WordPress Media settings but can’t find a function that resizes it to that 720 pixel width. Any ideas?

    #1027737
    Brian
    Member

    We ask for Facebook to return the Cover Image and it appears that they do not return anything over 720px because of that.

    I did look through our coding and it looks like we do have a filter that might be able to change this:

    apply_filters( ‘tribe_fb_get_facebook_photo’, $photo, $api_url, $response );

    This is the variable that sets the image size:

    $api_url = $this->build_url_with_access_token( $object_id, array( ‘fields’ => ‘cover’ ) );

    You might be able to filter that and get a different size.

    That is found in this file:

    plugins/the-events-calendar-facebook-importer/src/Tribe/Importer.php

    #1027787
    Steve
    Participant

    Thank you so much for the info! I’ll try what you suggested.

    #1027875
    Brian
    Member

    Sounds good. Let me know what you find out.

    Thanks

    #1075702
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Facebook Event Image Size’ is closed to new replies.