Upload images to Phoca Gallery progmatically
Posted: 05 Sep 2023, 11:17
Hello
I wanted to create a script which uploads images to Phoca Gallery from a remote source.
I am able to fetch the remote data with a CLI script or a system plugin and wanted to add/modify the images. Should I do it directly to the database or is there some kint of API which I could use to add these items?
Do you have maybe an example script how should I add an image via a frontend system plugin? I wanted to run in by cron
I wanted to create a script which uploads images to Phoca Gallery from a remote source.
I am able to fetch the remote data with a CLI script or a system plugin and wanted to add/modify the images. Should I do it directly to the database or is there some kint of API which I could use to add these items?
Do you have maybe an example script how should I add an image via a frontend system plugin? I wanted to run in by cron