mariovaldez.net
http://www.mariovaldez.net/webapps/forums/

multi image
http://www.mariovaldez.net/webapps/forums/viewtopic.php?f=12&t=823
Page 1 of 1

Author:  sboule [ 04 Jan 2008, 08:31 ]
Post subject:  multi image

Hello,
I saw you can transfer multi image with more_pics_6 but this contribution is for ms2.
I have creload and I would like to know if it's possible to do the same thing.

I made some test before asking.
When I add this in my mysql :
ALTER TABLE `products` ADD `products_subimage1` VARCHAR(64) AFTER `products_image`;
ALTER TABLE `products` ADD `products_subimage2` VARCHAR(64) AFTER `products_subimage1`;
ALTER TABLE `products` ADD `products_subimage3` VARCHAR(64) AFTER `products_subimage2`;
ALTER TABLE `products` ADD `products_subimage4` VARCHAR(64) AFTER `products_subimage3`;
ALTER TABLE `products` ADD `products_subimage5` VARCHAR(64) AFTER `products_subimage4`;
ALTER TABLE `products` ADD `products_subimage6` VARCHAR(64) AFTER `products_subimage5`;

Your soft can add the image.

I think your soft go there to get the image.
In the creload the are like that :
products_image_lrg
products_image_med
.....

Do you think I can do something to get and transfer my image with the creload?

PS : many thank's for this program it's very powerfull for me
And happy new year 2008
:lol: Sebastien

Author:  sboule [ 06 Jan 2008, 04:23 ]
Post subject:  multi image WITH A CRELOAD

Hello,
In product_info I have this :
// BOF MaxiDVD: Modified For Ultimate Images Pack!
$product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, p.products_image_med, p.products_image_lrg, p.products_image_sm_1, p.products_image_xl_1, p.products_image_sm_2, p.products_image_xl_2, p.products_image_sm_3, p.products_image_xl_3, p.products_image_sm_4, p.products_image_xl_4, p.products_image_sm_5, p.products_image_xl_5, p.products_image_sm_6, p.products_image_xl_6, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
// EOF MaxiDVD: Modified For Ultimate Images Pack!

Regards
Sebastien

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/