Images not appearing after embedding code for Ads [RESOLVED]
This has been resolved using METHOD 3 below - sharing here to save further headaches...
This can be tested (or you can go to the solution below) by turning off Cloudlfare or whatever other similar platform you may be using as well as any caching mechanism you may be (should be!) using... delete the cache on both and refresh the page and the free offers will appear... for a while...
The following is from Cloudflare's support page (URL below)
-- begin cloudflare support --
- METHOD 1 -
Turn off Rocket Loader in your Performance Settings. You can get to your Performance Settings by going to:
Speed > Rocket loader
- METHOD 2 -
You can alternatively get to your performance settings by replacing the domain in the following url:
Note: Developers familiar with placing script tags can have Rocket Loader ignore certain scripts.
- METHOD 3 -
You can have Rocket Loader ignore individual scripts by adding the data-cfasync="false" attribute to the relevant script tag, for example:
Rocket Loader will still work for all other scripts.
1. Adding this attribute within JS will not work to exclude the script from Rocket Loader.
2. The 'data-cfasync' attribute must be added before the 'src' attribute.
3. Rocket loader will recognize the tag when either single or double quotes are placed around the attribute value.
- METHOD 4 -
If Rocket Loader is only impacting a specific URL, then please look at using a PageRule to exclude that URL from optional performance features.
-- end of cloudflare support --
(the URL does end with a dash, weird I know)