I want to regenerate the thumbnail sizes for portfolio items in the choices theme. I changed the code to what I wanted and placed it in a functions.php file in the child theme I created. But the site failed completely. If I changed the functions.php code directly in the parent theme it worked just fine. Thoughts on what I could do to make it work? Below is the code I was trying to use in the child theme that made it fail.
/*
* Register additional image thumbnail sizes
* Those thumbnails are generated on image upload!
*
* If the size of an array was changed after an image was uploaded you either need to re-upload the image
* or use the thumbnail regeneration plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/
*/
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news
$avia_config['imgSize']['slider_thumb'] = array('width'=>70, 'height'=>50); // slideshow preview pics
$avia_config['imgSize']['fullsize'] = array('width'=>930, 'height'=>930, 'crop'=>false); // big images for lightbox and portfolio single entries
$avia_config['imgSize']['featured'] = array('width'=>990, 'height'=>400); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>200); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['portfolio_small'] = array('width'=>241, 'height'=>97); // images for portfolio 4 columns
$avia_config['imgSize']['logo'] = array('width'=>446, 'height'=>218); // images for dynamic logo/partner element
//dynamic columns
$avia_config['imgSize']['dynamic_1'] = array('width'=>446, 'height'=>180); // images for 2/4 (aka 1/2) dynamic portfolio columns when using 3 columns
$avia_config['imgSize']['dynamic_2'] = array('width'=>609, 'height'=>246); // images for 2/3 dynamic portfolio columns
$avia_config['imgSize']['dynamic_3'] = array('width'=>688, 'height'=>2780); // images for 3/4 dynamic portfolio columns
avia_backend_add_thumbnail_size($avia_config);














