Community Forums › Forums › Archived Forums › General Discussion › Is It WordPress or StudioPress That Hates Photographers?
Tagged: featured image, scaling, thumbnail
- This topic has 24 replies, 5 voices, and was last updated 10 years, 8 months ago by Summer.
-
AuthorPosts
-
February 2, 2014 at 4:22 pm #88229WilliamMember
Sometimes I just want to bang my head against the wall.
On my home page, images associated with my posts show up in a landscape mode with an incredibly awful crop. I swear they didn't do this when I first installed Eleven40 Pro, or at least I didn't notice the issue.
Now I don't know where to change the type of thumbnail image that shows up on my Home Page. The settings for my Blog page are fine. I can see how changes in the Genesis menu affect the Blog page.
What I cannot find is how to change the type of thumbnail that shows up on my home page. I'd rather have no thumbnail than these stupid crops, but I can't find that, either.
Someone, please throw me a bone. How do I fix the size of the thumbnail images on my Home page at http://williambeem.com?
–William
http://williambeem.comFebruary 2, 2014 at 4:34 pm #88231AnitaCKeymasterYou can add a new image size to the functions file and then look in the home.php file and add that new image size. Or, you can try this plugin that allows you to crop it yourself. I recommended this for a client and it works fine.
Need help with customization or troubleshooting? Reach out to me.
February 2, 2014 at 4:42 pm #88235WilliamMemberThanks for the suggestion, but it doesn't appear to do a thing at all. I've emptied my cache and reloaded several times after changing the settings - nothing.
So this is in the functions file? Then it's another example of StudioPress hating photographers.
–William
http://williambeem.comFebruary 2, 2014 at 5:15 pm #88242AnitaCKeymasterYou would set up a new image name and size in the functions file:
//* Add new featured image size add_image_size( 'grid-featured', 270, 100, TRUE );
Then open it up the home.php file and look for this:
if ( function_exists( 'genesis_grid_loop' ) ) { genesis_grid_loop( array( 'features' => 1, 'feature_image_size' => 0, 'feature_image_class' => 'alignleft post-image', 'feature_content_limit' => 0, 'grid_image_size' => 'grid-featured', 'grid_image_class' => 'grid-featured', 'grid_content_limit' => 250, 'more' => __( '[Continue reading]', 'eleven40' ), ) );
For the 'feature_image_size' you would add the new name of the size. And you could change anything else you want in there as well.
Need help with customization or troubleshooting? Reach out to me.
February 2, 2014 at 6:24 pm #88257WilliamMemberThank you, Anita. I'll give this a try.
As a customer, though, I'm getting soured on StudioPress. They pay a lot of attention to type and presenting words, and that's a good thing. At the same time, they seem to be actively dumbing down the display of photos. The backstretch on Minimum Pro is a prime example, and now this.
The photos on my home page look nothing like the display on the Eleven40 Pro demo page. It seems like there should be an easier way to correct the problem rather than expecting users to modify the code.
Perhaps it's time to submit a ticket and see what official reply I get, though past responses don't give me much hope.
–William
http://williambeem.comFebruary 2, 2014 at 6:31 pm #88260AnitaCKeymasterEleven40 Pro doesn't have default grid images. Only text - http://demo.studiopress.com/eleven40/. So what are you comparing your images to.
Need help with customization or troubleshooting? Reach out to me.
February 2, 2014 at 7:06 pm #88265WilliamMemberI don't understand the question. You can see what's happening on my site. The demo shows a full image. My site shows something else. That's the only comparison I'm making.
–William
http://williambeem.comFebruary 2, 2014 at 7:30 pm #88268AnitaCKeymasterDid you follow the installation instructions? http://my.studiopress.com/setup/eleven40-theme/. His image is not a featured image. The first post in the demo is set at full content with an image right inside the post - not using the featured image.
Need help with customization or troubleshooting? Reach out to me.
February 2, 2014 at 8:00 pm #88270WilliamMemberYes, and I reviewed the instructions again before I posted here. Unfortunately, it offers no help for understanding why the thumbnails on the home page are different than thumbnails on the blog page.
–William
http://williambeem.comFebruary 2, 2014 at 8:07 pm #88271AnitaCKeymasterThe Eleven40 Blog Page here - http://demo.studiopress.com/eleven40/templates/blog/ is not using featured images. It is using Full content to which an image has been placed into the body of the content. For your blog page, what settings do you have selected under Genesis > Theme Settings > Content Archives. I am assuming you have "Show Featured Image" but what size do you have selected?
Need help with customization or troubleshooting? Reach out to me.
February 2, 2014 at 10:20 pm #88279SummerMemberWilliam, I think you might be confusing post images, featured images and thumbnails.
Eleven40 Pro doesn't use featured images/thumbnails, not out of the box. The images you're seeing on the demo blog page are actually post images, and the posts being displayed are full content, not excerpts with thumbnails.
If you set your site to use excerpts with thumbnails, then you need to choose which size you want to use, or define a new size that you prefer. That said, Eleven40 Pro would not have been my first choice for a photography site, but if you're going to stick with it, there are some other image quirks you should be aware of.
The reason the post images show up as if they were featured image thumbnails is because of the Genesis fallback image behavior, where Genesis will take the first post image and by default use it as the featured image if one isn't previously set.
This is counter to standard WordPress behavior, and was a long-known issue with Genesis until v2.0 came out. However, this behavior can now be controlled with a filter. There are several threads here on the forums about this, resulting in me writing a plugin to turn this behavior off, and Brad Dalton writing a tutorial so people can turn this off in functions.php
Try this snippet here: http://wpsites.net/web-design/prevent-genesis-2-0-archives-from-using-first-image-in-content-area-as-featured-image/
If it doesn't work for you, remove the "if" conditional, and just use the fallback override.
Hope this helps explain some of the image behavior you've been seeing.
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After DarkFebruary 3, 2014 at 3:43 am #88302achukaMemberI am having the same problem with the cropping of featured images on my blog's front page (using the NewsPro theme) and like William finding it a highly frustrating affair trying to resolve the situation.
Why is it that sometimes the images are resized proportionally so that the whole image is seen in the featured image thumbnail, and on other occasions the image is cropped, arbitrarily?
And I think the following, helpful though it might be on its own terms, just reinforces William's point: "It seems like there should be an easier way to correct the problem rather than expecting users to modify the code."
The reason the post images show up as if they were featured image thumbnails is because of the Genesis fallback image behavior, where Genesis will take the first post image and by default use it as the featured image if one isn’t previously set.
This is counter to standard WordPress behavior, and was a long-known issue with Genesis until v2.0 came out. However, this behavior can now be controlled with a filter. There are several threads here on the forums about this, resulting in me writing a plugin to turn this behavior off, and Brad Dalton writing a tutorial so people can turn this off in functions.php
Try this snippet here: http://wpsites.net/web-design/prevent-genesis-2-0-archives-from-using-first-image-in-content-area-as-featured-image/
If it doesn’t work for you, remove the “if” conditional, and just use the fallback override.
February 3, 2014 at 10:15 am #88349SummerMemberThe cropping discrepancies may be because of the dimensions of the image you're using, not necessarily caused by the fallback behavior.
First, which thumbnail size are you using? One of the ones set for the theme, or one of the default WordPress ones in Media Settings? If you look at the Thumbnail settings there, there's a checkbox on whether or not to crop proportionally or exactly... what is that set to? If you have "Crop to exact dimensions" checked, you may get a thumbnail that's the right size for the space you want, but it's arbitrary in what part of the image it crops to.
Second, if you use the Featured Image box in the post editor, is the image you're uploading there the exact dimensions you set for the featured image (or can easily scale down to those dimensions)? If not, you're also going to get an image that doesn't fit or look the way you want it to.
Same with relying on using the first post image as the featured image... before Gen 2.0, this has caused me no end of issues on several magazine sites I run, mainly because my contributors would just forget to use the image sizes I instructed them to use (several reminders a year, at that).
For example, my slideshow featured image would be 600x300, but I set the front page & archives featured image to be 300x150, and the related post thumbnails to be 150x75... those 2 smaller sizes will perfectly scale the larger featured image down without loss or cropping.
But I had to remind folks to use a featured image of the right size especially if they were including a post image of a different size, say a portrait oriented image of an actor or actress. There have been many a time where a contributor would upload such a post image with no specified featured image, and Genesis would happily give me a featured image that's a guestimate of the original image, which would 90% of the time turn out to be just the actor's chin & neck or the actress' cleavage.
So prior to having this filter that's now available in Genesis 2.0, I had to make sure that people were uploading more images than necessary, which takes up more space. I'm happy that I can turn this off if I need to, but I'm still not happy about not having a way in WordPress to choose not to create other sizes of images when I'm uploading them... there are a couple of sites that have 5-8 different image size definitions, and if every image uploaded generates 7 thumbnail sizes I'm never going to use for that particular image, why can't I tell WP to not generate those other sizes? Why can't there be a check box in the image upload area where I can choose to have it create those extra sizes or not?
Sorry... didn't mean to sidetrack the discussion, but after the way Genesis used to handle featured images (meaning no way for the user to modify it), that WP behavior with images is my next biggest hot button 🙂
But my thinking is that Genesis never should have introduced that fallback behavior in the first place, and although it took them 3.5 years to do so, I'm glad they finally saw sense and added a way for end users/developers to be able to control it if they so choose. From that standpoint, it makes sense to allow people to add a bit of code to do that, rather than remove that behavior entirely and create a massive problem for their many users who are making use of that feature.
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After DarkFebruary 3, 2014 at 2:23 pm #88396WilliamMemberThanks for all the comments. I've been traveling today and haven't had a chance yet to try some of the suggestions, but I'll give that a shot tonight. I also received some feedback from the Support folks to delete the home.php file to get the kind of thumbnails I want, so I'll also give that a try.
Equally important, I see the Parallax Pro theme is out now. Haven't had a chance to look at the instructions yet, but that's my new theme if I can create portfolio pages with the same Parallax as it shows on the home page.
That would be a killer plugin for all of the other Genesis themes, too. Create as many full width, parallax portfolios as you need on any theme. I'd be in heaven!
–William
http://williambeem.comFebruary 3, 2014 at 2:31 pm #88400WilliamMemberOK, I just read the instructions. I guess Parallax Pro is "not it" for me. Too limited for the display I hoped it would provide.
–William
http://williambeem.comFebruary 3, 2014 at 6:20 pm #88434SummerMemberHave you checked out Stage 2 by Themedy? http://themedy.com/themes/stage/
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After DarkFebruary 3, 2014 at 7:33 pm #88451WilliamMemberAnita,
I just tried the code. Not the size I want - in fact, the size is what I hate - but I see where you're going with the code and I should be able to adjust it. Thanks.
If only I could adjust this from the menu in WordPress or StudioPress, it could actually be a user-friendly interface.
–William
http://williambeem.comFebruary 3, 2014 at 7:38 pm #88453WilliamMemberSummer,
I'm probably confusing a lot of things. All I know is that it's making my images look like crap and I want to change it.
Thank you for the theme recommendation, but it's not catching my eye.
I really do like a lot of the StudioPress themes. That's why I bought the developer package and use several of them on my other sites. For photographer, though, the StudioPress designers just don't seem to get it. I'm frustrated because I see things that I know could work (or used to work and then they botched it).
The truth is that I'm probably going to have to look elsewhere for a photography theme that meets my needs, because it's not going to come from StudioPress. Kind of makes me sad to finally give up on this product where it ought to be able to shine.
–William
http://williambeem.comFebruary 4, 2014 at 12:37 am #88468chillybinMemberJust follow these instructions and you should be OK.
Your columns are 388 pixels wide, where as the image you are calling is only 270 pxiels wide which is the cause of the issue. I would go into Photoshop, resize an image to 388 pixels, grab the height then use the following code
//* Add new featured image size add_image_size( 'grid-featured-388', 388, 200, TRUE );
with the 200 replaced with your desired height, then replace this as per @anitac's instructions with the new grid_image_size
if ( function_exists( 'genesis_grid_loop' ) ) { genesis_grid_loop( array( 'features' => 1, 'feature_image_size' => 0, 'feature_image_class' => 'aligncenter post-image', 'feature_content_limit' => 0, 'grid_image_size' => 'grid-featured-388', 'grid_image_class' => 'grid-featured', 'grid_content_limit' => 250, 'more' => __( '[Continue reading]', 'eleven40' ), ) );
On another note, i created this for my father in a few hours using NextGen and Minimum Pro
http://ken.thekiwi.com/photo-gallery/
or edit your CSS which will stretch the image out a bit
img { height: auto; width: auto; /* IE8 */ width: 100%; }
We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign
February 4, 2014 at 3:50 am #88479achukaMemberSummer, thanks for input but:
If you look at the Thumbnail settings there, there’s a checkbox on whether or not to crop proportionally or exactly… what is that set to? If you have “Crop to exact dimensions” checked, you may get a thumbnail that’s the right size for the space you want, but it’s arbitrary in what part of the image it crops to.
No i don't have that checked, so that's not the issue...
also
Second, if you use the Featured Image box in the post editor, is the image you’re uploading there the exact dimensions you set for the featured image (or can easily scale down to those dimensions)? If not, you’re also going to get an image that doesn’t fit or look the way you want it to.
It shouldn't be necessary to do some pre-scaling of an image - the proportional resizing should just work on the longest dimension, just as you would scale an image down in Photoshop or any other editing software where you want to retain the WHOLE of the image, and the OVERALL proportions
Featured image scaling used to work exactly like this in my previous theme (Pinboard) and I still haven't come across an adequate explanation of why it's working so haphazardly now...
As far as I understand it, this is exactly the same thing that William is having problems with.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.