Gallery images stored elsewhere (preferably Google Drive)

I have been using this wordpress plugin for a while now. http://codecanyon.net/item/useyourdrive-google-drive-plugin-for-wordpress/6219776 I have done alot of searching to try and find a perfect solution to having a large free Storage place for images and then showing those images from my website. This was the only solution i could find for showing the images on … Read more

How can i use wp_get_image_editor for image resizing

A possible solution: Goal: Don’t use add_image_size() to show a custom sized image. If you calculate the image without saving it, all requests will sum up to a huge page load due to repeated unnecessary processing time. So caching or saving the results should be an additional goal. Add a image-processor.php in your template/plugin: //Load … Read more

Cannot get full thumbnail size using the_post_thumbnail

Try to add custom thumbnail size with unlimited(very big) hegiht and width in functions.php with following code: add_theme_support( ‘post-thumbnails’ ); add_image_size( ‘custom’, 9999, 9999 ); It will not crop any images. So you can use it as the_post_thumbnail( ‘custom’ ); This method looks rough but you can use if other ways don’t work. And if … Read more

How to get category image custom post type taxonomy in wordpress?

From the details page of the WPCustom Category Image Plug-in : https://wordpress.org/support/plugin/wpcustom-category-image 1st – Go to Wp-Admin -> Posts(or post type) -> Categories (or taxonomy) to see Custom Category Image options. 2nd …depending on whether you want to show a single category image or display several in a loop – //SINGLE echo do_shortcode(‘[wp_custom_image_category onlysrc=”https://wordpress.org/plugins/wpcustom-category-image/false” size=”full” … Read more

Setting specific image size for specific form upload file field

Here’s an example of how to unset the standard WordPress sizes or any size for that matter assuming you know the image size name and of course you can simply inpect the $sizes array to determine what to unset… function wpse219360_disable_intermediate_image_sizes($sizes) { if ( isset($_FILES[‘file_input_1’]) && $_FILES[‘file_input_1’][‘error’] != UPLOAD_ERR_NO_FILE ) { unset($sizes[‘thumbnail’]); unset($sizes[‘medium’]); unset($sizes[‘large’]); } … Read more

How to set a Minimum Image Dimension for Uploading

The $file array doesn’t have anything that you’d be able to use, but $GLOBALS has some helpful information. You can uncomment the debugging line that contains $GLOBALS to see what it contains. I have added a guard clause to the top of the tc_handle_upload_prefilter function. This ensures that the file size checking code is only … Read more