Totally Zenned
- Join Date:
- Jun 2009
- Posts:
- 547
- Plugin Contributions:
- 2
Product Images on Invoice, Email, etc [Support Thread]
Product Images on Invoice, Email, etc
Totally Zenned
New Zenner
Totally Zenned
Zen Follower
Totally Zenned
Zen Follower
Zen Follower
CandleMan:
Where, for example, in the admin packing slip, can I change the link to the images folder?
during ssl state, my site refers to https://stargate.terrassl.net/~candlewithcare so the image when opening the packing slip wants to link to http://stargate.terrassl.net/images and doesn't show.
Is it this line?
' <td class="dataTableContent" valign="top" align="right"><img src="' . DIR_WS_CATALOG . DIR_WS_IMAGES . zen_get_products_image($order->products[$i]['id']) .'" align="left" width="' . SMALL_IMAGE_WIDTH . '" height="' . SMALL_IMAGE_HEIGHT . '" />' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
New Zenner
CandleMan:
I changed the
<img src="' . DIR_WS_CATALOG . DIR_WS_IMAGES . zen_get_products_image($order->products[$i]['id']) .'
to
<img src="https://stargate.terrassl.net/~candlewithcare/images/'. zen_get_products_image($order->products[$i]['id']) .'
it now works
New Zenner
Zen Follower
21yanks:
i have installed this mod but for some reason the InvoiceImage sql is not working properly. i go to admin/confi/iamges/ then i have no option
to change the size of the pics please help . thanks
INSERT INTO configuration
(configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function)
VALUES
('Image - On Invoice Height', 'IMAGE_ON_INVOICE_IMAGE_HEIGHT', '30', 'The pixel height of images on Invoice', 4, 49, NULL, now(), NULL, NULL),
('Image - On Invoice Width', 'IMAGE_ON_INVOICE_IMAGE_WIDTH', '30', 'The pixel width of images on Invoices', 4, 49, NULL, now(), NULL, NULL);New Zenner
New Zenner
Zen Follower
LBLJEB:
Absolutely love this add on however the product images aren't showing up property in our html emails?
There's just a square box with a broken image link image. Not sure where to even start to try and correct?
New Zenner
New Zenner
Harri:
I really like this mod too, but I have a same problem with the html emails as LBLJEB. HTML email image links are broken. Those image links do miss the store server part.
Now the image path in HTML emails is:
images/product_image.jpg
it thould be:
https :// www . google . com/store/images/product_image.jpg
Would it work by modifying this file from the line 909:
includes\classes\order.php
by adding . HTTPS_SERVER . DIR_WS_HTTPS_CATALOG . before the zen_get_products_image?
Like this?
//JT mod - Product Image
'<td class="product-details" align="left" valign="top" width="30">' . HTTPS_SERVER . DIR_WS_HTTPS_CATALOG . zen_get_products_image($this->products[$i]['id'], IMAGE_ON_INVOICE_IMAGE_WIDTH, IMAGE_ON_INVOICE_IMAGE_HEIGHT) . '</td>' . "\n" .
//JT mod - Product Image
* I don't have a testing server and my site is live. So thats why I ask before modifying those core files ;)
New Zenner
New Zenner
Zen Follower
Zen Follower
irishshopper:
Have installed the above add on to www.irishshopper.ie ZenCart 1.51 but cannot find the settings in Configuration/Images to adjust the size of the image which appears on the invoice.
Instructions state
Image sizes are controlled by setting located in:
Admin > Configuration > Images > 'Image - On Invoice Height'
Admin > Configuration > Images > 'Image - On Invoice Width'
Image sizes that are appearing are far far too big but don't appear at all on some browsers.
Any suggestions on how to fix this ?
-- Paste the following into 'SQL Query Executor' in Admin: (Tools\Install SQL Patches).
INSERT INTO configuration
(configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function)
VALUES
('Image - On Invoice Height', 'IMAGE_ON_INVOICE_IMAGE_HEIGHT', '30', 'The pixel height of images on Invoice', 4, 49, NULL, now(), NULL, NULL),
('Image - On Invoice Width', 'IMAGE_ON_INVOICE_IMAGE_WIDTH', '30', 'The pixel width of images on Invoices', 4, 49, NULL, now(), NULL, NULL);Zen Follower
Destination thread ID and reason are required when shown.
Tell staff why this post should be reviewed.
Required for login, security, and core site functionality.
Help us understand how the site is used so we can improve it.
Used for promotion and personalized campaign measurement.