• Hi,

    MLP is a really awesome plugin that works perfectly on my server. Now, I have a question concerned with the order of uploaded images.

    I’m using xmlrpc to publish my posts with featured images. It requires the ID of image attachment rather than its file name or image url. As I test on my website, when I upload multiple images simultaneously, images which finish uploading first get smaller id, it doesn’t follow the order as how I select and upload them.

    For example, I publish 3 posts, which require feature images A.jpg, B.jpg, C,jpg, respectively. I was supposed to get id=1 for A.jpg, id=2 for B.jpg and id=3 for C.jpg, so I can set the attachment id to the corresponding post programmatically. But usually the id is not ordered as I expect it to be.

    So I was wondering if there is any chance to keep the order how I upload them. One possible way might be to restrict one upload in progress at a time even if I drag multiple images to upload. Anything I can do with the MLP, or do I have to modify the core of WordPress?

    • This topic was modified 7 years, 6 months ago by zchen.
Viewing 1 replies (of 1 total)
  • Plugin Author AlanP57

    (@alanp57)

    I think the order of uploads depends on several factors, the order that your browser send them, their size and the length of time it takes to upload each one. It is not something we can control when dragging and dropping multiple files.

Viewing 1 replies (of 1 total)
  • The topic ‘Order of Uploaded Multiple Images’ is closed to new replies.