hello - probably code blind but i'm pretty certain this should work;
$user_image_sizes=array(
array('code'=>"-resize x435 -quality 90",'prefix'=>'h435-'),
array('code'=>"-resize x50 -quality 90",'prefix'=>'h50-')
);
foreach($user_image_sizes as $im){
echo="convert ".$im['code']."<BR>";
}
this is the error
Warning: Invalid argument supplied for foreach() in /Volumes/Groups/Projects/515_Rundellremix/web/web2010/scripts/php/class.media.php on line 57
0 /Volumes/Groups/Projects/515_Rundellremix/web/web2010/media/uploads/2010/04/2127/
help appreciated!