Title: Insert After Image
Last modified: August 31, 2016

---

# Insert After Image

 *  Resolved [spabav](https://wordpress.org/support/users/spabav/)
 * (@spabav)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/insert-after-image/)
 * Hello,
 * I am switching from Quick Adsense to Ad-inserter, but run into a problem when
   i try to insert my ad below an image.
 * I used the setup ( after paragraph ) and put in “count only paragraphs that contain…
   [http://images.ourwebsite.com/wp-content/uploads](http://images.ourwebsite.com/wp-content/uploads)).
   
   The entire setup would work fine, except that in our posts we do NOT have a ”
   </p> ” after the image. Instead our content text follows directly the image syntax.
 * Example of our code with image, directly followed by article content:
 * …
    … <p><img src=”[http://images.ourwebsite.com/wp-content/uploads/image-name.jpg&#8221](http://images.ourwebsite.com/wp-content/uploads/image-name.jpg&#8221);
   height=”630″ width=”1200″>This is the first sentence of our content text. And
   goes on with more sentences until here.</p><p>Here starts the text of the second
   paragraph of our blog post … …
 * As you see there is no </p> right after the image, instead the image has been
   dropped right before the text.
 * In the old Quick Adsense plugin was an option to insert “after image” and it 
   detected and inserted the ad perfectly straight after the image and before the
   first text.
 * With Ad-Inserter and the above mentioned “count only paragraphs that contain…”
   setup, it inserts the ad below the first text paragraph and not directly after
   the image.
 * Is there any way to get Ad-Inserter insert the ad right after the image?
 * Would be awesome if anybody could help.
 * Thanks in advance.
 * [https://wordpress.org/plugins/ad-inserter/](https://wordpress.org/plugins/ad-inserter/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/insert-after-image/#post-7072340)
 * This will be supported in one of the next versions of the plugin.
 *  Thread Starter [spabav](https://wordpress.org/support/users/spabav/)
 * (@spabav)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/insert-after-image/#post-7072374)
 * That’s awesome spacetime.
 * Is there any workaround for this for now? or what do you estimate this might 
   be integrated in the plugin?
 * Thanks.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/insert-after-image/#post-7072375)
 * No easy woraround.
 * Hard to estimate, hopefully in teh next month.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Insert After Image’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/insert-after-image/#post-7072375)
 * Status: resolved