Khue Vu 624734724b update Readme.md | %!s(int64=10) %!d(string=hai) anos | |
---|---|---|
.. | ||
Readme.md | %!s(int64=10) %!d(string=hai) anos | |
__init__.py | %!s(int64=10) %!d(string=hai) anos | |
representative_image.py | %!s(int64=10) %!d(string=hai) anos | |
test_representative_image.py | %!s(int64=10) %!d(string=hai) anos |
This plugin extracts a representative image (i.e, featured image) from the article's summary or article's content. The image can be access at article.featured_image
.
The plugin also remove any images from the summary after extraction to avoid duplication.
It allows the flexibility on where and how to display the featured image of an article together with its summary in a template page. For example, the article metadata can be displayed in thumbnail format, in which there is a short summary and an image. The layout of the summary and the image can be varied for aesthetical purpose. It doesn't have to depend on article's content format.