WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Additional image sizes] Bug: Edit image broken in media popup (3 posts)

  1. justgable
    Member
    Posted 4 years ago #

    I have one profile added for AIS, (name:slideshow 520x250 Crop:YES) and it works great except if you want to edit the image through the media pop-up interface. The image that is loaded to edit is the image profile "slideshow" that I created w/ AIS, and none of the edit controls work.

    To get things working again I have to disable the plugin and delete all of the database entries with that custom size. Or, delete the image and re-upload.

    I'm looking through the code to find out why it's breaking this functionality and will post back if I can figure out why and hopefully a fix.

    http://wordpress.org/extend/plugins/additional-image-sizes/

  2. justgable
    Member
    Posted 4 years ago #

    It looks like this may just be one of those instances where WordPress doesn't include enough hooks/filters to get the job done w/o breaking anything.

  3. justgable
    Member
    Posted 4 years ago #

    The broken buttons in my case turned out to be an issue w/ Flutter. But I did discover that by commenting out the filter on line 15 of additional-image-sizes/index.php (function ais_intermediate_image_sizes) fixes the problem. The downside is that you can't select the radio button to insert the custom sizes to the post. For me this is all I needed since I'm programatically pulling the image profile in.

    Also note that you'll have to either reupload the image you want to edit or run a query to remove all refrences to your custom image profiles in wp_postmeta

Topic Closed

This topic has been closed to new replies.

About this Topic