The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
17 views

No compression occurs on my jpegs after adding jpeg_quality hook to my functions.php file

I'm attempting to perform some basic jpeg compression by using the jpeg_quality hook inside my functions.php file but there is no compression/resizing taking place. I'm only measuring file compression ...
1
vote
0answers
34 views

Modify 'Sizes' Attribute for Images with Specific Class

I'm ultimately trying to add useful responsive image srcset & sizes attributes to images added in a standard Text Widget. I've found this filter which does allow images to get the default WP ...
0
votes
0answers
20 views

Set custom image size for Media Settings via ajax in wp-admin

I want to the user upload image custom size, but I want to possibility to change size via ajax, without go to media settings, I have two types images sizes. 700px for posts 1500px for header When ...
0
votes
0answers
11 views

Query by attachment image size

Is it possible to use WP_Query to get attachment images by pixel size? For example all images with a width of 500px and height of 300px. Or images with a height bigger than 300px. As far as i can ...
0
votes
0answers
33 views

Responsive images for Retina ready images?

WordPress uses Responsive Images from WordPress 4.4 reference I have 1 Question & 1 Issue. ​Question​: Can I Responsive Images feature for retina devices??? -> Is Responsive Images uses the ...
0
votes
1answer
21 views

Automatically set full size for all my images in all my post and page?

I have near 800 post/page in my site and 3800 images. I actually set Large Size to 600px width but in my new theme i want my image width be 880px. So i would like to switch all my image to Full-Size ...
0
votes
1answer
35 views

One of my image sizes isn't showing up in srcset

So for I've added some custom image sizes like this: add_action('after_setup_theme', 'image_sizes_setup'); function image_sizes_setup(){ add_theme_support( 'post-thumbnails' ); ...
0
votes
1answer
32 views

Image Sizes/Thumbnails not generating on local install Ampps

I'm not sure what is going on. I can't get the thumbnails to generate. I tried the "force regenerate thumbnails" plugin, but that didn't work. I' don't have any plugins running and I've tried with a ...
0
votes
2answers
146 views

Keep image EXIF info after compressing original image?

After testing I realized that Word Press after image upload will make medium and thumbnail sized images of original image without EXIF/IPTC info I realized it is because GD image library is used on ...
0
votes
2answers
24 views

Large size is not honoured when inserting image

Is there an image bug in WP 4.4.2? I have tried the forums but no-one replies there. When I upload an image, it is crunched according to my media settings. But when I go to 'Add media' and select '...
0
votes
0answers
29 views

“image-name.jpg exceeds the maximum upload size for this site.” but image is only 11KB

I was directed to your website by my theme developer but then read that I should not post WordPress support issues, so please forgive me if this is not allowed. If it is, this is my situation. I am ...
0
votes
1answer
54 views

Is it possible to preserve original images in order to change image size later?

I want to create a simple wordpress blog site. At the moment I will use a template, but I would like to develop my own afterwards. And I have one concern related to images. Current template has nice ...
0
votes
2answers
54 views

How to change _wp_attachment_metadata specific value in SQL?

i had to resize a lot of existing images in my upload folder (around 1k). After reuploading them, Wordpress of course, doesn't recognize the new dimensions. My approach was to just change the size in ...
4
votes
0answers
281 views

the_post_thumbnail responsive srcset not populating with custom image size

I am trying to use the new responsive images feature in Wordpress 4.4 but I keep running into a particular problem when trying to use the_post_thumbnail with a custom image size. It seems I cannot ...
1
vote
1answer
38 views

Setting specific image size for specific form upload file field

When you upload an image through a form's "upload file" field type to the Wordpress media library - Wordpress automatically generates three copies with three different sizes by default. Now I know ...
0
votes
1answer
27 views

Query Image File of a Different Size

I know that when you upload an image to the Wordpress media library, it automatically creates some duplicates of that image in different sizes. I'd like to know how I can return those differently ...
0
votes
1answer
58 views

Controlling image output size ACF repeater [closed]

I am using ACF repeater and am not able to control the output size incorporating Wordpress theme support custom image sizes add_theme_support('post-thumbnails'); add_image_size('large', 700, '...
1
vote
2answers
59 views

Responsive Images Warping

I'm using HB Themes Aegaeus theme and it's great except for the fact that one of the shortcode elements (hb-box) is resizing the images. (Obviously, automatically resizing site elements to fit a ...
1
vote
0answers
43 views

wp_upload_bits Upload Specific Sizes Only

For images uploaded using this code, I want to only upload the full-size image and the thumbnail (whereas for images uploaded through site, I want all sizes). However, I can't figure out how to make ...
4
votes
1answer
983 views

The the_post_thumbnail without srcset?

The WordPress 4.4 adds multiple image sizes with srcset when using the_post_thumbnail function. Is it possible to get only one image size without srcset ? I understand that it is possible to add a ...
0
votes
1answer
109 views

Custom image sizes not working

I have few images on my theme library. These images have various sizes (640x480, 275x183 and 1920x1200). These images are part of the Theme Unit Test data that you can use to test your theme. Now, I ...
1
vote
1answer
34 views

How to decrease picture size

On my website, how can I decrease the size of the picture with the cyclists? Currently, I think it's too big.
0
votes
0answers
35 views

Image rendering on mobile

I helped a friend with a template of a blog recently, and her readers have problems with image quality on mobile devices. Thing is, some are experiencing it, and some not. Is there any way I can fix ...
2
votes
1answer
42 views

Cannot get full thumbnail size using the_post_thumbnail

I cannot get the full (unmodified) image size using the_post_thumbnail( 'full' ); I have also tried: the_post_thumbnail(); It still returns the cropped image. I can see that the unmodified ...
1
vote
1answer
67 views

Error uploading images (but the images are at the server!)

I have a huge problem with images with a size greater 1MB in my website and I really need some help. If I try to upload an image with a size greater 1MB in my Media Library I get a generic error ...
7
votes
2answers
1k views

WP 4.4. responsive images browser choosing the “wrong” one

I'm glad that WP 4.4. ships with a built-in responsive image feature. But I'm not that happy with it. I have set up some custom image sizes in my functions.php: add_image_size('post-thumbnails', 600,...
0
votes
0answers
28 views

Mobile view: big image sizes, when using infinite scroll and loading next posts

My website is set up with a simple blog (http://goo.gl/5nJZOz) and the plugin "Infinite Scroll". The site works responsive: When I change the size of my browser to 799 pixels wide or lesser, the ...
0
votes
0answers
30 views

How to change the image size for pictures uploaded using the Android app?

Is there any way to change the size of the images uploaded using the Android app? The app itself has a setting to resize the picture, however it does affect the max. size uploaded to the server, while ...
0
votes
1answer
124 views

Force square image crop during upload?

I'm developing my own theme where I have fixed the left sidebar with my photo. Is it possible to force users to crop their image to a square during upload? If yes, how? What functions I will need?
0
votes
0answers
15 views

Resizing image styles?

I know that this question may not have a specific answer and questions like this might be considered off topic but I feel it is important to ask. There are currently three solutions I know of for ...
0
votes
1answer
32 views

1px black line appearing down right side of thumbnails (theme snaps) [closed]

For some reason on most of the thumbnails there is a black 1px line to the right of the image. This looks to be a cropping issue or something but there is a 1px thick line on the right hand side of a ...
0
votes
2answers
100 views

How to get all featured image sizes and their URLs?

Is there a standard way to get all the registered sizes of the featured images? One can register different sizes with add_image_size(). What I need, is to get all the sizes of a featured image of a ...
1
vote
1answer
143 views

Reasons why all thumbnail sizes aren't working

The situation: I have both a development environment and a production environment of a website. Both are identical. The issue: On the production site, all post thumbnails show the full image ...
0
votes
1answer
31 views

Wordpress Is Saving Original Image Only

I have spent a few days wrestling with this issue. I have also searched for a similar question to no avail. When I upload a new image, The only file being created on the server is the original image. ...
0
votes
1answer
52 views

Wordpress lowers image quality

I am uploading to my site large images with media uplader and I want them to have 100% quality but wordpress reduces the quality. What should I do or what plugin to install to prevent this?
0
votes
2answers
39 views

Changing Image Size Settings does not show in Image Details

I would like to change the image sizes for "medium" and "large". I did change the sizes in Settings > Media This however does not seem to have any effect on the settings I see when I edit or ...
1
vote
2answers
40 views

How can I see where in my themes and plugins certain image sizes are used?

I've had the same WordPress blog for years upon years, and years ago, I installed the Simple Image Sizes plugin to control image sizes. I think I wanted an easy way to set the size of post header ...
0
votes
0answers
20 views

Scaled images too big for page

I've been managing this real-estate site, http://www.homesbydale.com. The Listings page offers a carousel of photos for each listing. Recently (since July 9, 2015), each individual listing page ...
1
vote
1answer
44 views

Output random (custom) image size

When using custom image sizes like: function customImageSetup () { add_theme_support( 'post-thumbnails' ); add_image_size('grid_1 mini square', 60, 60, TRUE); add_image_size('grid_2', 160); ...
1
vote
1answer
71 views

Site icons with alpha channel for self-hosted Wordpress blog network

Either I'm missing something (or have something badly configured in my self-hosted blog network) or when I'm uploading a transparent .png file (with alpha channel) using Media Library, my Wordpress ...
-1
votes
1answer
87 views

Set add_image_size() greater then content width in media box

How can I set a image size bigger then the defined max content width in the media box? The content width is set to: if ( ! isset( $content_width ) ) { $content_width = 960; } If I add now a ...
0
votes
1answer
2k views

Woocommerce get category image full size

i'm trying to get the full size image of my category products. $prod_categories = get_terms( 'product_cat', array( 'orderby' => 'name', 'order' => 'ASC', '...
1
vote
1answer
143 views

resize from small images to large

I want to create large images though my original image is smaller. I have original images 1024x768 in my media library, and i want to resize these images to 1920x1080px in my WordPress posts. I ...
0
votes
0answers
15 views

Need advice for uploading images and generating sizes

I would like some advice on creating a image upload system(this maybe a plugin or a script on a page, it doesn't matter). I have a image site were each image is an post. I want to be able to upload ...
0
votes
1answer
107 views

add class to background image

I'm trying to make a wordpress theme, using as framework the twitter bootstrap. On one page template I need to use the featured image as a background image, so I used this code: <?php global $post;...
0
votes
0answers
123 views

Essential Grid- ignoring Set Image Source Type

I am setting this value for the 'Set Image Source Type' And I have this in my functions: add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 370, 277 ); add_image_size( 'mnd-size', ...
0
votes
0answers
23 views

Compress full-size image into a separate custom size

I need to have a custom image size (or else) with the same resolution as the original uploaded image, with a jpeg quality of 60. The reason behind this is because the images must be shown sometimes in ...
0
votes
1answer
19 views

Featured images are cropped on index and post page

I am using a theme called Simple Bootstrap and after a recent update, the theme began cropping the height of the featured images on both the index and the post page. When I inspect the specific ...
1
vote
1answer
113 views

How can I make all post image uploads have data-width and data-height attributes automatically by default?

Right now all my images automatically have width= and height= when someone adds an image to a blog post. But what if I also want every image to have a data-width= and data-height= and have it equal to ...
0
votes
1answer
38 views

set specific dimension or minimum upload size [duplicate]

How can I require specific dimensions for an image for an upload form? For example, I want to set the image to be uploaded in 350x200px, or show a notice to the user if the image size is not correct. ...