add support of exif and iptc for remote site

git-svn-id: http://piwigo.org/svn/trunk@538 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2004-09-27 21:51:07 +00:00
parent 1d4238055a
commit e7b24ebdd0
2 changed files with 120 additions and 4 deletions
+8 -2
View File
@@ -413,7 +413,12 @@ SELECT file
'representative_ext',
'filesize',
'width',
'height');
'height',
'date_creation',
'author',
'keywords',
'name',
'comment');
foreach ($optional_atts as $att)
{
if (getAttribute($xml_element, $att) != '')
@@ -428,7 +433,8 @@ SELECT file
if (count($inserts) > 0)
{
$dbfields = array('file','storage_category_id','date_available','tn_ext',
'filesize','width','height');
'filesize','width','height','date_creation','author',
'keywords','name','comment');
mass_inserts(IMAGES_TABLE, $dbfields, $inserts);
$counts{'new_elements'}+= count($inserts);