显示多个图像Codeigniter

时间:2012-06-25 09:14:17

标签: php codeigniter imagettftext

我想使用imagettftext创建多个图像,并在视图文件中显示它。 我使用过这段代码:http://php.net/manual/en/function.imagettftext.php

当我将上述代码放在我的控制器中时,它可以很好地工作,但想知道如何在视图文件中渲染多个图像?

1 个答案:

答案 0 :(得分:0)

我认为使用ci图像处理库而不是使用核心php函数进行图像处理会更好。这里是文档http://codeigniter.com/user_guide/libraries/image_lib.html

相关问题