Ad generator hardcoded image instead of %asset$

Trouble updating AdRotate Professional to the latest version?

If your license is not expired and you are having trouble with updates for AdRotate Professional I want to hear from you!
Known issues; The update will not install or no update is visible in your dashboard.
Affected versions; Most versions of AdRotate Professional since December 2019.

Click here for the solution - AdRotate Pro update not working or not offered.

Home Forums AdRotate for WordPress Bug Reports Ad generator hardcoded image instead of %asset$

  • #88376



    In the recent update, the ads from the generator are putting out code with the hardcoded image srcset instead of the %asset% tag. Due to this, our customers are confused about why the images aren’t updating when they change the banner asset.

    <a href="" target="_blank" rel="nofollow"><img src="%asset%" width="219" height="100" srcset=" 219w" sizes="1281px" /></a>

    Should be this:
    <a href="" target="_blank" rel="nofollow"><img src="%asset%" width="219" height="100" srcset="%asset%" /></a>


    Arnan de Gans

    But if the srcset uses the same asset as the main image the advert won’t work.
    As such, the generator, in its new(ish) form works as intended.

    There are code examples next to the AdCode field when you edit/create adverts which use the %asset% tag they can use.



    I see, is there any way you could add an option to not include the srcset in the generator when only using one image? Or have it so when the user changes the banner asset it updates the srcset?

    Right now, if you update the banner asset it doesn’t update the ad if it was generated.


    Arnan de Gans

    That’s how it already works. If you skip the extra files there is no srcset attribute.
    And the primary image already uses %asset% at all times – I just checked.


    Arnan de Gans

    Oh, it also adds the full size as the srcset. That’s not right. I’ll look into that.


    Arnan de Gans

    This has been resolved in a recent update.




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

The topic ‘Ad generator hardcoded image instead of %asset$’ is closed to new replies.

You may be interested in