Ignore:
Timestamp:
Jan 13, 2013, 7:20:54 PM (11 years ago)
Author:
julien1311
Message:

[piwecard] add the capacity to the choose the size of the image of the ecard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/include/publish.inc.php

    r20088 r20103  
    3333                $template->assign('ecard', array(
    3434                                'title'                 => $result_array['title'],
    35                                 'image'                 => $result_array['image'],
    3635                                'message'               => $result_array['message'],
    3736                                'url'                   => $url,
    3837                                'name'                  => $row['name'],
    39                                 'image'                 => DerivativeImage::url(IMG_LARGE, $row),
     38                                'image'                 => DerivativeImage::url($piwecard->config['image_size'], $row),
    4039                                'sender_email'  => $result_array['sender_email'],
    4140                                'sender_name'   => $result_array['sender_name'],
Note: See TracChangeset for help on using the changeset viewer.