• Using an image coupon, why is the dimension limited to 390px?

    “Upload an image to use as the entire coupon – Current image size is for 390 pixels in width with auto height”

    In fact, the rendered image on page is reduced to 300px, so small I can’t make out the fine print on the coupon.

    Did I miss a setting?

    https://wordpress.org/plugins/coupon-creator/

Viewing 1 replies (of 1 total)
  • Plugin Author Brian

    (@brianjessee)

    Hi,

    Thanks for trying out the Coupon Creator.

    In the free version when this option was added it was following the size of the other coupons at the time so 390px for the Print View and 300px for the Shortcode view.

    There is a filter that you can use to create custom dimensions. This is the coding where the filter is:

    $cctor_img_size = array();
    $cctor_img_size['single'] = 300;
    $cctor_img_size['print']  = 390;
    
    $cctor_img_size = apply_filters('cctor_img_size', $cctor_img_size);

    You could create a filter using that information.

    Or in Pro there is a option to change the dimensions of the image coupons from the admin and you can see more about that here:

    https://couponcreatorplugin.com/knowledgebase/using-pro-dimension-options/

    Let me know if you have any follow up questions.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Limited to 390 pixels?’ is closed to new replies.