Tagged Questions
0
votes
1answer
53 views
Add suffix to filename of uploaded images
I registered 3 custom image sizes (Double sized, for retina displays) with add_image_size: thumbnail@2x, medium@2x and large@2x.
function retina_image_sizes() {
$retina_sizes = array(
...
1
vote
1answer
50 views
Process uploads with phpThumb before generating thumbnails
I was wondering if anyone knew a way (via function, plugin, or another method) of using phpThumb to process an image on upload, and then for Wordpress to generate it's usual image sizes from both the ...
0
votes
1answer
79 views
Custom image sizes ignored in WP 3.5
Since migrating to WP 3.5 I discovered that my custom image sizes get ignored - whenever I try and output one of them WP just defaults to the original image instead. Kind of frustrating... Any idea ...
1
vote
1answer
65 views
add_image_size adds size, but doesn't upload if source resolution is same as resize resolution
I'm trying to add a new image size of 300x300..
This works, but if the uploaded file is for example 300x300, it doesn't upload the resized image.. You'd say that isn't a problem because the original ...
1
vote
1answer
205 views
Image Uploader API
I want to create a widget for my theme that will let me upload an image to WP and crop it to a certain size. Can anyone point me to the codex page or a tutorial on how to a bare bone implementation of ...
2
votes
3answers
1k 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 ...
1
vote
2answers
839 views
How to prevent upload of a multiple sizes of images
on my theme, i found this script
add_image_size( 'slider', 464, 249, true );
add_image_size( 'fmenu', 306, 280, true );
add_image_size( 'teamthumb', 138, 207, true );
add_image_size( 'imlink', 286, ...
1
vote
1answer
176 views
Rotating image does not work for custom image sizes
When rotating an image with the WordPress image editor it creates new images and renames all of the images for the thumbnail, medium and large image sizes that are default for WordPress.
My problem ...
1
vote
2answers
886 views
Combining media queries with image sizes
I have a set of image sizes for WordPress that look like this:
add_image_size('1039', 1039, 697);
add_image_size('960', 960, 644);
add_image_size('800', 800, 537);
add_image_size('768', 768, 515);
...
0
votes
1answer
80 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 ...
3
votes
2answers
375 views
add_image_size creating lots of images (of various sizes)
I wonder if its a good idea to use add_image_size or is it just a convinence feature. I say this as I think add_image_size creates images of various sizes regardless of what the usage if the image ...