Home Forums Plugins Product Importer Deluxe Support upload images

Welcome to our community support forums! We're here to help - but if you have an urgent request for a Pro Plugin, you will get a prioritised response through our Premium Support page.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #8402

    I want to embed images from a asp environment ( http://www.shopcast.nl/image.asp?shop=clc&format=large&location=&isbn=%5BSKU%5D)
    but this doesn’t work (I get this error: Warning: array_merge() [function.array-merge]: Argument #1 is not an array in D:\wamp\www\wordpress\wp-content\plugins\wp-e-commerce\wpsc-admin\includes\display-items-functions.php on line 984)

    Is there a way to get this to work?


    I found this cUrl function and it seems to work, only it should somehow be implemented in the plugin:


    function savePhoto($remoteImage, $isbn) {
    $ch = curl_init();
    curl_setopt ($ch, CURLOPT_URL, $remoteImage);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 0);
    $fileContents = curl_exec($ch);
    $newImg = imagecreatefromstring($fileContents);
    return imagejpeg($newImg, "./wp-content/uploads/wpsc/product_images/{$isbn}.jpg",100);
    savePhoto('http://www.shopcast.nl/image.asp?shop=clc&format=large&location=&isbn=9789061269632', 9789061269632);

    Support Team

    Hi bertus, thanks for raising this. I’ll give this some further thought and look at adding it as an alternative image import method where the default fails/or an option tells the Plugin to use this other method. 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Support’ is closed to new topics and replies.