Custom upload media structure
-
Hi,
I am in the process of writing a custom plugin and I am looking for a way to restructure and customize the directories WordPress uses to upload files.
Ideally I want all the original/high res image to go into one directory, but all derivative/lower resolution images to go into dated folders.The reason to separate the source files from the cached ones, is to have a clean folder with just the originals to make future migration easier. It would also make it easy to swap and update an already imported image, by manually overwriting some of the images on server and then forcing WordPress to regenerate the derivatives.
In which parts of WordPress would I need to add code to make such a change?
thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom upload media structure’ is closed to new replies.