Support » Plugin: Add From Server » Suggestion: Remove autogenerated sizes from output

  • Hey,

    Just a quick note to say that it would be great to limit the files returned to not include custom sizes. This may be something to add in as a custom regex, in case some people want it.

    My specific use-case has been merging 5 media libraries into a single site with each site having their own custom file sizes. The files can exist in the new site, as they’re directly referenced by blog posts, but I don’t want them individually in my media library.

    I dropped in a preg_match into the add-from-server file and reduced my output from several thousand to a much more manageable several hundred (for my benefit, this means I can do each uploads folder in one hit).

    — edit —

    Outside of that though, great plugin – incredibly helpful for migration tasks. Thanks for sharing!

    • This topic was modified 1 year, 9 months ago by  Edd Hurst.
  • The topic ‘Suggestion: Remove autogenerated sizes from output’ is closed to new replies.