Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

reorganizing images after WP XML import

  • #9024
    Avatar photo[anonymous]

    ref: github: https://github.com/GetPublii/Publii/issues/1172

    i want to move all images from all the subfolders of /input/media/posts/ to a common folder (equivalent to /uploads/ in WP)

    i can find/replace the paths in the database, but i’m not sure how best to go about this – for example there’s a posts table and a post_images table

    …or can this be done without editing the db?

    what’s the best way to accomplish this?

    #9034
    Avatar photo[anonymous]

    anyone?

    #9067
    Avatar photo[anonymous]

    Hi,

    Sorry it is not possible in the current Publii state. At this moment every post requires separate folder for images. In the future we have a plan to create a possibility of use common images for more than one post, but at this moment it is a known limitation of Publii.