Upload product image ... function.getimagesize ...failed to open stream

User Rating: / 0
PoorBest 

How do you manage image files with VMConnector?

VMConnector and the VMCClient does not upload directly image files, but here is the procedure to avoid loading images one by one.

Products:

  1. Prepare all your product full size images (mandatory even without VMConnector)

  2. Prepare all your thumbnail images (i.e. 90 X 90 - if you use a different size from the full image size)

  3. Use any FTP (i.e. FileZilla progam) to upload all your full size images to:

    ...yourWebSite.../components/com_virtuemart/shop_image/product (directory)

  4. Use your FTP program to upload all your thumbnail  images to:

    ...yourWebSite.../components/com_virtuemart/shop_image/product/resized (directory)

  5. In the MS Excel file with your product to upload with the VMCClient for VMConnector write:

    • In the field: full_image_curr = full_image_file_name.ext (i.e. image.jpg -> that you have uploaded for this product)

    • In the field: thumb_image_curr = resized/thumbnail_image_file_name.ext (i.e. resized/image_s.jpg -> that you have uploaded for this product)

  6. Instead, if you use direct image URLs in the MS Excel file with the fields full_image_url and thumb_image_ur, you do not need to upload any image as long as the image URLs are valid and pointing to products images.

Categories:

Exactly the same as for products but with the corresponding fields and directories:

  • MS Excel fields: full_image_curr and thumb_image_curr for uploaded image file with your FTP program

  • MS Excel fields: full_image_url and thumb_image_url for direct URL links

  • Category FTP Directories:

    • ...yourWebSite.../components/com_virtuemart/shop_image/category (full image file directory)

    • ...yourWebSite.../components/com_virtuemart/shop_image/category/resized (thumbnail image file directory)

IMPORTANT NOTE:

If you get this error message: "[function.getimagesize]: failed to open stream"

You may need to go to your Virtuemart administration screen /  Configuration / Site (tab) / Enable Dynamic Thumbnail Resizing.


 

 

 

Join our mailing list!

Sign up to our mailing list and stay up to date!



YouTube Channel

youtube

Check out the official JoomConnector YouTube channel for product demos, tutorials and screencasts!