The size of the thumbnails

  • Author
    Posts
  • #28247
    alexey

    Set the thumbnail size 250 x 150. When the image is landscape – everything is fine. But for portrait width is set to 250, height obtained more than 150. That’s not very nice. How can I set the height of all the thumbnails height of not more than 150 (for example)?

    #28345
    hans

    Running into the same problem. I am using landscape (300×200) and portrait (200×300) images. Post previews set to 300×300. Landscape displays correctly, but portrait is resized (enlarged) to 300×450. Why 450? I defined 300. Changes in post preview size are correctly applied to image width, but height settings are disregarded. I hope for a solution. Any ideas, tips, help welcome.

    #28521
    Zed
    Cryout Creations mastermind

    Image resize/cropping is handled by WordPress.

    If you want absolute sizes, you can use the force cropping option in WordPress.
    Otherwise you need to be careful at the image sizes used.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #28529
    hans

    Just for clarification. I am using preview images scaled to 200×300 (portrait) and 300×200 (landscape). I have set the theme’s post preview size to 300×300. Landscape previews are shown correctly, 300 wide and 200 high. But portrait previews are resized from 200 wide to 300 wide, resulting in a height that is 450 instead of 300. With such a difference in portrait and landscape image sizes the blog looks odd. I am not looking for a resize and crop to 300×300, but for a long side being 300, like the theme correctly does for landscape. At best with a placeholder for the empty areas to align the text between landsape and portrait blog entries horizontally. Am I doing it wrong? The theme I first tried (suits) at least shows the image size as expected, with a long side of 300 for both landscape and portrait. But it is by far not as good as your theme.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘The size of the thumbnails’ is closed to new replies.