<commit_before># Images

![Refinery Images](http://refinerycms.com/system/images/0000/0616/images.png)

## About

All Refinery's images are stored in one place, the images plugin. This plugin: 

* Reports recent activity on all the core plugins
* Provides convenient links to common tasks.

## Generating Thumbnails

Refinery lets you generate a range of thumbnails when an image is uploaded so you can output this on a page in an appropriate size.

To specify the sizes of your thumbnails edit the "Image Thumbnails" setting.

This setting is stored as a serialize hash and is directly passed to attachment_fu

Here's what the default looks like

    --- 
    :grid: c135x135
    :lightbox: 500x500>
    :dialog_thumb: c106x106
    :medium: 225x255
    :preview: c96x96
    :thumb: 50x50
    :side_body: 300x500

Refinery requires some of these so you won't want to delete any, but add new ones to meet your design needs. Each thumbnail is not just a size guide but a RMagick geometry string that allows you to define min and max size too.

Refinery also extends the geometry string support to allow cropping. Here's some examples

    :grid: c135x135
  <commit_msg>removed docs about the dashboard in the image docs<commit_after># Images

![Refinery Images](http://refinerycms.com/system/images/0000/0616/images.png)

## About

All Refinery's images are stored in one place, the images plugin. You can customise what sized thumbnails are generated when an image is uploaded and use them in your themes/views.

## Generating Thumbnails

Refinery lets you generate a range of thumbnails when an image is uploaded so you can output this on a page in an appropriate size.

To specify the sizes of your thumbnails edit the "Image Thumbnails" setting.

This setting is stored as a serialize hash and is directly passed to attachment_fu

Here's what the default looks like

    --- 
    :grid: c135x135
    :lightbox: 500x500>
    :dialog_thumb: c106x106
    :medium: 225x255
    :preview: c96x96
    :thumb: 50x50
    :side_body: 300x500

Refinery requires some of these so you won't want to delete any, but add new ones to meet your design needs. Each thumbnail is not just a size guide but a RMagick geometry string that allows you to define min and max size too.

Refinery also extends the geometry string support to allow cropping. Here's some examples

    :grid: c135x135
  
{'fraction_non_alphanumeric': 0.050505050505050504, 'fraction_numerical': 0.04377104377104377, 'mean_word_length': 3.841140529531568, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7226127', 'n_tokens_mistral': 759, 'n_tokens_neox': 660, 'n_words': 339}