• I was afraid that I would need to hack the core before I finally found this plugin. Therefore, many thanks for the plugin!
    But before I start using it and investing hours in order to create custom cropped images I wanted to ask if this plugin saves the crop position in any way? My fear is the following: One day I decide that my defined image sizes suck or I simply switch my theme and therefore, I would need to regenerate all images (by console or regenerate-thumbails-plugin). As fas as I’m aware both methods will result in a loss of all manual crop changes of the default WP image editor. As your plugin uses the default WP functionality, the behavior should the same, isn’t it?

    My dream scenario would be this:
    -The crop position is saved within the pictures metadata (2 coordinates are enough)
    -This additional info could be used to show the user the current crop position (handy if he recognizes the positioning is just a little bit off and it’s real hard to hit the right spot)
    -When regenerating images this plugin extends the basic WP functionality in a way that each newly created cropped image is cropped using the saved coordinates

    Do you think this plan is feasible? So far, I had no look at your source code and neither at WPs image generation. If you think this extension is a good idea and doable I would be happy to support you (I have programming knowledge).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    hi, i am currently on vacation but i will answer your question in the next week. You may have a look on the github account of the plugin:
    https://github.com/vollyimnetz/crop-thumbnails

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Hi,
    now i found some spare time to answer your questions:

    The crop positions are stored in the image-metadata since version 1.2.0 – but its not that easy. Every may have its own image-size cropped-viewport from the original image. If you want to build a plugin to change the image-size from one resolution to another you may have to select the old crop-metadate and based on that transform it into the new crop-size.

    I would love to see a plugin like that. I also had plans to implement one or enhance my plugin, but i currently do not need it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Enhancement request: Save crop position for future image regenerating’ is closed to new replies.