When I upload an image through the admin interface, the image is only saved at full-size. The other sizes are configured to their default values in Settings > Media....
I’ve followed the accepted answer in this question to generate my thumbnails in a custom way. I extended the image editor class as: class WP_Image_Editor_Custom extends WP_Image_Editor_GD { public...
Is it possible to add a custom field to an existing “widget” in the backend? What I wanna do is provide a way to have a checkbox to apply...
Two quick questions. How does default thumbnail size work? if ( function_exists( 'add_theme_support' ) ) { add_theme_support( 'post-thumbnails'); set_post_thumbnail_size( 800, 600, true ); } What does above code really...
I’m using do_shortcode() to display a custom WordPress audio playlist. By default the playlist will load cover art for each audio file (the attachment’s featured image) and change according...
I am using hard-crop on featured images like this : add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size ( 635, 200, true ); I have no other plugin installed, not even Jetpack. No...
I’ve been successful in using the following code to display thumbnails for next & previous links for normal posts but this does not work at all for custom post...
I need to find plugin or create listing of all uploaded images for some post in custom metabox. And i can click to thumbnail for add image to editor...
I am storing my uploads in a separate folder and using separate table to save the location in database. I have gone through WP_Image_Editor , wp_image_editor_gd and wp_image_editor_imagick ....
I.e. an uploaded image image.jpg is stored in wp-content/uploads/2016. WordPress will generate thumbnails named image-150x150.jpg, image-300x300.jpg, and image-1024x1024.jpg in the same directory. Is it possible to store the additional...