1
Mods & Plugins (Requests & Discussions) / Auto IPTC into discription field when check new images
« on: June 21, 2003, 05:37:53 AM »
bump!
4images code on GitHub Click here to visit GitHub.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
For keywords, replaceCode: [Select]show_textarea_row($title, "image_keywords_".$i, "", $textarea_size);
withCode: [Select]$keywords = "";
if ($imageinfo = @getimagesize($file_src, $info)) {
if (isset($info['APP13'])) {
$iptc = iptcparse($info['APP13']);
if (is_array($iptc)) {
if (isset($iptc['2#025'])) {
foreach ($iptc['2#025'] as $val) {
$keywords .= (($value != "" ) ? " " : "").$val;
}
}
}
}
}
show_textarea_row($title, "image_keywords_".$i, $keywords, $textarea_size);