Change of mediafile.png and removing the height and width from the <img for post_image for the archives, etc. so that CSS can handle it.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2010-01-07 02:23:27 -08:00
parent c81b590fca
commit 656d78b152
2 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ function comicpress_display_comic_image($searchorder = "comic", $use_post_image
}
}
}
$comic_image = preg_replace('/\<(.*?)(width="(.*?)")(.*?)(height="(.*?)")(.*?)\>/i', '<$1$4$7>', $comic_image);
return apply_filters('comicpress_display_comic_image',$comic_image);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB