• Resolved yukiko-kawa

    (@yukiko-kawa)



    WP Version 6.9.4
    img plugin -> 1.1.1
    ALD – Aliexpress Dropshipping and Fulfillment for WooCommerce -> 2.2.5

    When uploading a product, with images from Alixpress and not saved locally,
    the plugin saves the images. But only the featured image is displayed in the normal WP media list. The others exist and have a specific ID, and thumbnails are generated. But WP seems to not have them in the list. Very strange.

    If you open the image by ID and click Refresh (the classic WP button), it is immediately loaded into the list.


    I’ll also copy the possible cause of the problem:
    _______________
    I’ve identified the problem! WordPress doesn’t see the image in the list because _wp_attached_file isn’t immediately saved as post meta. When you click “Update” in the panel, WordPress saves it, and then it appears.

    The add_image() function calls update_attachment_metadata() which calls wp_update_attachment_metadata(), but the _wp_attached_file meta is not saved as a separate post meta immediately.

    • This topic was modified 1 month, 1 week ago by yukiko-kawa.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mytrinh

    (@mytrinh)

    Hi,

    Thank you for reaching out to us.

    I have tested the plugin, and it seems to be working as expected on our end.

    To help us better understand the issue, could you please provide a screen recording showing how to reproduce it?

    Best regards.

    Thread Starter yukiko-kawa

    (@yukiko-kawa)

    I swear it didn’t work the other day, and I spent 2 or 3 hours thinking it was a problem with my plugins, only to find out later that the problem was only with Woo and ALD. As I wrote in the previous post.

    Now I tried it, and it works.

    What can I say? Sorry, maybe it was from AliExpress that was causing the interference.

    Plugin Author mytrinh

    (@mytrinh)

    No worries at all. We’re glad to hear that it’s working properly now.

    Technical glitches can be quite a mystery sometimes, especially when dealing with third-party platforms. We understand how frustrating it can be to spend hours troubleshooting, only to realize the issue was caused by something else.

    Thank you for letting us know the outcome. If you have any further questions, please feel free to let us know.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.