Skip to content

Request: update for responsive images #1

Description

Greetings,

I'd like to use your plugin for theme development, but there's an issue with responsive themes (e.g. twenty eleven, twenty twelve, etc.) These themes use max-width to control the size of images, and usually include the following in style.css:

img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
max-width: 100%;
height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

But the image that I have selected to be the default post image is not assigned this class, even though I uploaded it as a Featured Image--so it breaks the layout. If there is a way to output the class "wp-post-image" to the default post thumb it would make this plugin work with responsive themes.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions