This simple extension uses jsonp protocol to comunicate with google images server. It is beta release. If it will be usefull for someone I extend this extension with more options and features.
Requirements ¶
Yii 1.1 or above...
Usage ¶
Put extention directory to the your application extension folder
// here is example how to display three pictures which will be found using keyword "winter"
$this->widget('ext.eGoogleImages.EGoogleImages', array('q' => 'winter', 'size'=>3, 'safeSearch'=>true));
Hmm - could be handy!
I like the idea of this extension. A simple modification that would be very useful would be to add a class to the image tag to allow all customisation too be done through the css file in the asset directory
I am having issues when using 'size'=>'9' or greater. Nothing ever loads. I'm not sure what's going on behind the scenes as I don't have access to firebug on this pc to check.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.