Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

EasyPopulate images


jestep

Recommended Posts

The implementation is fairly straight forward.

 

On line 21 & 22 of EasyPopulate.php, I used the following code:

$tempdir = "temp/";

$tempdir2 = "temp/";

 

instead of putting the /catalog/ in front of these two.

 

Data loads up ok but there were no images. When I checked the properties, it appears that the program was looking for the images in temp instead of /catalog/images/ which I thought was the "default" images folder.

 

Anyone have any ideas or a "little fix"?

 

Thanks

"jestep"

Joe Stephenson

Joseph E. "Joe" Stephenson
[email protected]

Link to comment
Share on other sites

The implementation is fairly straight forward.

 

On line 21 & 22 of EasyPopulate.php, I used the following code:

$tempdir = "temp/";

$tempdir2 = "temp/";

 

instead of putting the /catalog/ in front of these two.

 

Data loads up ok but there were no images. When I checked the properties, it appears that the program was looking for the images in temp instead of /catalog/images/ which I thought was the "default" images folder.

 

Anyone have any ideas or a "little fix"?

 

Thanks

"jestep"

Joe Stephenson

 

 

The temp directory is for uploading your tab-delimited file to import into the database.

 

For the images, your file should include the LINK to the picture in the catalog/images folder so, if the you would write image_name.jpg if the pic is in the catalog/images or folder/image_name.jpg if its in another folder in that directory. The pictures should be uploaded via FTP.

 

Refer to the easy populate support thread in Contribution Support for more info.

Link to comment
Share on other sites

The implementation is fairly straight forward.

 

On line 21 & 22 of EasyPopulate.php, I used the following code:

$tempdir = "temp/";

$tempdir2 = "temp/";

 

instead of putting the /catalog/ in front of these two.

 

Data loads up ok but there were no images. When I checked the properties, it appears that the program was looking for the images in temp instead of /catalog/images/ which I thought was the "default" images folder.

 

Anyone have any ideas or a "little fix"?

 

Thanks

"jestep"

Joe Stephenson

 

This may help you: http://www.oscommerce.com/forums/index.php?act=ST&f=7&t=195262

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...