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 2 years ago by le_topTips0 comments – viewed 4,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 2 years ago by Anas AbuDayahTutorials6 comments – viewed 14,728 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 3 years ago by Ankit ModiTutorials0 comments – viewed 12,246 times – ( +1 / -1 )
1) Add a fancy-box extension on admin page