WordPress.org

Forums

Corner Ad
[resolved] Need image to maintain original size (6 posts)

  1. pdevivo
    Member
    Posted 1 year ago #

    Is there a way to make my image ALWAYS maintain original size and have the peel just open and show it rather than shrinking it down?

    http://wordpress.org/plugins/corner-ad/

  2. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. pdevivo
    Member
    Posted 1 year ago #

    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?

  4. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

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

    Best regards.

  5. pdevivo
    Member
    Posted 1 year ago #

  6. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Corner Ad
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.