Bring Your Business to Life › Support › Image Store › How disable resize generate thumbs?
Viewing 4 posts - 1 through 4 (of 4 total)
  -  AuthorPosts
-  April 16, 2015 at 8:37 pm #274440Jhonathan ParticipantHow disable resize generate thumbs? 
 I want to speed up the upload process disabling the generation of thumbnails as I do that?April 26, 2015 at 9:10 pm #280353Xpark Media KeymasterAdd the following code to a plugin or theme. function my_custom_function_name( $data ){ remove_filter( 'ims_generate_image_metadata', $metadata, $attachment_id, $path ); return $data; } add_filter( 'wp_update_attachment_metadata', 'my_custom_function_name', 100 );April 27, 2015 at 4:01 pm #280861Jhonathan Participantdid not work, still creates the thumbnails in _resized folder. May 3, 2015 at 2:08 am #283981Xpark Media KeymasterHere is another example, make sure you rename the function function my_custom_function_name( ){ global $imstore, remove_filter( 'wp_update_attachment_metadata', array($imstore, 'generate_image_metadata')); remove_filter( 'wp_generate_attachment_metadata', array($imstore, 'generate_image_metadata')); } add_action( 'ims_admin_init', 'my_custom_function_name', 100 );
-  AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
  - You must be logged in to reply to this topic.