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:
parent
c81b590fca
commit
656d78b152
|
@ -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);
|
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 |
Loading…
Reference in New Issue