mocapapa
(Mocapapa)
February 17, 2009, 1:47am
1
I love this script and I have succeeded to implement it to the "blog demo". Since it does not seem to be the extension of the Yii, I am going to share this as a tutorial or cookbook. How do you think?
Anyway I am posting this in order to reserve the place of the materials which I will not be able to upload to the cookbook.
[Edit]
Done.
http://www.yiiframew…oc/cookbook/12/
mocapapa
(Mocapapa)
February 20, 2009, 1:39am
2
Added a function of params for the image (imageParams) in order to support floating images shown as below.
Modified cookbook.
http://www.yiiframew…oc/cookbook/12/
mocapapa
(Mocapapa)
February 20, 2009, 4:01am
4
Quote
Thanks Qiang.
Though I would like to make it as an extension of Yii at first, I thought it is difficult because there is no direct support of image on Yii.
As this is the reason for me to make it as an extension of the blog demo, it is still easy for users to use it for their Yii application, I suppose.
qiang
(Qiang Xue)
February 20, 2009, 11:52am
5
What kind of image support are you looking for?
mocapapa
(Mocapapa)
February 20, 2009, 12:11pm
6
Quote
What kind of image support are you looking for?
I do not have a concrete idea. But I can think of something, e.g.
(1) image upload functionality
(2) display functionality with thumb-nail/bounding box constraint
Based on these situations, I can use these kind of scripts (e.g. lightbox, highslide etc.).
This time, I left (1), and made a method in the markdown interpretation which blog demo already has.
[Updated: Feb 22, 2009]
Collection of the enhancements:
http://code.google.c…gdemo-enhanced/
mocapapa
(Mocapapa)
March 21, 2009, 3:59pm
7
Quote
Rewritten using CClientScript.
http://www.yiiframew…oc/cookbook/12/
mocapapa
(Mocapapa)
May 7, 2009, 3:22am
8
I checked my program and found that I have used DIRECTORY_SEPERATOR in the URL.
I have commited the revised version of the enhanced blog demo to the following repositry.
http://code.google.c…rce/detail?r=18
lvsan
(Vslow)
September 7, 2012, 5:43pm
9
i am new and is beginner to use the php.
can i have a sample on it? i try to look into it so that able to use at my code.
i have also look for a function to popup my image while click on the records from the GridView.
hope some one able to help me.
thanks.