Hi,
I`m trying to import nodes via 'Feeds' module.
Everything works fine, but I can find out how to upload images.
I`m doing everything as described in the manual, but nothing happens.
I`m trying to upload multiple values and using 'Feeds Tamper' and Explode plugin (| as separator).
..and getting this errors:
Warning: rawurlencode() expects parameter 1 to be string, array given in function encode_url() (line 447 ~sites\all\modules\feeds_imagegrabber\libraries\url_to_absolute.inc).
I`m using csv and working on a local server.
I even was trying to select images 'by filename from library', but it returns only notices like this:
Failed to get the file object for 14_4035226.jpg.
Failed to get the file object for 14_7409291.jpg.
...
What I`m doing wrong? Would be very thankful for any help
p.s. I attached two csv files (saved as txt to make it possible to upload them) for example
Comment | File | Size | Author |
---|---|---|---|
products_display_search_local.txt | 462 bytes | lanzs | |
products_display_upload.txt | 360 bytes | lanzs |
Comments
Comment #1
jlballes CreditAttribution: jlballes commentedSame error:
Warning: rawurlencode() expects parameter 1 to be string, array given in function encode_url() (line 447 ~sites\all\modules\feeds_imagegrabber\libraries\url_to_absolute.inc).
I´m used SimplePie and a item example is:
Comment #2
rooby CreditAttribution: rooby commentedThe manual you link to is very old and it is on a private website so I cannot update it.
In this case the README.txt is probably the best documentation.
It seems like you are linking to the actual image file.
Currently what this module does is takes a link to a webpage that contains the image and then takes the image from that page and downloads it.
The use case is that you are pulling in items from feeds, which are items from another site or something.
When it pulls in those items it wants to get the images that go with them.
So it goes to the url of the feed item and finds the images (using the setting you configured, like the class or ID) and downloads them and attaches them to the feed item pulled in.
If you need some other type of functionality we can look at adding it if you describe exactly what you are trying to achieve.
Comment #3
rooby CreditAttribution: rooby commentedBased on the error you have there, it looks like this is a duplicate of #2244833: Image Grabber doesn't work with latest version of Feeds
Please try the patch there.