<commit_before><?php
class Vpc_Simple_Image_Index extends Vpc_Abstract
{
	protected $_tablename = 'Vpc_Simple_Image_FileDataModel';
    public $controllerClass = 'Vpc_Simple_Image_IndexController';
   	const NAME = 'Standard.Image';

	/*public static function getStaticSettings()
	{
		$config = array ();
		$config['path'] = 'simpleimage/';
		$config['thumbnail_width'] = 80;
		$config['thumbnail_height'] = 100;
		$config['pic_width'] = 400;
		$config['pic_width'] = 300;
		$config['typesAllowed'] = 'jpg, png, gif';

		return $config;
	}*/

	protected $_settings = array(
        'typesAllowed' => 'jpg, gif, png',
        'directory'    => 'SimpleImage/'
        );


	public function getTemplateVars()
	{

		$return['template'] = 'Simple/Image.html';
		return $return;
	}

}<commit_msg>ImageKomponente - Skalierung, Upload, Thumbnail ..<commit_after><?php
class Vpc_Simple_Image_Index extends Vpc_Abstract
{
	protected $_tablename = 'Vpc_Simple_Image_IndexModel';
    public $controllerClass = 'Vpc_Simple_Image_IndexController';
   	const NAME = 'Standard.Image';

	/*public static function getStaticSettings()
	{
		$config = array ();
		$config['path'] = 'simpleimage/';
		$config['thumbnail_width'] = 80;
		$config['thumbnail_height'] = 100;
		$config['pic_width'] = 400;
		$config['pic_width'] = 300;
		$config['typesAllowed'] = 'jpg, png, gif';

		return $config;
	}*/

	protected $_settings = array(
        'typesAllowed' 	    => 'jpg, gif, png',
        'directory'   	    => 'SimpleImage/',
        'filesize'	   	    => 'free',
        'default_style'		=> 'crop',
        'enableName' 		=> 1,
        'style' 	        => '',
        'allow'		        => array('crop', 'scale', 'scale_bg', 'deform'), //keywords: crop, scale, scale_bg, deform
        'default_color'		=> 'black',
        'allow_color'		=> 1,
		'color'				=> '',

        );


	public function getTemplateVars()
	{
		$return['template'] = 'Simple/Image.html';
		return $return;
	}

}
{'fraction_non_alphanumeric': 0.16471188169301376, 'fraction_numerical': 0.01223865374808771, 'mean_word_length': 3.418918918918919, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '5869333', 'n_tokens_mistral': 731, 'n_tokens_neox': 670, 'n_words': 130}