Home Forums Ads In Posts Image ad from external url gets shrinked

This topic contains 1 reply, has 2 voices, and was last updated by  Francisco Mejia 5 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18752

    Mpampirina
    Participant

    Hello,
    I want to use ads in posts to add an image ad, sized 700×90 px above my posts content.

    When I upload the said advertisement in my media library, it is displayed as expected, left aligned with the content (actually full aligned) and full sized. But when I insert it from a URL (eg my Dropbox public folder), the image gets shrunk to 640×82 and auto aligns itself with the center of the content, even though I have specifically chosen left alignment.

    Any ideas?

    #18763

    Francisco Mejia
    Keymaster

    Hello,

    Welcome to the community :)

    Looks like you are using an image optimizer or maybe a cache plugin that is resizing your external images.

    If you access your external image directly, does it maintain the original dimensions (700×90)? Sometimes image hosting providers can shrink your images, but I have tried using an image from DropBox without any issue so I don’t think that’s the case here.

    Does your ad image filename end with “700×90”? e.g.: my-ad-image700x90.png

    If so try removing the “700×90” from the filename (rename it to something else), I have seen that cause issues on WordPress sites before.

    Also, could you right-click the image and select Open Image in a New Tab? And verify if the URL is the same you entered on the Ads In Posts settings?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Pin It on Pinterest