Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The image caption isn't shown up properly. #1112

Open
kaywdev opened this issue Apr 29, 2024 · 3 comments
Open

The image caption isn't shown up properly. #1112

kaywdev opened this issue Apr 29, 2024 · 3 comments
Labels
bug Something isn't working evaluating

Comments

@kaywdev
Copy link

kaywdev commented Apr 29, 2024

Description of the bug

Hi, we would like to display the image caption on the first cover image. However, it's sometimes missing(no caption showing up), showing up with the strange format with - (dash) between each word, showing up multiply with -(dash) format version, or showing up the title and image caption multiply.
Do you think it is some bugs? Is there any setting to control the caption area?

IMG_0389

IMG_0388

IMG_0386

Steps To Reproduce

  1. Insert the image with the image block
  2. Add a caption text from the image block
  3. Upload the same image as the featured image
  4. Go to "Publish to Apple News Option"
  5. Add the caption text on Cover Image > Caption

Additional Information

I will also attach a few screenshots about the Admin settings.
Post content:
Screen Shot 2024-04-29 at 4 18 06 PM
Cover Image option:
Screen Shot 2024-04-29 at 4 16 56 PM

Image caption on Media:
Screen Shot 2024-04-29 at 4 17 56 PM

Could you kindly check about this issue?
Thank you.

@kaywdev kaywdev added the bug Something isn't working label Apr 29, 2024
@kaywdev
Copy link
Author

kaywdev commented Apr 30, 2024

As our client published a new post, it seems like the caption area pulls the post slug instead of the caption.
The cation text is "Congresswoman Secures $4.1M Grant for Airport Taxiway". However, it shows "congresswoman-watson-coleman-county-executive-benson-unveil-4-1-million-grant-award-for-trenton-mercer-airport-taxiway"
IMG_0390

@kaywdev
Copy link
Author

kaywdev commented May 4, 2024

As I reviewed JSON files of the posts, I noticed a few things.

  • In Apple developer documents, the structure of image and caption is like this. However, there is no information on the header -photo area. Do you think that is the reason the caption does not show up?
    Screen Shot 2024-05-03 at 5 02 16 PM

  • As I checked the JSON file of the post showing the slug before the title, the "heading" area is created before the title under the component. It doesn't happen usually. Do you know why it happens?
    Screen Shot 2024-05-03 at 4 58 23 PM

@kaywdev
Copy link
Author

kaywdev commented May 6, 2024

Hi, I have some updates.
I found the heading slug came from the slug field of "Publish to Apple News options". It's gone if we remove the text from the field. I can revoke this slug text issue.
However, the caption of the first image on Apple News still has the issue.
As I tested the plugin with twenty-twentyfour theme and activated only the "Publish to Apple News" plugin, we cannot see any caption in the first image of the Apple News article.
What I tested is

  • Add a caption on the uploaded image of the featured image
  • Add a caption on the first image block of the content
  • Add a caption on the Cover Image options but it didn't work.
    Screen Shot 2024-05-06 at 1 59 57 PM

Is this a normal behavior of the plugin?
Screen Shot 2024-05-06 at 11 29 15 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working evaluating
Projects
None yet
Development

No branches or pull requests

2 participants