Answers.Body: <p>Short answer: no. The thumbnail size (30x30) is hardcoded into the method you found (_getCpElementHtml), so there's no way you can change that.</p>
  
  <p>You could try extending the control panel's CSS (using <a href="https://github.com/lindseydiloreto/craft-cpcss" rel="nofollow">this plugin</a>) to enlarge and/or hide certain elements, but that won't get the thumb any bigger.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-02T08:43:48.260Z
Answers.Text: Thanks, would it be somehow possible if i duplicated the assets field type and element type in a plugin? i tried that and im kind of stuck on the elements template that use the hooks tag, can i maybe instead of the {% hook do everything in the template ? i know that the hook function has a massive context object and i think thats the reason it has not been done in the templates in the first place
Answers.UserDisplayName: Gints Ligotnis
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-30T13:13:07.833Z
Answers.LastActivityDate: 2015-01-30T13:13:07.833Z
Answers.UserDisplayName: Paul
Body: <p>I would like to modify how assets are displayed within asset fields in the control panel's edit entry page, so that thumbnails are larger and the name is not displayed.</p>
  
  <p>After some investigation I found that when assets are added to an entry the following line is called <code>{% hook "cp.elements.element" %}</code>. This is calling the template service generating the html that displays the thumbnails and the name. ( _getCpElementHtml() is the function that is associated with the hook ) Is there a way to modify this without directly changing the core files?</p>
  
Tags: <plugin-development><fieldtypes><hook>
Title: How to change the display of asset fields in the control panel via plugin?
ThreadText: # How to change the display of asset fields in the control panel via plugin?
  
  (Asked by: username_0 on 2015-01-29)
  
  I would like to modify how assets are displayed within asset fields in the control panel's edit entry page, so that thumbnails are larger and the name is not displayed.
  
  After some investigation I found that when assets are added to an entry the following line is called `{% hook "cp.elements.element" %}`. This is calling the template service generating the html that displays the thumbnails and the name. ( \_getCpElementHtml() is the function that is associated with the hook ) Is there a way to modify this without directly changing the core files?
  
  **Tags:** plugin-development, fieldtypes, hook
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-01-30. Score: 1
  
  Short answer: no. The thumbnail size (30x30) is hardcoded into the method you found (\_getCpElementHtml), so there's no way you can change that.
  
  You could try extending the control panel's CSS (using [this plugin](https://github.com/lindseydiloreto/craft-cpcss)) to enlarge and/or hide certain elements, but that won't get the thumb any bigger.
  
  > **Comments:**
  > **username_0**: Thanks, would it be somehow possible if i duplicated the assets field type and element type in a plugin? i tried that and im kind of stuck on the elements template that use the hooks tag, can i maybe instead of the {% hook do everything in the template ? i know that the hook function has a massive context object and i think thats the reason it has not been done in the templates in the first place  
  
  ---
  
  