• I need to remove the autosize of images when the latter are too small and are used as featured image of an article. Is that possible?

    Moreover what is the specific dimension for a featured image with this theme?

    Greetings

Viewing 6 replies - 1 through 6 (of 6 total)
  • Here is a link to the theme docs which has your answer regarding featured image sizing.

    Museum theme docs

    Thread Starter HMV130

    (@hmv130)

    First thanks for the reply.

    Second, I installed the plugin mentioned in the link that you’ve reported. Even after all the images regenerated (using the appropriate command in the menu settings), the problem persists.

    If I use a rectangular image, it is compressed laterally and is not cut to fit the assigned 920×920 px.

    Moreover, for my taste, the size of the first post in case it have been assigned a featured image is too big. Where can I set its dimensions? In the style.css file?

    Theme Author Kelly Choyce-Dwan

    (@ryelle)

    What version of Museum are you using? In version 0.1.5, we switched up the image sizes so landscape photos (and vertical images) were not distorted into squares. Can you provide a screenshot of the issue you’re having?

    Thread Starter HMV130

    (@hmv130)

    The version that I currently use is the 0.1.5.

    Here is the link of the image and the screenshot (The screenshot do not take all the article in dashboard but just the lower portion):
    https://www.dropbox.com/sh/1g7yx5bq7zqk0bv/AADFuAGbs9U7TfY5XUGEgNFva?dl=0.

    It is possible notice from the screenshot that the image is not cropped and resized but just stretched vertically and compressed laterally.

    Moreover as previously asked, it is possible change the dimension of the first article in dashboard?

    Theme Author Kelly Choyce-Dwan

    (@ryelle)

    Oh, I see. You can change the height of the first post’s image area with this CSS (either in a child theme or via Jetpack’s CSS editor:

    body.blog .hentry:first-of-type:before,
    body.archive .hentry:first-of-type:before {
    	padding-top: 56%;
    }

    and you can tweak the height yourself by changing the “56%” – but that value worked best for me with your example image.

    Thread Starter HMV130

    (@hmv130)

    Many thanks for the reply! This work fine for the first post. But now, if I use the same image for a second article the image itself appear stretched laterally (please see again the link that I have posted previously). Am I right that changing the value do not resolve definitely the problem? (for example using another image of other dimensions).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Autosize of featured images of articles’ is closed to new replies.