Tested 1.1.8x
$this->widget('application.extensions.seqimage.SeqImage',array( 'widthImage' => 650, 'heightImage' => 340, 'slides'=>array( array( 'image'=>array('src'=>Yii::app()->request->baseUrl.'/images/test.jpg'), 'link'=>array('url'=>'mypage','htmlOptions'=>array()) ), array( 'image'=>array('src'=>Yii::app()->request->baseUrl.'/images/any.jpg'), ), array( 'image'=>array('src'=>Yii::app()->request->baseUrl.'/images/anyany.jpg'), ) )));
Total 9 comments
hello guys, thanks for the comments, version 2.0 soon!
Hi, thanks for the extension! Imho, there is something wrong with the way you implemented the assets managing of your extension, coz actually it is publishing also the php code in the general assets directory.
I changed, inside the SeqImage.php, part of the init function this way:
This way now the main assets dir publish a directory with your image and css only.
I guess that another improvement could be to merge the "general" hash directory with the one generated by your extension, avoiding the duplication of the assets directory, but this is another point.
Cheers! :)
Hi all,
If i don't know the exactly number of arrays to show? for example i need to extract the info from a data base....how can i use this ext?
thx
hi swampone, i tested using the bootstrap and worked correctly.
I have 2 sites. One where this extension works fine and the other, the height of the image is not being resized. The dots at the bottom that tell you which image you are on is being resized though, but my images are either too long are too short. the width is working fine. I copied the code directly from the site that is working. the only difference in the sites is that the one that this extension is not working on, uses the bootstrap extension.
Hi friend, thanks for warning. bug fixed. please download again.
=D
Hi. I have tried your extension, but see this error:
Undefined index: style /www/protected/extensions/seqimage/SeqImage.php(98)
This is the line: $htmlOptions['style'] .= 'margin: 10px 0 0 0; float: '.$this->buttonsOutPosition.'; ';
Have you any idea?
hello bonnie, soon I will create a more complete version! thanks ;D
Are there more options can be added on like description or caption at the bottom of the image. I would like to use an app I have the url to the image in the database and I would like to pass the description to. Thanks
Leave a comment
Please login to leave your comment.