• Resolved sebastienpage

    (@sebastienpage)


    It’s probably not the best place to post this, but I couldn’t find a better avenue to submit a feature request.

    This feature would add a checkbox in Settings to “hide the first image found on the post.”

    The reason for this is that a lot of blog posts include a featured image (used by your plugin), and an image at the top of the post being published. That top image is often embedded into the post independently of the featured image. When that post is published to Apple News, you then have the following items in this order: Cover image, title, byline, top image from the post, and then text from the post.

    Because of this, you end up with two images pretty much back to back towards the top of the post.

    Having the option to hide (or rather do not include) the first image found at the top of a post would alleviate this issue.

    Thoughts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kevin Fodness

    (@kevinfodness)

    Hi @sebastienpage

    This is already in the pipe for our next release (1.2.4), in which the cover can be disabled: https://github.com/alleyinteractive/apple-news/issues/151

    Thanks for the feedback!

    Thread Starter sebastienpage

    (@sebastienpage)

    Hello. This seems to be slightly different from my feature suggestion. This person wants to disable cover image entirely in a post. Ideally, I’d like to keep that cover image but just “hide” the first image found at the top of the post. So you’d end up having:
    1. Cover image.
    2. Headline.
    3. Byline
    4. Post text (with first image at the top removed/hidden.

    Thanks for the consideration.

    Plugin Author Kevin Fodness

    (@kevinfodness)

    The cover image functionality uses the featured image, if it is set, and otherwise extracts the first image from the post content. With the new functionality, no cover image will be set, the featured image will be ignored, and the first image in content will stay where it is.

    If the default behavior and the new optional behavior do not meet the use case you are describing, then I would recommend using one of the filters to customize the output, as this request is rather specific. I would recommend looking at apple_news_exporter_content_pre:

    https://github.com/alleyinteractive/apple-news/wiki/action-and-filter-hooks#adminapple-actionsindexclass-exportphp-1

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feature request: hide top image found in a post from Apple News’ is closed to new replies.