mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user