Sunday, January 11, 2015

CakePHP-Upload Plugin > FileImportBehavior: How to use ?

Hi people,

How to use cakephp upload plugin, and import behavior ( https://github.com/josegonzalez/cakephp-upload ) to handle the existing images and save their name into database?

I have a task to migrate data and images from joomla cms into custom CMS built into CakePHP.

In joomla cms many articles contain embedded images, into future images reside in a separate models (post hasmany images).

The task is to find the img tag into each post, and extract the path to the image, then take a picture with that path as the source, then create several images in different dimensions and save the image name into database.

The only thing I do not know if we can use for this purpose ImportBehavior, and how?

thank you

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: