Yii Framework Forum: Image Attachment Extension - Yii Framework Forum

Jump to content

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

Image Attachment Extension user friendly widget, to manage images associated with model Rate Topic: -----

#1 User is offline   Bogdan Savluk 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 61
  • Joined: 20-April 10
  • Location:Kiev

Posted 29 August 2013 - 07:48 AM

Recently I have done work on extension intended to manage image associated with CActiveRecord model.

Extension provides nice way to manage image associated with model:
  • ajax image management
  • automatic image processing(previews, etc)


Extension has following parts:
  • behavior for model
  • widget for image management (upload, replacement, removal)
  • action to provide api for widget


Posted Image

More details here:
http://www.yiiframew...age-attachment/
0

#2 User is offline   dan_ 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 04-November 13

Posted 17 December 2013 - 01:31 AM

Another greats extension from Bogdan.
if i want attach pdf files?

View PostBogdan Savluk, on 29 August 2013 - 07:48 AM, said:

Recently I have done work on extension intended to manage image associated with CActiveRecord model.

Extension provides nice way to manage image associated with model:
  • ajax image management
  • automatic image processing(previews, etc)


Extension has following parts:
  • behavior for model
  • widget for image management (upload, replacement, removal)
  • action to provide api for widget


Posted Image

More details here:
http://www.yiiframew...age-attachment/

0

#3 User is offline   Bogdan Savluk 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 61
  • Joined: 20-April 10
  • Location:Kiev

Posted 17 December 2013 - 09:56 AM

View Postdan_, on 17 December 2013 - 01:31 AM, said:

Another greats extension from Bogdan.
if i want attach pdf files?

By now pdf is not supported - only "simple" images...
The problem is that pdf is completely different - preview generation is a bit complicated, also there is less sense in preview.

Also in case of attachments like pdf or other documents, probably there is need for other features like:
possibility to download file, or preserve file name when downloading, access restrictions, etc - so probably it will be another extension.

If you need just attach file (without previews, etc), take a look at:
http://www.yiiframew...imagearbehavior
(it was not updated for a long time, so my fork: https://bitbucket.or...imagearbehavior)
0

#4 User is offline   mari0bros 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 27-March 14

Posted 27 March 2014 - 11:35 AM

Hi, nice ext. I followed all step of your doc, but page return me always the same message "Before image upload save this." Why this?
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