Greetings,
where can i change the size of the vendor image. i modified the whole pdf output for my needs but i can't find the image definiation. I tried it with using displayMediaFull instead of displayMediaThumb but it won't work.
Any other suggestions ?
Found a solution. I changed the line37 in components\com_virtuemart\views\invoice\tmpl\invoice.php
from
<?php echo $this->vendor->images[0]->displayMediaThumb('', false); ?>
to
<?php echo $this->vendor->images[0]->displayMediaFull('style="width: 800px;"', false); ?>
If you have a low resolution logo you can scale your logo up.
Quote from: Deepjungle on August 30, 2012, 19:56:03 PM
Greetings,
where can i change the size of the vendor image (http://www.rasteredge.com/how-to/vb-net-imaging/resize-image/). i modified the whole pdf (http://www.rasteredge.com/how-to/vb-net-imaging/pdf-reading/) output for my needs but i can't find the image definiation. I tried it with using displayMediaFull instead of displayMediaThumb but it won't work.
Any other suggestions ?
First, thank you very much for your solution, but after I change the image size as the way you said, the resolution is largely reduced, and it is a little blur. have you met this situation? :-\
http://forum.virtuemart.net/index.php?topic=79799
Dimensions of the original vendor image should be equal to image dimensions in your VM config.
Somewhere could be configured quality of generated thumb images.