I tried to get the IPTC values from several of my jpg's with the code from php.net: ( http://www.php.net/manual/en/function.getimagesize.php )
<?php
$size = getimagesize ("testimg.jpg",&$info);
if (isset ($info["APP13"])) {
$iptc = iptcparse ($info["APP13"]);
var_dump ($iptc);
}
?>
But I get the error:
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of getimagesize(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer.
I tried to change the allow_call_time_pass_reference to true but then I don't know how to extract the information. I tried some comments to iptcparse() and iptcembed() but I never got them to work. Using 4.3.1-dev.
I was wondering if anyone has a suggestion how to change the code into a working state.