The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
25 views

Access to the header cropping tool in modal

For the moment I access the media uploader via a meta box from the edit post screen. The code works: no problem. However, I would like to know how to be redirected to the crop tool right after the ...
0
votes
0answers
17 views

Portrait or Landscape images are not cropped to exact dimensions

I'm using a theme that's registered a new image size of 580x580 that's then resized to 100% width to fit in a column (approx 200px wide) The problem is that an image that is originally 225x600 gets ...
0
votes
4answers
42 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( ...
3
votes
1answer
53 views

Prevent WordPress from cropping GIF files

Is there any way to prevent WordPress from cropping files based on their file extension. Actually, I want to disable cropping for GIF files because after cropping GIF image... GiF image does not ...
0
votes
1answer
19 views

Auto-crop width, not height

I need images to be auto-cropped if they are too wide only. Basically like this: I'm using it for a fullscreen slider, where too wide images gets stretched. Cropping obviously is the best of two ...
0
votes
0answers
30 views

WordPress is hard cropping large and medium images

I have a Woo Canvas theme site and sometime in the recent past the image sizing functions stopped working as expected. When you upload an image into the media library and try to insert into a page, ...
0
votes
1answer
886 views

How to upload multiple images on frontend to ACF gallery using update_field

I'm trying to save images submitted on a frontend form in a way that they are accessible via the ACF backend. In how to upload an image on ACF with update_field on wordpress, someone provided a ...
1
vote
1answer
100 views

Confusion about arguments sent to add_image_size

Looking at the documentation for Cropping Thumbnails when adding new image-sizes makes me confused. Set the image size by cropping the image and defining a crop position: add_image_size( ...
0
votes
0answers
25 views

Apply cropping to custom size from media library

I want to be able to apply a specific crop to the medium size or any other custom image size i define. I want to control the crop as it is controlled in the media library for the thumbnail. I want to ...
0
votes
3answers
201 views

the_post_thumbnail scaling not hard cropping

Lately I wanted to upgrade my blog with featured images/post thumbnails. I'm using a custom theme build on the roots theme (this is not a roots theme issue, I believe). The image I upload is 1024x768 ...
0
votes
1answer
83 views

Wordpress crop image not working [closed]

I have the following CSS: .crop { height: 40px; overflow: hidden; margin-bottom: 20px; } to crop an image when the screen shrinks. It works in a normal HTML file, but in Wordpress, the ...
1
vote
1answer
43 views

How to have the thumbnail cropping tool working

I've been using wordpress (and developing on it) for years now, but never be really able to use the drop tool. So I try to ask here... If I crop a thumb, I see the right cropping in the media ...
1
vote
1answer
98 views

Generated media have incorrect aspect ratio

Uploaded an image via standard 'add new' dialog to the WordPress Media library. Here were the original Media Settings: Thumbnail - 150x150 Medium - 300x300 Large - 1024x1024 I uploaded a ...
0
votes
1answer
91 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 ...
0
votes
2answers
564 views

wordpress add image size crop function not working in version 3.8

I am using twenty fourteen theme to make another theme most of the files are same including the functions.php file, but the problem I am having is , When I add image size ( with true crop, hard crop ...
2
votes
1answer
622 views

Image resize with image url

I am using wp_handle_upload() to allow users to upload the images in back-end and I want to re-size images to a custom size before uploading it. Is there any way without using any plugins or so to ...
0
votes
0answers
8 views

Change crop position on featured image crop [duplicate]

I've set a featured image on my pages and want to crop them to a certain dimension. The problem is that it crops those dimensions in the center of the photo vs. from the top left (0,0) position. How ...
3
votes
4answers
1k views

Why WordPress automatic cropping all my images?

Am new to WordPress, when I upload any image, WordPress automatic crops into its own sizes which I have not mention in the media section (Settings » Media). Settings which I saved in media is: ...
0
votes
0answers
142 views

Updated WordPress and now image crop, thumbnail setting and thumbnails are gone

I've updated to WordPress 3.7.1 and when I upload images to my site, it's not generating thumbnails. It's also missing the image crop and thumbnail setting sidebar. I created a simple theme but ...
0
votes
1answer
309 views

Can't edit images

Two days ago I discovered a huge problem with my Wordpress media editor. I just can't edit any image because it doesn't appear. Wordpress shows only small icon of broken picture... I was looking for ...
1
vote
1answer
88 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 ...
0
votes
2answers
292 views

Woocommerce: Set thumbnail detail (clipping area)

I am using the german Wordpress 3.5.1–de_DE with Woocommerce 2.0.8 and the Woothemes Mystile Theme 1.2.8. I have a big picture for a product (Jellyfish.jpg) and want to use a specific area of that ...
0
votes
2answers
472 views

add_image_size() to crop images into squares?

So I know about setting custom images with add_image_size('name',X,Y,Crop?) which is cool but I need to build something that will crop images, regardless of their size, into squares. Basically, I ...
1
vote
1answer
184 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 ...
0
votes
1answer
97 views

Retina ready for uploaded images which are cropped

I used the search but couldn't get the right answer for my issue. I developped a theme, which on the portfolio template take the selected featured image of the different portfolio items and crop them ...
2
votes
1answer
259 views

Crop image from get_theme_mod Customizer field

I'm using the following code to allow a user to upload a custom image (in addition to header image) through the customizer. Is there a way to crop the image when displaying it? ...
0
votes
2answers
582 views

Add_image_size not cropping

I want to make a crop on the images of my blog page that have more than 443px adjust it to 645x443 size, exactly. I used this code: add_theme_support ('post-thumbnails'); add_image_size ...
0
votes
1answer
667 views

VT-resize (great alternative to timthumb) : Errors cropping (litespeed, centos 6.3)

I'm using from several months wt-resize, a script to resize images on the fly. It works very well until now... I've changed hosting provider. I'm using now Centos 6.3 (no control panel) + Litespeed ...
1
vote
2answers
723 views

Cropping thumbnails to specific dimensions on front end post

Probably not the best title description but here we go. One of my custom post types is for youtube videos which I take the thumb from youtube and upload it as a thumbnail for the post. Now it's easy ...
2
votes
1answer
2k views

How to crop thumbnail height to auto with set width

I'm looking for a way to only set the width of a thumbnail size and let the height set auto. So if I have two images. One is 600px/420px and one is 600px/600px. I want to set only the width of the ...
1
vote
1answer
869 views

Force image crop size in media editor

I've searched high and low for this but think the answer I seek is being buried by the more common questions. I am developing a theme for a client that has two specific image sizes (100x127 for ...
0
votes
2answers
602 views

Mass crop images: Landscape images -> Portrait images

I have several images that are wider than they are tall (landscape). The problem is that the theme I'm using crops images to 150x214px (taller than they are wide). This set up works for the majority ...
1
vote
1answer
957 views

Wordpress fails to auto crop featured images

I set 2 crop sizes in the functions.php file. // Setup Post Thumbnails // ----------------------------------------------- add_theme_support('post-thumbnails'); add_image_size('imagePost-thumb', 970, ...
4
votes
2answers
859 views

Cropped featured image replaces original image in gallery

Firstly, I have done my research as thoroughly as I possibly can. Searches have been made, but I have not found any advice or solution as to my exact issue. Ok, time to explain. Currently I am ...
0
votes
1answer
570 views

Featured Image Thumbnail Sizing

The image on the left is what it is currently looking like. I used developer tools to change the width & height of all the image fields for the image on the right, however I would like some sort ...
0
votes
2answers
222 views

Using catch_the_image to get the thumbnail size

I use front end posting on my site so I don't get a chance to set a featured image for alot of my posts. So I use catch_the_image to get thumbs but it gets the original size and then scales it which ...
9
votes
1answer
2k views

Custom post type with a forced fixed aspect ratio image crop

What I am looking for is similar to a couple other questions. The links are: Creating an Image-Centric Custom Post Type? Using Default WordPress Custom Header Image Crop Feature in a Post Type / ...
3
votes
2answers
221 views

Override default cropping in Wordpress [duplicate]

Possible Duplicate: How can I make add_image_size() crop from the top? Is there any way to have cropping happen from the center point in an image? All of my Featured Image uploads are ...
0
votes
4answers
4k 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 ...
3
votes
3answers
2k views

add_image_size() zoom-crop

I've set up a bunch of additional image sizes in my functions.php theme file, with the crop parameter set to true. However, the images are resized but not cropped. if ...
0
votes
1answer
658 views

WordPress image crop probems

i'm developing a portfolio theme on WordPress 3.2.1, so i created a new post_type called 'portfolio'. My aim is to show, on the front-end, a grid composed by the jobs i realized during last years. ...
2
votes
2answers
1k views

Cropped thumbnail still displaying as full image

Steps to reproduce... 1) Add to functions.php: add_image_size( 'half-size', 200, 200, false ); 2) Add to template file (inside loop): <a href="<?php the_permalink(); ?>" title="<?php ...
4
votes
1answer
739 views

How to resize images in wordpress without adding any compression or changing the color profile of the images, possible?

As you can guess from the title, Im looking for a solution that allows me to alter the way Wordpress processes/saves its newly created images according to the media settings in the dashboard. This is ...
2
votes
4answers
4k views

Why can't I edit certain images from the WordPress Media library?

I've noticed some bizarre behaviour in my WordPress installation. For some photos, when I click "Edit Image", the full image is not displayed to me - just the area visible in the thumbnail. And yet, ...
0
votes
1answer
601 views

A way to get featuread image or first image and crop on the fly before display

In Loop = There exist a way or hook to get the featured image, if not, the the first image from post and cropit before display it on frontend? Re-asking my question: On upload. How do I set a ...
0
votes
2answers
305 views

Server B handling add_image_size() differently than Server A

I'm curious what dependencies add_image_size() has because I just copied a theme over to a new server and began adding thumbnails to custom post types only to find out that my request for ...