• Resolved AMason

    (@amason)


    I wish the option of publishing only the featured image (not all images from article), with the suboption of choosing a specific thumbnail or full frame.

    • This topic was modified 1 year, 2 months ago by AMason.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jan Boddez

    (@janboddez)

    Sure, if you wish to publish only the featured image, you can do so by adding this PHP snippet to [your theme’s functions.php file or where you normally add these tweaks]:

    add_filter( 'share_on_mastodon_attached_images', '__return_false' );

    See also: https://jan.boddez.net/wordpress/share-on-mastodon#share_on_mastodon_attached_images

    The next version of the plugin, which I hope can be released in a number of days, will have a “real” option for this, so you might want to wait for that instead.

    Re: the suboption you mention, I don’t see that happening very soon, sorry.

    The way it works right now, the plugin will always upload the “large” thumbnail, or, if it can’t find one (this sometimes happens when you use a CDN), the original image file. (Either way, Mastodon will size down/compress these as it sees fit.) Do you use a plugin to “manually” tweak/crop each thumbnail size, then? Because if not, I fail to see why you would want to upload a larger (or even smaller) size …

    Thread Starter AMason

    (@amason)

    Thank you for your answer. Snippet added.

    Yes, I use the manual thumbnail cropping tool, but if a large thumbnail is being taken, I don’t really need the option in the plugin.

    TonyW

    (@twinton1mecom)

    Request: can we have #hashtags added from the tags used in a post? Or at least a box to add some when you are about to publish? Mastodon is very hashtag friendly.

    Plugin Author Jan Boddez

    (@janboddez)

    Going to close this as resolved; please open a separate ticket (or GitHub issue) for further requests.

    Also worth mentioning that the plugin now comes with an “image settings” page, i.e., no more need for custom PHP to modify its behavior (any PHP filters still in place will, however, always override whatever is set on the options page).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Request]’ is closed to new replies.