When the user uploads an image, WP automatically resizes it to all the sizes that have been registered. Existing images are not resized when the theme is switched. There are filters available to influence the resizing process.

learn more… | top users | synonyms

1
vote
2answers
137 views

Editing image dimension - to edit the main image file

When started blogging, I was not aware about the image file's size, and used a lot wider and sharper images without necessity, some of the files are even 5-7mb in size. As there's no such necessity to ...
0
votes
2answers
104 views

Need help making my homepage blog image smaller than my post image

For example I have an image that's very long but want to show a cropped version of that but when people click my blog post from the homepage they see the longer version. I tried doing using the ...
3
votes
1answer
157 views

How to change the naming of the resized image files

Now with custom image sizes Wordpress is almost as powerful as timThumb / phpThumb. There is one problem however. The way Wordpress handles the resized images are chaotic and doesn't survive theme ...
1
vote
1answer
108 views

Custom image size in the_content loop

I changed the default image dimensions for the "large" thumbnail and re-generated my images using a plugin. The new image size is only shown on new posts created after the image size was created. How ...
1
vote
1answer
289 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
169 views

How to both crop (with tool) and resize thumbnails having only a max width constrain?

I want to use thumbnails (max. 400px width). That means thumbnails can be 400px, but not always they should be 400px width. They can be even less. So, in the same page, one thumb 400px, one 320px and ...
1
vote
1answer
133 views

media resize/crop possibilities?

Under admin panel -> media settings there are no minimal width option for thumb or other image modes ex: I would like to crop image widthout distortion -> height 124px and minimum-width 124px and ...
0
votes
1answer
102 views

Fit image to Thumbnail canvas size

I need to upload images with differrent orientation (portrait and landscape) and I don't want to crop post-thumbnails. But I need always thumbnail size 250x250px. If I upload portrait oriented image -...
0
votes
1answer
36 views

Keep the original ratio in a thumbnail image

I’m using a thumbnail size of 100 * 60 in my blog, but sometimes I want to use square images. Is it possible to use a Wordpress plugin or CSS to make it fits by adding background in the sides to keep ...
0
votes
1answer
72 views

How to change this internal image link parameter using PHP?

How resize this string / change link parameter. Original file = mydomain.com/wp-content/uploads/2015/01/name-file.jpg Return to $string now = mydomain.com/wp-content/uploads/2015/01/name-file-...
0
votes
1answer
134 views

Small image resizing for big! Alternative to timthumb

I come here to ask for help for you ! I need some script in PHP or some explanation to take my picture posted on highlighted images and resize to the size I need? I know and add_image_size do this , ...
0
votes
1answer
74 views

Automatically generate missing images

I'd like to auto-generate images, or rather image sizes, in old posts where the size is currently missing. Specifically I'm hoping to generate sizes on the fly when a specific (old) image size is ...
0
votes
1answer
70 views

How to show images uncropped after uploading?

As you can see, I've uploaded an image of book. Whenever I upload images, wordpress seems to crop it all the time. Is there a plugin or a code I can put to where it will show the whole picture instead ...
0
votes
1answer
103 views

Thumbnails resized and not cropped in the center

here's image of some thumbnails in my wordpress homepage: http://i.imgur.com/x8EmtMO.png The first one is resized very nicely - I don't know why and how - and the other ones are cropped in the center ...
0
votes
1answer
168 views

Make all images displayed in single.php a certain size

I’m working on a fashion blog with a lot of images. I’ve imported all posts from Blogger to WordPress and it seems to have left me with images which have a size added on to the end of their src: http:...
0
votes
1answer
95 views

(Dynamically) Decrease the actual image size for downloads

I am using feedburner (give it the url of my RSS feed). Each of my feed item have an image, is there a way to lower the actual image size so that people dont have to download the real size? EDIT FROM ...
0
votes
1answer
200 views

Size article thumbnails and retrieve them directly from database

I've integrated the Wordpress database directly with my .NET application. What I want is to set the featured image of a post. This featured image must be maximum 800pixels wide, and automatically ...
0
votes
1answer
309 views

Resize header image

How can I access to the css file where is the header's background image? background: url("http://xxx.es") no-repeat scroll center top / 1600px auto transparent; It's not in the style.css
0
votes
1answer
38 views

Post Images Size Change in Wordpress

I am new to WordPress and have no knowledge about codes. Problem: My website page with the problem is: http://ecurative.com/?p=970 The image size is too big and looks blurry. I need a way out to ...
0
votes
1answer
140 views

Snapshot Theme from WooThemes — empty 'alt' attribute

