- Posts: 6
- Thank you received: 0
layout image to small
- marckorthout
-
Topic Author
- Offline
Less
More
5 years 8 months ago #330989
by marckorthout
layout image to small was created by marckorthout
-- url of the page with the problem -- :
www.koi-auctions.be
Hi,
How can we enlarge the image on the packing slip?
Hi,
How can we enlarge the image on the packing slip?
Please Log in or Create an account to join the conversation.
5 years 8 months ago #331024
by nicolas
Replied by nicolas on topic layout image to small
Hi,
You can edit the file order / invoice.php via the menu Display>Views.
There, you have these lines:
that you can replace with:
in order to increase the size of the images.
Note that this will change the size of the images on both the shipping invoice and the invoice available in the backend as they both use the same view file.
If you don't want that, you would have to have such code:
You can edit the file order / invoice.php via the menu Display>Views.
There, you have these lines:
Code:
$width = (int)$this->config->get('cart_thumbnail_x', 50);
$height = (int)$this->config->get('cart_thumbnail_y', 50);
Code:
$width = 100;
$height = 100;
Note that this will change the size of the images on both the shipping invoice and the invoice available in the backend as they both use the same view file.
If you don't want that, you would have to have such code:
Code:
$width = (int)$this->config->get('cart_thumbnail_x', 50);
$height = (int)$this->config->get('cart_thumbnail_y', 50);
if($this->invoice_type!='full') {
$width = 100;
$height = 100;
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.040 seconds