Miniaturas da Lista de Tópicos

:discourse2: Resumo Topic List Thumbnails permite exibir miniaturas de tópicos nas visualizações de lista de tópicos.
:eyeglasses: Pré-visualização Pré-visualização no Discourse Theme Creator (estilo blog)
Pré-visualização no Discourse Theme Creator (grade)
Pré-visualização no Discourse Theme Creator (lista)
Pré-visualização no Discourse Theme Creator (masonry)
Pré-visualização no Discourse Theme Creator (grade minimalista)
:hammer_and_wrench: Link do Repositório https://github.com/discourse/discourse-topic-thumbnails
:open_book: Novo nos Temas do Discourse? Guia para iniciantes sobre o uso dos Temas do Discourse

Instale este componente de tema

Recursos

Imagens otimizadas são geradas para as listas, e diferentes resoluções são disponibilizadas para telas de alta densidade de pixels (high-dpi). As imagens são carregadas sob demanda (lazy-loaded) conforme você rola a página (quando há suporte nativo no navegador).

Por padrão, o Discourse usará a primeira imagem no OP (primeira postagem) do tópico. Se você quiser selecionar uma imagem diferente do OP, adicione |thumbnail ao markdown. Por exemplo:

![alttext|100x100](upload://aaa)
![alttext|100x100|thumbnail](upload://bbb) << esta será a miniatura

Existem cinco modos, configuráveis por categoria ou tag usando as configurações do tema.

Por exemplo:

Modo grade:

Modo masonry:

E modo lista:

Dicas e Truques

Se você quiser que os Oneboxes em suas postagens gerem miniaturas, será necessário ativar a configuração do site download_remote_images_to_local. Você também precisará rebakear as postagens relevantes.

Configurações

Nome Descrição
default_thumbnail_mode Qual modo de exibição de miniatura deve ser usado por padrão
docs_thumbnail_mode Se o plugin de documentação estiver habilitado, qual modo de exibição de miniatura deve ser usado para tópicos de documentação
blog_style_categories A visualização estilo blog será usada nestas categorias. Este estilo faz uso de trechos de tópicos se habilitado via tema ou componente de tema
minimal_grid_categories A visualização de grade minimalista será usada nestas categorias
grid_categories A visualização de grade será usada nestas categorias
masonry_categories A visualização masonry será usada nestas categorias
list_categories A visualização de lista será usada nestas categorias
blog_style_tags
minimal_grid_tags A visualização de grade minimalista será usada para estas tags
grid_tags A visualização de grade será usada para estas tags
masonry_tags A visualização masonry será usada para estas tags
list_tags A visualização de lista será usada para estas tags
suggested_topics_mode Qual modo de exibição de miniatura deve ser usado para tópicos sugeridos? Se deixado em branco, seguirá a configuração ‘habilitar fora de listas de tópicos’.
enable_outside_topic_lists Habilitar miniaturas em páginas fora de listas de tópicos (por exemplo, atividade do usuário, mensagens pessoais, tópicos sugeridos)
placeholder_icon Ícone a ser exibido em tópicos sem imagens de miniatura
mobile_thumbnails Habilitar miniaturas em dispositivos móveis
list_thumbnail_size Tamanho base para miniaturas na visualização ‘lista’

:discourse2: Hospedado por nós? Componentes de tema estão disponíveis para uso em nossos planos Pro, Business e Enterprise.

92 curtidas
MD Topic List component
Theme modifiers: A brief introduction
Thumbnail generation & markdown rendering issue
Image_url is null after update
User Card Directory
Pictures in grid page layout
Thumbnail of topic
Amazing customized community
Blog Post Styling
Topic List Previews (legacy)
Topics list in mobile view: excerpt overflows and count/date wraps
Topic List Previews (legacy)
Using onebox images for topic thumbnails
Is there a plugin to make my forum a shop?
Add icons for Views and Replies, and Last Activity date in Topic Cards
[PAID] Modifying Video Upload theme to display topic thumbnails
How to make tiles like in discourse theme category?
Topic List Previews (TLP)
User Portfolio
Topic List Excerpts
Rounded Borders for images, oneboxes, blockquotes & more
Extend Topic List Thumbnails TC with like button
What are good plugins or theme components for a forum emphasizing pictures?
What is the name of this theme?
Developing a component or plugin similar to topic list thumbnails or topic list previews
Set the image used for social network sharing?
Latest list as grid view
Fakebook Theme
I want to create a Theme/Theme component as shown in the picture below!
Customize topic list entries (sorting, grouping, filtering) for better organization
Enabling a plugin for a specific theme only
New Photography Theme
Topic Cards
How do I fix this display?
Thumbnails are missing for our external embeds when using topic-thumbnails
FKB Pro - Social theme
Improve the Follow Feed
FKB Pro - Social theme
Customizing your site with existing theme components
User Portfolio
Is there a way to select a Default Image for Topic List Theme Component?
Topic List Item Click Animation
Blog-style layout affects Tooltips
Discourse Docs
How to display posts as blocks?
How is the "theme" Category acheived in Meta?
Minima Theme
Can the homepage display images within the Topic feed?
Topic List Previews (TLP)
Topic List Previews (legacy)
Is there a Kanban theme for Discourse?
Discussion grid latest
Topic List Previews (legacy)
Topic List Previews (legacy)
How to display posts in grid?
Displaying Views in Topic view (with no replies)
Topic List Previews (legacy)
Group Topics by Category
CASE STUDY: Why a journal category could be the next big growth opportunity for your forum
Blog Post Styling
Topic Cards
Can discourse be used entirely through the APIs to build a flutter app?
Topic List Author
What Will be Best theme for a site like ecommerce
Topic Cards
FKB Pro - Social theme
FKB Pro - Social theme
Migrated my old custom-built trail-journal/blog to Discourse
Help us test Horizon, our newest theme
Alternative post templates
Creating a Unique Gallery Layout for a Category
Photo Competition or Contest - Do We Have Anything?
Display images on the article's front page
How can I make my forum look like this one?
Sharing link to Facebook does not show image (open graph)
Discourse Docs
The pictures are disappear and some Theme component is ineffective
Graceful Theme
How can I make a Discourse forum as "reddit like" as possible
All links to categories broken?
Add an option to list topics by tagging date
Is there like a Reddit style plugin?
How would I able to list topics as boxes
Best way to implement Excerpts in topic list?
MD Topic List Mobile component
Featured Topics
Add Onebox integration; show thumbnail with topic-thumbnails plugin
Topic List Previews (legacy)
Plugin used in theme
Plugin used in theme
Topic List Previews (legacy)
Created Topic Sort
All latest images in posts from a category
How to create a custom button?
Topic Cards
Filter posts with images (gallery view)
[Question/Request] Featured image url for post
Category "Uncategorized" not displayed for globally pinned topics below title
Is there a 'reddit' style discourse theme / plugin?
Blog Post Styling
Potential way to hide ignored users from topic list?