0
votes
0answers
18 views

Generate images according to proportion of original image

I'm looking into if it's possible to generate images with different sizes depending on the proportions of the original image. For example. If the uploaded image has a proportion 4:3 it should ...
0
votes
0answers
71 views

Prevent WordPress from using resized/compressed versions of uploaded images

I am uploading an .jpg image to a page and selecting 'Full Size - 800 x 381' under 'ATTACHMENT DISPLAY SETTINGS'. However, when previewing the page I look at the source code and I see after the image ...
0
votes
1answer
110 views

When does WP resize an image file

Creating an image gallery. Using WP for image upload & management. Pictures will be uploaded of various file sizes and pixel dimensions. Page load time and SEO are negatively affected by ...
1
vote
1answer
136 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
1answer
92 views

Stop image resizing in particular case - is that possible?

As for an ad management plugin, I'm using WordPress' default media uploader. And WP Media Uploader automatically resizes images. But as the ad image is already resized (i.e.: 225 x 100px) it need not ...
0
votes
0answers
46 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
40 views

On upload, create and resize multiple copy of the upload without any cropping?

I would like to resize new upload images in different size. However, uploads can be portrait or landscape images. Is there a way to duplicate the upload image and scale it proportionally (keeping ...
0
votes
1answer
156 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 ...
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 ...
3
votes
2answers
218 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 ...
5
votes
1answer
305 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, ...
6
votes
7answers
4k 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
1k 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 ...
2
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 ...
3
votes
3answers
18k 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 ...
0
votes
3answers
178 views

How to resize attachement

I m having trouble in resizing media images. I tried add_image_size function to resize my original image like below. add_image_size( 'my_thumb', 145, 100); it creates thumb images with height ...
0
votes
1answer
761 views

Image resizing - TimThumb vs convert on upload?

I'm using jQuery Supersized to display a full screen background slideshow on my blog, and I'm using mobile detection to serve a smaller version of the images to mobile devices so it will load faster. ...
0
votes
1answer
91 views

Best way to receive special images in posts

Okay, this is what I'm thinking about (and it's not a coding problem right now, but my fundamental thoughts): How to receive / input images in posts for special uses, let's say a customized portfolio ...