• Resolved tommydev

    (@tommydev)


    Hi, So I have an acf image field in a form group that is attached to a custom taxonomy. When I am making a new term or editing an existing one I can see the button for “Crop Featured Image” but clicking the button does not launch the plugin UI.

    Is there a work around or fix? For the moment I am having to tell my client to locate the image in the main media gallery to preform her crops…workable but not ideal.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter tommydev

    (@tommydev)

    Hello, I was hoping to get response to this issue.

    To clarify the plugin does not seem to launch the cropping tools when activated from a custom taxonomy edit screen

    WP: 4.98
    Advanced Custom Fields: 5.7.5
    Crop Thumbnails: 1.1.2

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Hi tommydev,
    i released a new version (1.1.3).
    You need the new version and the following code to add the crop-thumbnail-functionality in your theme.

    Paste the code i.e. in your functions.php.

    
    add_filter('crop_thumbnails_activat_on_adminpages', function($oldValue) {
    	global $pagenow;
    	return $oldValue || $pagenow==='term.php';//for adding taxonomy edit-page to the list of pages where crop-thumbnails work
    });
    
    • This reply was modified 6 years, 6 months ago by Volkmar Kantor. Reason: formatting the code
    Thread Starter tommydev

    (@tommydev)

    @volkmar-kantor,

    Hi, many thanks from myself and our client for your time and effort.

    Fix worked perfectly!

    Thanks for a great plugin and support!

    • This reply was modified 6 years, 6 months ago by tommydev.
    • This reply was modified 6 years, 6 months ago by tommydev.
    • This reply was modified 6 years, 6 months ago by tommydev.
    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Fun fact: just 10 days after i implemented it, i need the solution by my self. ??

    Ahh Perfect!
    Thanks for adding in this filter!

    This should be sticky or in the FAQ, I think!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Crop UI not showing from ACF field in a term in a custom taxonomy’ is closed to new replies.