Make WordPress Core

Opened 8 months ago

Closed 7 months ago

#60897 closed defect (bug) (wontfix)

Image Title, Caption issue

Reported by: helani's profile helani Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.5
Component: Media Keywords:
Focuses: Cc:

Description

Hello,

I updated WordPress latest version(6.5) to my sites. After that I notice when we upload images resizes those images using Canva those images titles not showing out attachement file title , WordPress convert those titles to another tiltle. Image about this issue:

But when we use another image on our computer (not resized via Canva), it's title not issue.

Attachments (3)

Resize using Canva (wp).jpg (32.6 KB) - added by helani 8 months ago.
Resize using Canva
Not Resize using Canva.jpg (37.6 KB) - added by helani 8 months ago.
Not resize using Canva
Gaming Industry.jpg (47.3 KB) - added by helani 8 months ago.
Gaming Industry (resized with Canva)

Download all attachments as: .zip

Change History (10)

@helani
8 months ago

Resize using Canva

@helani
8 months ago

Not resize using Canva

#1 @swissspidy
8 months ago

  • Severity changed from major to normal

Hi there and welcome to WordPress Trac!

At first glance it looks like Canva adds some weird metadata to images upon resizing, which is then extracted by WordPress.

Could you perhaps upload Gaming-Industry.jpg (the one you resized with Canvas) here so we can take a look? Thanks!

@helani
8 months ago

Gaming Industry (resized with Canva)

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


8 months ago

#3 @swissspidy
8 months ago

Thank you.

Looks like the EXIF data contains this:

Title		Gaming Industry - Gaming Industry
UserComment	xr:d:DAF6GypmYOo:28,j:5546606634790822714,t:24040308

So the gibberish UserComment comes from Canvas, that's on them.

Though I would have thought WP picks Title and not UserComment.

This ticket was mentioned in Slack in #core-media by swissspidy. View the logs.


8 months ago

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


7 months ago

#7 @antpb
7 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Thank you for this ticket!

Given that this is metadata that is out of our control, and because WordPress is using these meta fields to their specification, I don't see any possible actions for this ticket. There have been a couple reports now with reports going to Canva where the bug originates. I think we'll need to wait for them to have a stance on it, but as it looks today they are using the metadata in a nonstandard way and media maitainers agree WordPress should not accommodate or encourage usage of the metadata in this way.

Going to close, but if Canva has any more info on why the data is valid, we can reconsider.

Note: See TracTickets for help on using tickets.