Title: Feature Request: Add Source File Info
Last modified: February 4, 2018

---

# Feature Request: Add Source File Info

 *  [nathaningram](https://wordpress.org/support/users/nathaningram/)
 * (@nathaningram)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/feature-request-add-source-file-info/)
 * Love the plugin. Here’s an idea to make it even more useful… could you add the
   location of the file that created the image size in the first place?
 * Example: I took over management of a site I didn’t create and found there were
   21 (!!!) separate custom image sizes defined in code strewn throughout the site.
   Only a few were actually needed. It took a while to run down all the places the
   images were being defined in the code.
 * Thanks for your great work here!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hunter WebDev](https://wordpress.org/support/users/dnacode/)
 * (@dnacode)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/feature-request-add-source-file-info/#post-9945125)
 * Oh wow that’s a ridiculous amount of image sizes, exactly why this was plugin
   was created.
 * Unfortunately it doesn’t seem that image size function records exactly where 
   it was registered so this would require a separate scanning function to scan 
   through the plugin and theme files.
 * I’ll play around with a few scanning techniques and let you know what I find 
   out.

Viewing 1 replies (of 1 total)

The topic ‘Feature Request: Add Source File Info’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/limit-image-sizes_493f3c.svg)
 * [Limit Image Sizes](https://wordpress.org/plugins/limit-image-sizes/)
 * [Support Threads](https://wordpress.org/support/plugin/limit-image-sizes/)
 * [Active Topics](https://wordpress.org/support/plugin/limit-image-sizes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/limit-image-sizes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/limit-image-sizes/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hunter WebDev](https://wordpress.org/support/users/dnacode/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/feature-request-add-source-file-info/#post-9945125)
 * Status: not resolved