Support » Plugin: Corner Ad » Need image to maintain original size

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    The “Corner Ad” creates new versions of image files to reduce the bandwidth consumption, and set the images dimension ratio, to corresponding sizes of Ads.

    If you want to maintain the original dimension of image’s files, follow the steps below:

    1. Open the corner-ad.php file (located in “/wp-content/plugins/corner-ad/corner-ad.php”), in the text editor your choice.

    2. Go to the snippet of code:
    $img = corner_ad_get_images($row->imgPath, true);

    and modify it like follow:

    $img = corner_ad_get_images($row->imgPath);

    That’s all.

    Hey, Thanks for response, but this method does not work. Basically, I have the word WIN in the corner of the graphic and I always want it to be visible and the same size. The rest will open by the timer OR mousing over… Help?

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Could you send me the link to your webpage for get a better idea about the issue, please?

    Best regards.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Could you contact me through our support page, please?

    http://wordpress.dwbooster.com/support

    To display the text in the short version of ad, the thumbnail should be generated cropping the image, but without resample it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need image to maintain original size’ is closed to new replies.