This topic is: not resolved
- This topic has 24 replies, 5 voices, and was last updated 10 years, 10 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Community Forums › Forums › Archived Forums › General Discussion › Is It WordPress or StudioPress That Hates Photographers?
Tagged: featured image, scaling, thumbnail
if you dont want it to crop the image, change
add_image_size( 'grid-featured-388', 388, 200, TRUE );
to
add_image_size( 'grid-featured-388', 388, 200, FALSE );
then adjust to the right dimensions
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
@chillybin
have made the change
so that I now have (in NewsPro childtheme)
add_image_size( 'home-middle', 348, 180, FALSE );
hoping it's that simple 🙂
thanks in advance if so
Should be OK,
You now need to regenerate the thumbnails using http://wordpress.org/plugins/ajax-thumbnail-rebuild/
And you need to make that change in home.php as well to select the new image size you just created
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
Well it WAS that simple...
yes, I regenerated the thumbnails but don't appear to have needed to make an alteration to home.php for it to work (presumably as it's a modified rather than a new image size)
May not be quite what William wants, but absolutely solves my issue, and, as so often happens, came down to a single word of code!
@achuka, glad that worked for you! Not many of my sites would still look as nice with proportional thumbnails that end up at different heights (if the sizes of the original image weren't consistent), but for a Pinterest type photo layout, that type of display is probably desired.
@chillybin, why do you prefer the Ajax Thumbnail Rebuild plugin over Regenerate Thumbnails? Just curious... I had problems once with the Ajax one so I went back to the old workhorse one.
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After Dark
© 2024 WPEngine, Inc.