The tag has no usage guidance.

learn more… | top users | synonyms

8
votes
4answers
2k views

Automatically replace original uploaded image with large image size

As our users regularly upload ~6MB images to use on the website (and aren't too familiar with how to resize them first), WordPress stores the originals as well as resizing them to several different ...
0
votes
1answer
23 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' ); ...
-3
votes
0answers
11 views

Resize images from another server and display

I wondered if there any way to resize images from another server and display. URL of all images is stored on database table but actual file is on another server which I do not have any access. I ...
0
votes
1answer
16 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
1answer
108 views

wp_get_attachment_image_src() regenerate custom size images everytime

i try to make simple gallery from post's attachment images with custom sizes. i wrote simple loop: $original = array(); $gallery = array(); $gallery_min = array(); $imgs_args = array( ...
12
votes
2answers
5k views

How does WP media uploader create the 3 different sized images, and how can I duplicate it

I have finally!! got this thing I've tried about 12 times to make and 12 different ways, but finally got it to work,... sort of. I made a custom metabox for uploading and attaching images to posts, ...
0
votes
2answers
91 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
22 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
23 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 ...
1
vote
3answers
784 views

Images in the Twenty Fourteen theme

How and were do I change the size on the sticky post images and the other images in the theme twentyfourteen? I would like 8 sticky post images on the "front page" instead of 6 and I want them in a ...
0
votes
1answer
48 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
1answer
324 views

Image resize using url parmater

I would like to resize image in my wordpress template using url parameter. Best example for this would be Wordpress's very own twenty Twelve theme. Following is link to image with width parameter in ...
0
votes
2answers
29 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 ...
-1
votes
1answer
86 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 ...
3
votes
0answers
135 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 ...
2
votes
2answers
2k views

How To Delete Desired Image Sizes From wp-content/uploads?

My default media setting in WordPress blog is 150x150, 300x300, 1024x1024 respectively for thumbnail, medium, large images. Now I am designing a theme that need different size thumbnail images to show ...
1
vote
1answer
31 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
44 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, ...
0
votes
1answer
21 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 ...
1
vote
2answers
58 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
38 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 ...
3
votes
1answer
655 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
55 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 ...
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', ...
1
vote
1answer
32 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
34 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
41 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
59 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 ...
1
vote
1answer
116 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
24 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 ...
1
vote
2answers
21k views

How can I add a 'Click to Enlarge Image' feature, with the enlarged image opening in a popup?

I have several images of UI forms and tasks, that are quite large. I would like to display a smaller, 'thumbnail' image snf give the user an option to 'Click to Enlarge', and then display the fill ...
0
votes
0answers
27 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
99 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
27 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
3k views

How can I change get_the_post_thumbnail to make 100% width image?

I have a WP site whose center column is variable width. I would like the featured image to appear front and center - 100% width. If I hard code the image path using a plain old image tag with ...
1
vote
1answer
141 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
2answers
81 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 ...
5
votes
2answers
1k views

How to resize images in wordpress without adding any compression or changing the color profile of the images, possible?

As you can guess from the title, Im looking for a solution that allows me to alter the way Wordpress processes/saves its newly created images according to the media settings in the dashboard. This is ...
10
votes
2answers
7k views

How to Dynamically Resize WordPress Image On-The-Fly (custom field/theme option)

So - at a client's request, I am in need of being able to resize an image not the standard WordPress way... but from an image pulled-in from a theme option. I can't simply use the custom_header area, ...
0
votes
1answer
27 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
2k views

How to get meta value in wp_attachment_metadata

I want to get wp_attachment_metadata in my own way. I want to separate the sizes (Thumbnail, Large, Medium, Small). The meta value on database looks like this: ...
1
vote
2answers
37 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
1answer
51 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
38 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 ...
0
votes
0answers
18 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
267 views

Crop image to horizontal or vertical by code based on image size

my client asked me to create gallery(WP gallery) based on this site. the problem here is that i need to crop images based on image size before inserting the image in the Media library. now i using ...
1
vote
1answer
38 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
67 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 ...
10
votes
2answers
5k views

Set default image sizes in WordPress to hard crop

How do I set the medium and large images sizes in WP to hard crop? In my theme I can set the thumbnail size to hard crop using this: add_theme_support('post-thumbnails'); set_post_thumbnail_size( ...