Trying to import a csv of products into Ubercart via node import. Product images are listed as URLs on external server.

When creating a product manually, the filefield sources module works well by allowing for import of image via URL.

However, during node import wizard, no such hook is provided to specify that a URL is the source of the image. Rather, the wizard states image must be located in directory for upload into product node.

It would be great if this module allowed for import via URL during the wizard node import process.

Comments

quicksketch’s picture

Status: Active » Closed (won't fix)

This module is not capable of providing such support. FileField Sources is simply a mechanism for pulling in files locally from remote URLs, it's not capable of creating new entries in the files table (FileField still does that work). Basically, this module has absolutely no affect on the node_save() process, so it won't help with data imports.

groovehunter’s picture

hi, I really want this feature too. I understand the mechanism resp your explanation above, thx for that.

But what could be a solution? Other modules

The way "Remote File" handles it, is kind of a workaround IMO. Some pictures are shown somehow, but i guess it happend only after sort of re-edit

FileField Sources makes sense to me. But storing the pictures URL and re-loading resp. refreshing the pictures shoud be possible for the node...

After manual creation the URL is in

field_pagepic[0]["nid"]

    [field_pagepic] => Array
        (
            [0] => Array
               (  
                   [nid] => 'http://upload.wikimedia.org/wikipedia/commons/9/97/William_Holman_Hunt_-_The_Scapegoat.jpg',
                   ...
                )
         )

But setting this var to the value explizitly does nothing. As expected - see above...

Could i set it via filefield method?

ch_masson’s picture

any news on that topic?

scotjam’s picture

if anyone finds a way to do this, sweet! please share!