You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to have a hexo-generator-gallery plugin that create a gallery page which index all the photos used in the published articles, namely, an archive page for photos used in all posts, similar to what hexo-generator-archive did for the posts or whathexo-generator-tag did for tags.
And it would be better to have a timeline that sort the photos with the published time of the post in which these photos appeared.
The text was updated successfully, but these errors were encountered:
There are various types of timeline. In fact, I could find a lot of templates on codepen and they are all in different structures and styles.
Not only Hexo doesn't know what HTML should be output that will be compatible with different css frameworks, templates or themes, but also Hexo doesn't know what data should be included: image url, thumbnail url, titles, captions, description, and so on. It is vary for different users and different websites/themes, thus Hexo can't bring up a specific model for Photo or Image. The feature should be done by a theme or a third-party plugin. You could write a custom hexo-generator-gallery plugin if you want.
But if you really have some good ideas about Photo model, You can start with an example: the Post model. Looking forward to your Pull Request.
By timeline I mean something similar to weibo's gallery, a responsive waterfall layout sorted with post time, separated by month, as simple as possible, without any fancy style. I'm not familiar with web dev, but I think this should fit various themes.
time can get from the post's front-matter;
url can get from the insert line of image(markdown or html),
relatively path may have to transform to absolute one;
squared thumbnail can make timeline more tidy,
great to have if can be easily generate, but not something absolutely necessary;
titles, captions, description etc. are all not really need;
a link to the post in which image appeared would be great,
we can then easily find out the story about certain image, including titles, captions, description etc.
Check List
Please check followings before submitting a new feature request.
Feature Request
Is it possible to have a
hexo-generator-gallery
plugin that create a gallery page which index all the photos used in the published articles, namely, an archive page for photos used in all posts, similar to whathexo-generator-archive
did for the posts or whathexo-generator-tag
did for tags.And it would be better to have a timeline that sort the photos with the published time of the post in which these photos appeared.
The text was updated successfully, but these errors were encountered: