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 ...
-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 ...
8
votes
9answers
8k views

How to generate thumbnails when needed only?

I have 1000 images. How can i make wordpress to generate thumb only when needed. For example home slider will only use 10 images i dont want the other 1000 images have that thumbnail generated as its ...
0
votes
2answers
88 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 ...
1
vote
0answers
14 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 = ...
2
votes
1answer
62 views

How can i use wp_get_image_editor for image resizing

I search a lot that how can i re-size images that upload with meta field but i get nothing instead of wp_get_image_editor. I read from codex about it but nothing helpful so I search about this ...
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 ...
0
votes
1answer
50 views

Woocommerce resize existing product images

We discover that our Single Product images as set in Woocommerce> Setting > Products > Display are set to big. Single Product Image: 500 ×750px xHard Crop I have tested plugin regenerate thumbnails ...
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 ...
0
votes
1answer
69 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
2answers
26 views

Resize existing library images

How can I resize images that were already in the Media Library when I created new custom image sizes? I just want WP to process them as if they're new images, taking into account my new settings, ...
1
vote
2answers
619 views

Plupload resize for worpdress

So, for the Plupload, I know there is a documentation to how to resize the image on the client side before uploading : http://www.plupload.com/docs/Image-Resizing-on-Client-Side However, I am not ...
1
vote
0answers
17 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
1answer
165 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
114 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
1answer
33 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
0answers
59 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 ...
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 ...
14
votes
3answers
245 views

Handle issues with change of image scaling (rounding) in 4.1 (WP Ticket #18532)

I am currently in the course of migrating site content from an old pre 4.1 site to a new setup and hitting an issue with the rounding error issue of #18532 and the corresponding fix. To summarize ...
1
vote
1answer
39 views

Is there a way to change wordpress image resize settings?

Websites nowadays tend to have big banners and big images. Thus when developing sites we try to optimize these images as much as possible. However, when wordpress resizes these images, it does a ...
0
votes
2answers
189 views

Resize image to specific dimension (X to Y ratio)

I've tried to add my custom image size like: add_image_size('224_226', 224, 226, false); I need resize all images to same size what i define in style, when i've uploaded file - Wordpress resize it ...
0
votes
0answers
34 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 ...
1
vote
1answer
265 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 ...
0
votes
1answer
70 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 = ...
0
votes
1answer
166 views

Wordpress resizes image to the same size as uploaded

I am writing a theme which uses different image sizes. Here are my targeted sizes as they are set up in under Settings > Media in WP Admin: Here is the functions.php code for the thumbnail ...
0
votes
1answer
119 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 , ...
9
votes
2answers
9k views

How to scale up featured post thumbnail?

The situation is this: I'm using Video Thumbnails plugin to automatically get and set youtube/vimeo thumbnails as post featured image. The problem is that default youtube/vimeo thumbnail sizes are ...
0
votes
0answers
10 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 ...
1
vote
1answer
48 views

Retain the original name of the image on resize

I need to resize a few existing images in my upload directory so doing some tests with wp_get_image_editor. Please check the example code below. $img = wp_get_image_editor( ...
2
votes
0answers
121 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. ...
1
vote
1answer
105 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 ...
0
votes
2answers
92 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 ...
0
votes
1answer
61 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 ...
2
votes
1answer
86 views

resize only height using wp_get_image_editor

I want to resize an image keeping its original width unchanged. I only want to resize the height to 300px. I am trying following, but it changes the width automatically. How can I keep it unchanged? ...
7
votes
5answers
787 views

Generate Thumbnails only for Featured Images

I would like to know if there is a simple way (custom code or plugin) to create thumbnail sizes only for images that I intend to use as featured images (index.php, archive.php, etc.) , but not for the ...
0
votes
0answers
21 views

Thumbnails crop setting doesn't show

When I set crop area in edit image panel usually I have area "Thumbnails settings" where I can choose that this new image size should be used for all image formats or only for thumbnail. I updated ...
0
votes
1answer
240 views

Help with resizing of featured images on WooCommerce homepage

I cannot get the featured images on my home page to shrink. I wouldn't mind the size of the 3 smaller ones (even though I would like to know how to change their sizes too - just in case), but the one ...
1
vote
1answer
691 views

Regenerate thumbnails after upload

I have this nice little code coming straight from the Wordpress codex if($_FILES['user_picture']['size'] != 0): if ( ! function_exists( 'wp_handle_upload' ) ) require_once( ABSPATH . ...
0
votes
0answers
45 views

Cropping image results in image being too small

This is the wordpress version 4.2 powell I crop 1500 x 1000 and then press on crop, then save. Resulting image size: 1497 x 1000 I don't know, I somehow hoped that wordpress is able to bloody ...
0
votes
1answer
61 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 ...
2
votes
0answers
752 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. ...
10
votes
5answers
7k views

How to disable WordPress from creating thumbnails?

I've been looking around the net for a long time on how to disable WordPress from creating multiple thumbnails. I've seen in most tutorials to set all the images to 0 in the media section. I have ...
1
vote
1answer
93 views

Featured images get shrunken

While uploading featured images, the problem I am getting is, all images are shrinking automatically. I want to retain the original image. Check this example. All staff memebers images are shrinked ...
2
votes
1answer
1k views

Allow user to manually set crop area of default/custom image sizes on upload [closed]

I'm looking for a plugin that allows the user to define where the image will be cropped for a given thumbnail size. For example, the user uploads an image, a screen comes up with the image and a ...
0
votes
0answers
692 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 ...
3
votes
3answers
4k views

Settings in 'Media > Settings' is ignored when inserting images

When I upload an image, it is automatically resized as I would expect, however the sizes for inserting the image seem to ignore the settings I've placed in Settings/Media. In my media settings I ...
0
votes
1answer
608 views

How can I automatically resize up images to fit into all of my registered image sizes

I need Wordpress to create versions of each image in ALL of the registered image size, even if the registered image size is larger than the uploaded file. For example, if I have the following ...
0
votes
0answers
166 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
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 ...
2
votes
2answers
593 views

Resizing Images to lower Disk Space Using Plugins

I'm trying to take existing images and shrink the file size down by resizing to photos to a smaller resolution. I've tried a few methods so far: Simply editing the photo in photoshop and reuploaded, ...