How to use crop_thumbnails_after_save_new_thumb action
-
Hi! Thanks for the great plugin.
I’d like to integrate it with a retina plugin to produce retina images on each crop. The idea is to generate retina thumbnails after an image has been cropped with Crop-Thumbnails (here’s a topic regarding that). However, if I do something like this:
function functionName( $fullFilePath, $imageSizeName, $imageMetadata ) { // wr2x_generate_images( $imageMetadata ); } add_action( 'crop_thumbnails_after_save_new_thumb', 'functionName' );
after cropping of any size of any image an alert appears saying that the plugin can’t connect to the server. This happens even if the action contents is empty.
Am I using the action correctly?
Thanks a lot!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How to use crop_thumbnails_after_save_new_thumb action’ is closed to new replies.