Jump to content

Product image import problem


Recommended Posts

Csv file structure :

10;polo;http://images.icecat.biz/img/norm/high/53308-8334.jpg

I have imported all categories , products info. , only getting problem in image import .

The image is on other domain.

Got the below mentioned Error :

The .CSV file has been imported into your shop.

Error copying image: http://images.icecat.biz/img/norm/high/53308-8334.jpg

Thanks.

Link to comment
Share on other sites

Hey , i found the solution , hope it will help you.

NEW code
public function getImageLink($name, $ids, $type = null)
{ return “http://images.icecat.biz/img/norm/low/”.$ids.($type ? ‘-’.$type : ‘’).’.jpg’;
}


OLD code
public function getImageLink($name, $ids, $type = NULL)
{

Link to comment
Share on other sites

  • 4 months later...

Hey , i found the solution , hope it will help you.<br/><br/>NEW code<br/> public function getImageLink($name, $ids, $type = null)<br/> { return “http://images.icecat.biz/img/norm/low/”.$ids.($type ? ‘-’.$type : ‘’).’.jpg’;<br/> }<br/><br/><br/>OLD code<br/> public function getImageLink($name, $ids, $type = NULL)<br/> {

 

on which file, i need to edit this...

 

thanks

Ash

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...