This is a temporary solution until I get round to looking at why the code doesn't work.
* save the picture with better name.
* go into the database and duplicate an entry , like
INSERT INTO `jos_vm_product_files` (`file_id`, `file_product_id`, `file_name`, `file_title`, `file_description`, `file_extension`, `file_mimetype`, `file_url`, `file_published`, `file_is_image`, `file_image_height`, `file_image_width`, `file_image_thumb_height`, `file_image_thumb_width`) VALUES
(13, 649, '/components/com_virtuemart/shop_image/product/LJstripeysweatshirt4.jpg', 'Stripey Sweat Shirt', '', 'jpg', 'image/jpeg', 'http://www.oceanblueclothing.com/components/com_virtuemart/shop_image/product/LJstripeysweatshirt4.jpg', 1, 1, 1600, 1600, 120, 120);
Change the file names and Product Id accordingly.
* you'll need to ftp your full size image into
components/com_virtuemart/shop_image/product/
* ftp your thumbnail into components/com_virtuemart/shop_image/product/resized
the filename of the thumbnail should be the same as full image but have '_120x120 at the end. For example
FULLSIZEIMAGENAME_120x120.jpg
This will then work. I'll get back to you with a full solution :)
3 comments:
did you find a solution ?
did you find a solution ?
Hi Zee
No it's still on my 'to do' list. If you discover any clues if your searching for a solution then let me know. :)
Post a Comment