category images now resizing correctly