Profile Image Resolution


  • Default avatar
    david91    
     12 years ago
    0

    Hey Seyi,

    I have a client that needs their emailed gift certificate to be high res for printing purposes. Is it possible to have a 300dpi profile image included in a custom profile? I've tried but it seems to be getting down-sampled to 72dpi during the test purchases.

    Thanks very much for any help,

    Dave
  • Your avatar
    seyi    
     12 years ago
    0

    Hi Dave,

    Not really sure. Did some googling on the subject myself and it seems the dpi should not be changed when saved to the server:
    http://www.frihost.com/forums/vt-94324.html

    Looking at the code, the image is saved at 82% of its original quality and not 100%, maybe changing that to 100% will fix it? You can find the code in
    www/administrator/components/com_awocoupon/helpers/awolibrary.php, search for
    <?php
    imagejpeg
    ($im,$path.'/'.$filename,82);
    ?>