Yii Framework Forum: Highslide for image popups - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Highslide for image popups Rate Topic: -----

#1 User is offline   mocapapa 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 428
  • Joined: 04-January 09
  • Location:Tokyo, JAPAN

Posted 16 February 2009 - 08:47 PM

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/

Attached File(s)


0

#2 User is offline   mocapapa 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 428
  • Joined: 04-January 09
  • Location:Tokyo, JAPAN

Posted 19 February 2009 - 08:39 PM

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/

Attached File(s)


0

#3 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,901
  • Joined: 04-October 08
  • Location:DC, USA

Posted 19 February 2009 - 08:52 PM

It looks very cool!
0

#4 User is offline   mocapapa 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 428
  • Joined: 04-January 09
  • Location:Tokyo, JAPAN

Posted 19 February 2009 - 11:01 PM

Quote

It looks very cool!

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.
0

#5 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,901
  • Joined: 04-October 08
  • Location:DC, USA

Posted 20 February 2009 - 06:52 AM

What kind of image support are you looking for?
0

#6 User is offline   mocapapa 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 428
  • Joined: 04-January 09
  • Location:Tokyo, JAPAN

Posted 20 February 2009 - 07:11 AM

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/
0

#7 User is offline   mocapapa 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 428
  • Joined: 04-January 09
  • Location:Tokyo, JAPAN

Posted 21 March 2009 - 10:59 AM

Quote



Rewritten using CClientScript.

http://www.yiiframew...oc/cookbook/12/

0

#8 User is offline   mocapapa 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 428
  • Joined: 04-January 09
  • Location:Tokyo, JAPAN

Posted 06 May 2009 - 10:22 PM

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
0

#9 User is offline   lvsan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 03-September 12

Posted 07 September 2012 - 12:43 PM

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users