Support » Plugin: Fly Dynamic Image Resizer » new filter in get_attachment_image

  • Resolved kubiq

    (@kubiq)


    Hello,

    is there a way how can I get rid of width="" and height="" in images?

    I use fly_get_attachment_image function, but I can see in your plugin in /inc/class-core.php in function get_attachment_image() that there is no filter after $html = rtrim( "<img $hwstring" );, so maybe this will be solution to add 1 more apply_filter before return $html;

    Yes I know, that I can use fly_get_attachment_image_src, but then I need to write multiple lines of code to echo that and also fill alt attribute…

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.