-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure images are squared by ... #11
Comments
Using Now I have to decide what I want for the hero and on the single bigram page. |
OK. So it appears to work nicely for new image which are larger than 1024 pixels in each direction. Unexpected output
|
Attempting to use regenerate-thumbnails plugin gives a little more detail as to the possible cause of the problem. "Soft Bank" (ID 2474) failed to resize. The error message was: The originally uploaded image file cannot be found at C:\apache\htdocs\bigram/wp-content/uploads/http://www.bigram.co.uk/wp-content/uploads/2016/07/Soft-Bank.jpg Need to find where it's getting |
Updating regenerate-thumbnails from 2.2.6 to 3.1.0 ( GitHub version ) gives
using the built version from wordpress.org helped a bit It appears that the values for This is true for files uploaded in 2016/06. Once resolved the cropping still doesn't do what we want, which is to force the image to be square. |
…bnail, improve header formatting
In archive displays one image is displayed in the hero section then there are multiples of 4 below. The images displayed in the blocks should all be squared. The simplest method would appear to be to use a “post-thumbnail” image size which is rectangular.
Requirements
Proposed solution
set_post_thumbnail_size()
in response toafter_setup_theme
The text was updated successfully, but these errors were encountered: