Title: Has css issues
Last modified: August 7, 2019

---

# Has css issues

 *  Resolved [tazotodua](https://wordpress.org/support/users/tazotodua/)
 * (@tazotodua)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/has-css-issues/)
 * I have noticed one problem.
    lets say, you add any small image, like this:
 * > [View post on imgur.com](https://imgur.com/FqUFgYd)
 * into post editor (i use gutenberg, default),
    and resize it to any size. WP sets`
   width` and `height` parameters in img tag, like this: `<img .... width=94 height
   =77 >`
 * and on frontend output is good.
    but after activating the imagify, i get:
 *     ```
       <picture ..width="94" height="77">
       <source type="image/webp" srcset="...">
       <img src="..." >
       </picture>
       ```
   
 * and thus, the parameters are trimmed from `img` tag and set to `picture` element,
   which is not enough and messes the design.
 * i think you should fix that just simply by using “display” parameter, and also,
   converting the
    `<picture width="27"` to `<picture style="width:27px; display:
   inline-block;" ..`
 * here also visible:
    [https://stackoverflow.com/questions/57387816/how-to-force-img-tag-to-respect-parent-picture-parameters](https://stackoverflow.com/questions/57387816/how-to-force-img-tag-to-respect-parent-picture-parameters)
    -  This topic was modified 6 years, 10 months ago by [tazotodua](https://wordpress.org/support/users/tazotodua/).
    -  This topic was modified 6 years, 10 months ago by [tazotodua](https://wordpress.org/support/users/tazotodua/).
    -  This topic was modified 6 years, 10 months ago by [tazotodua](https://wordpress.org/support/users/tazotodua/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [tazotodua](https://wordpress.org/support/users/tazotodua/)
 * (@tazotodua)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/has-css-issues/#post-11807297)
 * As i think the plugin should not trim the parameters (width, height, or other)
   from `img` element.
 *  Thread Starter [tazotodua](https://wordpress.org/support/users/tazotodua/)
 * (@tazotodua)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/has-css-issues/#post-11808785)
 * would be nice if there was individual option to enable/disable the compressed
   image showing (with picture tag) on specific pages/posts. so, if chosen that 
   option, then that particular page should show the original content (without replaced
   <picture> tag)
 *  Plugin Author [WP Media](https://wordpress.org/support/users/wp_media/)
 * (@wp_media)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/has-css-issues/#post-11844734)
 * Hi [@tazotodua](https://wordpress.org/support/users/tazotodua/)
 * Thanks a lot for your feedback!
 * We will definitely take a closer look at this and consider the best possible 
   solution.
 * Wish you all the best!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Has css issues’ is closed to new replies.

 * ![](https://ps.w.org/imagify/assets/icon-256x256.gif?rev=3452959)
 * [Imagify: Optimize Images for Top Speed (Compress & Convert to WebP/AVIF)](https://wordpress.org/plugins/imagify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/imagify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/imagify/)
 * [Active Topics](https://wordpress.org/support/plugin/imagify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/imagify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/imagify/reviews/)

## Tags

 * [webp](https://wordpress.org/support/topic-tag/webp/)

 * 3 replies
 * 2 participants
 * Last reply from: [WP Media](https://wordpress.org/support/users/wp_media/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/has-css-issues/#post-11844734)
 * Status: resolved