I´m using Snapshot theme from WooThemes. The code which resizes (width and height and size in kb), and shows the images (an 'a' tag, wrapping an 'img' tag) is this one: <?php if ( get_option('...
0
votes
1answer
73 views

Upload image from other server without resize?

For image upload in my plugin i am using media_handle_sideload function. Is it possible to disable image resizing on this function?
3
votes
0answers
86 views

How to avoid Wordpress stripping EXIF metadata when resizing images?

Metadata is information about an image, and can be included in JPEG image files. EXIF metadata is information about the image recorded directly from the camera – for example, the exposure time and ...
3
votes
0answers
132 views

Cropping, Re-sizing and Saving images from one folder to another folder in wordpress

I'm adding an upgrade for the WordPress plugin which I have developed ages ago. This plugin is just a product catalog, so just show products and their images. Products can have more than one images. ...
2
votes
0answers
779 views

How to resize image on client-side before upload?

I've been using Plupload to resize images on the client side before uploading them to the server. I've implemented a front-end form which lets the user select a file from their computer and submit it. ...
1
vote
0answers
15 views

Intersept image upload and generate retina image from source

My goal is to make a retina and non-retina image when user uploads a photo. This is doable like so: add_action('init', function() { // Get the original image sizes and duplicate $thumb_w = ...
1
vote
0answers
20 views

Altered media sizes (in dash), not updating to existing images/posts

(I have searched but not found a satisfying answer – bear with me). I have a client that has a website with 1500 posts. Each post consists of ONE image, no text. I have changed to the Oria theme (...
1
vote
0answers
332 views

How to create resized versions of images added with wp_insert_attachment

I'm uploading images to my media gallery and setting them as my post's featured image, which is working quite well. I'd like to generate thumbnails of these featured images, in the same way that ...
0
votes
0answers
17 views

Newly Uploaded Images Don't Scale Properly in Featured Images

It took me a bit to figure out what was going on, but here it is.... When I create a new post, and add a featured image to it, the image doesn't scale properly, like they used to. On the home page, ...
0
votes
0answers
12 views

option tree - resize image gallery

I want to resize image of gallery metabox in option tree. I searched for solutions, but without success. This is my code and it's working fine, but the images do not resize : if ( function_exists( '...
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
0answers
19 views

Resized Images get transparent for certain sizes

I am using Wordpress 4.3.1 with the Minamaze free theme. I changed the base URL and everything went fine, except for the images in the 3 featured areas in the home page, that - resized - become ...
0
votes
0answers
36 views

How to resize image upload by percentage?

is there a way to achieve re-sizing image with percentage with this function: add_image_size('name', 50%, 50%, false); I know this function will not work. I wanted to resize by photos by 50% from ...
0
votes
0answers
11 views

Image sizes “stuck” on previous values

My image sizes are stuck on previous values. I previously was managing images with Simple Image Sizes plugin, but I noticed a discrepancy between the value I set and the actual image size. I then ...
0
votes
0answers
713 views

How to resize an image server-side before upload?

I've been trying to resize an image client-side before uploading (see this question). I'm now trying to resize server-side before uploading. I think wp_handle_upload_prefilter is the filter I should ...
0
votes
0answers
181 views

Different image heights for different resolutions without distortion

In Meta Slider for WP as in most sliders, the height is defined once and for all in dashboard. Sometimes though a full-width slider can look too thin on a mobile, but if you increase the height "...
0
votes
0answers
529 views

Google Page Speed Insights - Optimize Images

The top recommendation from Google Page Speed Insights is to optimize & compress images. How do I do that? It lists dozens of images and that would be practically impossible to do it all manually. ...
0
votes
0answers
159 views

How to make image proportional bigger?

I'm trying to make my slider images bigger but it doesn't work. I want them to be proportionally bigger and with width:100% they look funny. It's fine if the image get cut and doesn't show the whole ...
0
votes
0answers
600 views

“Unable to create new image” error in wordpress dashboard image editor

My server is nginx and wordpress version is 3.8.1. I can upload images but when I try to edit the image (scale, crop) it gives below error and doesn't show picture. I have tried with 400kb to 1mb ...
0
votes
0answers
472 views

wp_get_attachment_image_src

When I use wp_get_attachment_image_src(), the medium sized image is returned on 3 out of 6 of my images. The other 3, the full size image is returned. I've checked and the medium sized image exists ...
0
votes
0answers
255 views

Wordpress Image Resize fails without Error Message

I wonder why resizing a jpeg image fails in Wordpress without throwing a PHP Error with memory_limit error or Filesize Error. The image is 2MB big jpeg with RGB colorspace. Dimensions 4496x4496 (...
0
votes
0answers
724 views

How to specify image width and/or height attributes for images uploaded using Wordpress uploader

When I check my website speed using GTMatrix for many images uploaded using WordPress uploader that image(s) are missing width and/or height attributes. Wordpress by default provides width & ...
0
votes
0answers
97 views

Missing image sizes

I have Wordpress 3.5.2 installed. GD is enabled and working. The theme supports post-thumbnails. When I go to upload an image, the system doesn't create the default thumbnail and intermediate sizes. ...