Skip to content

Commit b257d5f

Browse files
Update Lfm.php
1 parent 3083d4e commit b257d5f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/Lfm.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,21 @@ public function availableMimeTypes()
162162
{
163163
return $this->config->get('lfm.folder_categories.' . $this->currentLfmType() . '.valid_mime');
164164
}
165+
166+
public function shouldCreateCategoryThumb()
167+
{
168+
return $this->config->get('lfm.folder_categories.' . $this->currentLfmType() . '.thumb');
169+
}
170+
171+
public function categoryThumbWidth()
172+
{
173+
return $this->config->get('lfm.folder_categories.' . $this->currentLfmType() . '.thumb_width');
174+
}
175+
176+
public function categoryThumbHeight()
177+
{
178+
return $this->config->get('lfm.folder_categories.' . $this->currentLfmType() . '.thumb_height');
179+
}
165180

166181
public function maxUploadSize()
167182
{

0 commit comments

Comments
 (0)