When using the share extension to publish a new blog post, the URL/path for any images should be updated to reference the media library.
We've had some reports of the path for images not being correctly updated and, instead, using the local path. For example:
<img class="size-full" src="///private/var/mobile/Containers/Shared/AppGroup/96730DD9-EE6B-4D3D-A5F6-28F2CEC8BAD6/Media/image_544973529814609.jpg" />
The image is correctly uploaded to the media library but the path is not correctly updated within the post.
Neither @bummytime or myself have been able to replicate but making a note here for further investigation.
This also came up in 1259209-z.
This happened to me today, WP app version 12.3 on iPhone XR with iOS 12.2. Shared an image from the Photos app to the WP iOS app using the share extension. Resulting new post body displayed:
<img src="///private/var/mobile/Containers/Shared/AppGroup/EE17DDDF-965B-410A-AB3B-70E0CA75575F/Media/image_1B6F0D17-69D0-4228-9932-EB44C538D0D3.IMG_0661.JPG" class="size-full">
Thanks for the report @ChrisHardie
@nheagy can you please take a look at this?
@elibud @ChrisHardie I already have an open PR to address this issue: #11581
Thanks @nheagy assigning over to you then.
This issue has been marked as stale because:
[Pri] Blocker, [Pri] High, or good first issue.Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority (cc @designsimply).
https://github.com/wordpress-mobile/WordPress-iOS/pull/11740 was merged to address this issue, please reopen if we get more reports.
I'm still experiencing this issue. Steps to reproduce are the same as mentioned above.
Did a fresh self-hosted install on a VPS, not customizations just to test.
WP: 5.5.3
Jetpack: 9.1
iOS: 14.1
WP app: 16.0
Most helpful comment
https://github.com/wordpress-mobile/WordPress-iOS/pull/11740 was merged to address this issue, please reopen if we get more reports.