doubao6464 2011-07-16 13:33 采纳率: 100%
浏览 41
已采纳

帮助在Yii中显示图像库

I have been working on developing an image gallery website in yii framework. I like to display a gallery of images in a page as a gird with pagination feature. I wonder if there exists any Yii builtin features like CGridView can be used for this purpose. If not what will be my best option to choose. I have to do the pagination in the gallery.

  • 写回答

1条回答 默认 最新

  • dongxixian7803 2011-07-16 17:13
    关注

    Seems like you have 3 choices: (1) Customize CGridView by extending the render functions to make it do what you want, which is pretty easy to do. (2) Find a Yii extension and see if it's close enough to what you want ( http://www.yiiframework.com/extensions/ ), or (3) use a JavaScript-based image gallery and have Yii output the data.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 单片机学习顺序问题!!
  • ¥15 ikuai客户端多拨vpn,重启总是有个别重拨不上
  • ¥20 关于#anlogic#sdram#的问题,如何解决?(关键词-performance)
  • ¥15 相敏解调 matlab
  • ¥15 求lingo代码和思路
  • ¥15 公交车和无人机协同运输
  • ¥15 stm32代码移植没反应
  • ¥15 matlab基于pde算法图像修复,为什么只能对示例图像有效
  • ¥100 连续两帧图像高速减法
  • ¥15 如何绘制动力学系统的相图