Announcement

#1 2012-08-11 16:46:30

Andrew954
Guest

Add images via db query

Is there a function which I can call to write new data for the galleries via a sql query? The website I am creating has thousands of new photos with data that are presented to me in XML feeds. I need to be able to write a small php script which includes a file from piwigo giving me access to a function to call with some data to add items to piwigo in a scripted fashion and not uploaded by a user or myself.

Andrew

 

#2 2012-08-14 18:51:19

flop25
Piwigo Team
2006-07-06
7037

Re: Add images via db query

Hello
I think you need to use the Api of Piwigo also knows as WebServices : see the page yourpiwigo/tools/ws.htm


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact