Wiki

Articles tagged with "images", sorted by date (updated)X
Displaying 1-3 of 3 result(s).

Provide SVG when the browser supports it, else PNG (using CHtml::image overload)

Updated 6 months ago by le_topTips0 comments – viewed 2,057 times – ( +1 ) – version 1.1
Modern browsers support SVG, older browsers do not. This replacement for CHtml::image() allows you to handle to propose SVG in an efficient way with PNG as a fallback.

Create image thumbnails with php_img_preview

Updated 11 months ago by Anas AbuDayahTutorials6 comments – viewed 11,428 times – ( +3 ) – version 1.1
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
tags: images, views

Display image on CGridView column and open a fancy-box

Updated about a year ago by Ankit ModiTutorials0 comments – viewed 9,337 times – ( +1 / -1 )
1) Add a fancy-box extension on admin page