Hey,
I solved the problem by using XML-RPC. Gladly they did some updates for the latest release 3.4. This works actually quite good and is interchangable as well.
my bad, the codesnipped worked, it was a typo in the file resource, using new IXR_Base64(…) works nice
after a little research I found a few things out:
'bits' => base64_encode(file_get_contents("exifTest.jpg")),
should be
'bits' => new IXR_Base64($data)
in combination with
$fs = filesize('exifTest.jpg');
$file = fopen('exifTest.jpg', 'rb');
$data = fread($file, $fs);
fclose($file);
catching the send xml i found out that instead of <base64> the image is decoded as <string>, even with using new IXR_BASE64(data)
Am I using it just wrong or does anyone have a hint to resolve it?
Thx alot