The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
234 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
2answers
332 views

Hook for saving an image after editing

Is there any hook which is triggered when an image is edited (crop/re-size whatever)? I need to send an email notification to an admin user when an image will be edited (crop/re-size whatever). I need ...
0
votes
1answer
34 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 ...
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
71 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. ...
-1
votes
1answer
186 views

How to modify Media Library images DPI [ image quality down to make small in size ] [closed]

I wonder if there any code or hook out there to manage the image DPI, for example when we use photoshop or other image editing software we use export and image quality to 0-100%, now i am looking for ...
1
vote
1answer
805 views

How to get custom image sizes into media uploader dropdown?

I searched net to solve the problem with images size uploaded from media. But not even one worked to me. When I try to insert images from the media into post it does not show my custom image size 608 ...
0
votes
1answer
127 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 ( ...
0
votes
2answers
452 views

WordPress keeps resizing my 947x947 image down to 500x500 (full-size option)

This is driving me crazy. The code for the image is: <img src="MYLINK" /> Yet it keeps resizing my image down to 500x500 from 947x947. How do I fix this? Also, it disregards the image map I ...
0
votes
2answers
654 views

specify size of post preview image (not post thumbnail)

On the main page of my blog, I have a section in the header with post thumbnails(140x170px) linking to specific categories. Below within the actual blog loop, I also have post previews- an image ...
1
vote
1answer
100 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 ...
1
vote
0answers
251 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
1answer
167 views

Control resizing of uploaded images

I am looking for the regular images that get uploaded from the media uploader. I want to put in an image resize script instead of using WordPress to manage the images. The main reason being is that I ...
9
votes
5answers
4k 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 ...
2
votes
1answer
143 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 ...
0
votes
1answer
63 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?
1
vote
1answer
220 views

Custom image size not regenerating when image editted

I have a custom image size at 200x150 that works fine in a plugin I'm working on. Uploading new files is no problem but when I edit an image, the default image sizes get regenerated but my custom ...
1
vote
2answers
204 views

Dynamic-Image-Resize Plugin does not output anything

I'm having trouble using the "Dynamic-Image-Resize" plugin by "Kaiser Franz Josef". In my template I'm adding following code: $imgsrc = wp_get_attachment_image_src( get_post_thumbnail_id( ...
0
votes
1answer
213 views

Prevent creating multiple image resizes in twentytwelve template

I am using wordpress twentytweleve template and I notice every time I upload an image it creates 3 different thumbnail sizes. In my media settings I have already set medium & large size to 0. It ...
0
votes
1answer
190 views

Wordpress Resize Image and show as thumb in post

I have set crop in functions.php to resize Images for Posts. Codex from Wordpress: add_image_size, post_thumbnail add_theme_support('post-thumbnails'); set_post_thumbnail_size(100, 100, true); ...
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 ...
2
votes
1answer
2k views

image_resize in wp3.5 change to wp_get_image_editor and wont work

After 3.5 removed support image_resize and now says to use wp_get_image_editor as described here: https://codex.wordpress.org/Function_Reference/wp_get_image_editor Before (when it was ...
0
votes
1answer
48 views

How to change picture size

How can I resize a picture I've already posted? I can click and drag the corner of the picture and it resizes the picture, but only horizontally, so the picture looks really squashed. I can also go ...
2
votes
2answers
479 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, ...
1
vote
1answer
433 views

Auto resize images after adding a new size

I have added a new (small) image size to the theme we develop: add_image_size('small', 160, 91, TRUE); How to automatically generate these small images (exactly of the specified size) for every ...
0
votes
5answers
8k views

Woocommerce showing images blurry in description page

I am doing an E-commerce website using Woocommerce plugin. Most of the things working fine with little bit changes. But I am facing a problem regarding images. I have uploaded the image for featured ...
2
votes
3answers
2k views

Setting different width and height for gravatar

I've been trying to set a different width and height using the get_avatar function. I need to set the author's avatar in single.php to 60x40 size. So let's say the gravatar looks like this: when ...
3
votes
3answers
1k views

Impose a Maximum Limit on Image upload size

Clients have been uploading huuuge images, then complaining that the server is running out of memory. Ofcourse one could bump the amount of memory, but this just introduces an arms race. What hooks ...
-1
votes
1answer
290 views

Resizing to bigger proportions as original not working

E.g. if I use this code inside functions.php add_image_size( 'featured-extra-image', 600, 300, true ); and the uploaded image is only 550px width, it does not resize it to 600x300 px but only to ...
2
votes
2answers
1k 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
2answers
249 views

There's a way to scale media (images) at 50%?

I wonder if there is a way to scale down uploaded media exactly to 50%. From what I see, with add_image_size you can only specify a width and a height in pixel. The idea is to upload high resolution ...
1
vote
1answer
225 views

Image resize depending on orientation?

is there an option or a plugin that resizes an image depending on it's orientation? Reason for this question: Im building an image grid and it would look even better when all images would have the ...
0
votes
1answer
396 views

Autogenerated Thumbnail compression depending on size

This is a follow up to this question, in witch the jpg compression is altered depending on what WP's built-in image resulting image size returns. While it may work for most of the people, i'm looking ...
2
votes
1answer
2k views

Using Advanced Custom Fields with Wordpress and Lightbox

I am using the ACF Plugin. I want to have a field where I can upload an image, and the result will display the full image in the Lightbox and then then full image will be resized into a thumbnail from ...
5
votes
1answer
530 views

Which filters or actions to use after a media upload and delete?

When a media (image) is uploaded and the subsequent images are created (all the different sizes), I would like to perform a few actions. It is simple and I basically need only the new attachment ID, ...
0
votes
2answers
117 views

How can I scale down the width of images in bulk that are embedded in posts throughout the site?

I am building a new WordPress theme and it is quite different from my current theme. Currently the dimensions of my images are much wider than how I would like them to be for my new theme I am ...
2
votes
1answer
1k views

Can a thumbnail of an animated gif be animated?

I have an animated gif I want to show in two places, having two different sizes. I am creating two sizes in my functions.php, using add_image_size( 'small-feature', 500, 300 ); add_image_size( ...
7
votes
7answers
5k 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 ...
2
votes
1answer
2k views

resize images not crop

Looking for a hack to resize images on upload (all forms of image uploads on wordpress) to exact dimensions, but not to crop. I will open a bounty for this question since I believe It can be of help ...
5
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 ...
3
votes
3answers
3k 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 ...
7
votes
3answers
419 views

How to insert pictures without hard coded dimensions?

How can I insert pictures into a post without any hard coded dimensions (e.g. <img src="" alt="" /> instead of <img src="" alt="" width="" height="" />)? I don't want my users to switch to ...
0
votes
2answers
162 views

Create an instance of add_image_size

I'm looking for a method to create an instance of add_image_size(); To elaborate: I am using the file uploader in a plugin to insert a file reference by ID. That ID is then used to create touch icons ...
1
vote
2answers
1k views

Advanced Custom Fields

I am using the Advanced custom fields plugin to add a upload image option to a page, but I am wondering if there is a way so that, when I output it to a theme with <img src="<?php ...
1
vote
2answers
2k views

Creating a thumbnail from an image already on the server?

I'm trying to generate thumbnails on my server that are being uploaded by a plugin. It uploads all images to a directory. I'm trying to target these files and then create a thumbnail with them based ...
0
votes
1answer
321 views

image_downsize returning an Array?

I'm attempting to generate a thumbnail for an image I have posted, but it seems when I call image_downsize, the index[0] actually prints an array as the URL. I'm a bit confused, so any help would be ...
1
vote
3answers
2k views

Resizing image into thumbnail, small, medium and large options greyed out

I am working with WordPress 3.3.1 and cannot resize the image I am trying to add to the page as the thumbnail, small, medium and large options are greyed out. the size of the image in question is ...
3
votes
3answers
25k views

PNG with transparent background turns black when uploaded and resized

Steps to reproduce: Create a PNG-8 with a transparent background. Upload to WordPress 3.3.1. View original PNG in any browser, Chrome, Firefox, IE, etc. Notice that it retains transparency as it ...
1
vote
2answers
1k views

Disable image resizing on specific upload fields

I am using the Options Framework Theme from devinsays, but am having a "small" problem with the Image Upload functionality. Basically, I need to disable resizing on a specific upload-field, but keep ...
0
votes
4answers
5k 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 ...