"Before image upload save this."

Issue #3 invalid
Sachy created an issue

how do I start using the extension? I have setup the extension but i got the following message.

"Before image upload save this."

Also how can I map the $model (image table) for the extension to work and save image location in the database?

Comments (2)

  1. Bogdan Savluk repo owner

    It is about how extension works... - You can not attach image to model until you have not saved it.

    Extension is not designed to save or modify something in database, and there is no need to do so - model primary key and behaviour configuration is enough for saving images or generating urls.

    if you need an example how it can be used, here it is: https://bitbucket.org/z_bodya/yii-demo-blog

  2. Log in to comment