WordPress.org

Ready to get started?Download WordPress

Forums

WP Facebook Open Graph protocol
[resolved] Please use full size thumbnail (8 posts)

  1. rasmusbe
    Member
    Posted 1 year ago #

    Hi,

    Since the medium size can be changed to smaller than 200px when used for other purposes it makes the images invalid in og:images.

    Please use the full size src instead or a use a custom size larger than 200px.

    Thanks for a great plugin!

    http://wordpress.org/extend/plugins/wp-facebook-open-graph-protocol/

  2. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    forgot what version but i updated it to use the medium one. fixes this.

  3. rasmusbe
    Member
    Posted 1 year ago #

    thank you but no, as I said "Since the medium size can be changed" (for example if the image size is used in other places in the theme) this is still a problem.

  4. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    so you need the plugin to adjust to your specific issue when WP default 'medium' is roughly 300?
    ref: http://codex.wordpress.org/Post_Thumbnails#Thumbnail_Sizes

    If you're changing sizes for use in your theme, technically, you should be creating a new add_image_size instead of modifying a default one.
    http://codex.wordpress.org/Function_Reference/add_image_size

  5. rasmusbe
    Member
    Posted 1 year ago #

    I agree that would be the best thing to do, if I were the theme developer. Unfortunately this isn't the case this time :(

    So I think there's still a potential problem with this since the sizes is changeable, so I still suggests that you change it to the full size (or a custom size that is at least 200px, for example array(200, 99999) )

  6. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    reason i don't do custom is technically the images don't exist at that size, perhaps could code in more redundancy and have a fallback to medium.
    1. I don't want the size issues.. if facebook scrapes and the images are too big and/or the site/image is too slow it doesn't pull it. Most people don't optimize images before uploading so that would cause major issues. (think the megapixel imgs ppl upload.. meh).
    2. If I did add another custom size... I'd be storing another image (only for new images, not old unless they requested all thumbnails to be redone (theres a plugin for that)) on their system... IMO that's dirty and not really necessary.
    3. this whole issue is still a very limited use case... tough to make a decision to change it global for one or two that are having a custom size issue when the theme should fix the underlying problem.

  7. Charlie Pryor
    Member
    Posted 1 year ago #

    Can you at least share with me how I can modify the code to do this myself? I actually do optimize images that are "featured images" because I understand how important they are for this plugin to operate, and for sites like Facebook to grab them. Google Plus, and LinkedIn have no issue, but Facebook is picky... Medium images are always 300px wide. That's default. They are not always 300px tall. That's not default.

    Images that take the place of featured images are almost always wider than they are tall. It just looks better. When my full size image width is 1200, and the height is less than 800px (as it frequently is, on something as basic and standard as VIDEO thumbnails), it gets resized to have a width of 300px (WordPress standard), and a height of whatever keeps it proportionate. Calculating that up, my height is now less than 200px for Facebook, and they need 200px.

    So if such a simple thing isn't going to be implemented, at least tell me how I can change the code myself to allow it to work and serve its function correctly, if you won't provide a simple checkbox in the options to do so.

  8. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    in 2.1b I changed the thumbnail to large from medium.

    also you're talking about you and how you optimize images... 99.998% of people don't lol. nor have a clue how to. I have to build the plugin for nearly lowest common denominator. Look at the legacy crap in WP.

    and how you can change the code yourself... edit the plugin file if you want to. it's open source.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.