The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
25 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
0answers
13 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 ...
8
votes
8answers
6k 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
1answer
27 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 , ...
6
votes
2answers
7k 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
6 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
35 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
30 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
64 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
43 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 ...
1
vote
0answers
25 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 ...
0
votes
1answer
25 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
30 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
431 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
18 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
90 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
420 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
30 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
40 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
2answers
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
0answers
68 views

Add crop function to media upload

I'm making my own theme and i basically copied this image upload: http://www.webmaster-source.com/2013/02/06/using-the-wordpress-3-5-media-uploader-in-your-plugin-or-theme/ ..but since its for a ...
1
vote
1answer
308 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 ...
2
votes
0answers
533 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. ...
9
votes
5answers
5k 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
0answers
148 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
0answers
123 views

Conditionally Use image_resize_dimensions()

I used add_image_size() and image_resize_dimensions() to upscale and crop images in WordPress. It is working as expected except on the Edit Media page. Generally on this page you would see your full ...
1
vote
1answer
73 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
529 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
249 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
109 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
82 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
985 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 ...
2
votes
2answers
522 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, ...
0
votes
4answers
212 views

Post thumbnail height problem

I am trying to create a square thumbnail with auto crop with size of 300px 300px. I only get the width of 300px but the height is auto, i think is not cropping. I tried this: add_image_size( ...
0
votes
0answers
364 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
4answers
6k views

Getting Different Size Of Attachment Images

I'm confused, because there are a lots of functions about attachments . I've tried a lots of functions. I'm setting a featured image for my every blog post. I have to get different sizes of this ...
0
votes
1answer
120 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: ...
1
vote
2answers
87 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 ...
-1
votes
1answer
119 views

Is there a Wordpress Plugin like Imsanity that keeps high resolution originals? [closed]

I'd like to show lower resolution photos on blog posts and their previews on the main page, but when clicked upon, they should still link to the full resolution version. Is there a plugin to do that ...
0
votes
1answer
33 views

Display cropped thumbnail not featured image

Currently i have these lines in functions.php and my home page respectively: add_theme_support( 'post-thumbnails' ); add_image_size( 'square', 252, 252, true ); // if ( has_post_thumbnail()): ...
-1
votes
2answers
166 views

Woocommerce product image [closed]

when I upload in woocommerce image it uploads different sizes: For category Single Thumb and keeps original file which is big... how can I auto delete this original file ?
0
votes
1answer
89 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
2answers
87 views

Resize images in batch

I want to resize images on server, I have more than 7000 images in library of my WordPress site. I want to resize all images on server itself. I know that regenerate thumbnails plugin can be used, but ...
0
votes
0answers
148 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 ...
1
vote
1answer
2k views

Using wp_get_image_editor in a standalone script

With WP 3.5, they updated the image resizing scripts with wp_get_image_editor. Currently, in this standalone script that is accessed with Ajax, I have included wp-load.php so I can access all of the ...
12
votes
2answers
339 views

Image quality based on image size

Is it possible to set the image quality based on the image size? I'd like to have better image quality for larger images (80) - and worse for small thumbnails (30). I was expecting a parameter at ...
0
votes
0answers
431 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 ...
1
vote
1answer
140 views

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

I can't found my very problem in other threads. I'll try to explain: want to use thumbnails MAX 400px width. That means that CAN be 400px, but not always they should be 400px width. They can be even ...