Title: Image button
Last modified: December 2, 2016

---

# Image button

 *  [fskogsrud](https://wordpress.org/support/users/fskogsrud/)
 * (@fskogsrud)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/image-button-2/)
 * Hey! I wonder if someone has any clue on how to add an image to use as the working
   button for hiding/revealing content?
 * Thanks in advance!
    Best, Fredrik

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

 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/image-button-2/#post-8530729)
 * Hi [@fskogsrud](https://wordpress.org/support/users/fskogsrud/),
 * *raises hand in the air* I know! I know!
 * You need to specify a parameter of `folder=` and then, either a URL of where 
   you have the icons, or a folder name under `wp-content/uploads/content-reveal/`.
   The icons must be named image1 and image2 and can be either .gif or .png images(
   and to specify which you use the `ext=` parameter).
 * So, as an example, you might specify…
 * `[reveal heading="<h2>%image% Some Blah Content Below</h2>" id="id1" folder="
   newicons" ext="png"]Blah, blah, blah content here[/reveal]`
 *  Thread Starter [fskogsrud](https://wordpress.org/support/users/fskogsrud/)
 * (@fskogsrud)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/image-button-2/#post-8560385)
 * Thank you so much for replying, dartiss!
 * However, I could not get this to work. I did exactly as you wrote, and ended 
   up with this code:
 * [reveal heading=”<h2>%image% Some Blah Content Below</h2>” id=”id1″ folder=”icons”
   ext=”png”]Blah, blah, blah content here[/reveal]
 * – I created a folder inside uploads/content-reveal named icons.
    – I renamed 
   desired image to “image1.png”
 * This is how it turned out:
    A) [http://imgur.com/CBtXg7m](http://imgur.com/CBtXg7m)
   B) [http://imgur.com/oRw9NCj](http://imgur.com/oRw9NCj)
 * This is really tricky. So thanks a ton for helping me out!
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/image-button-2/#post-8561270)
 * That’s odd. It would be nice to see the code behind this. Would you be able to
   set this up on a test page and let me know the URL so that I can take a look?
 *  Thread Starter [fskogsrud](https://wordpress.org/support/users/fskogsrud/)
 * (@fskogsrud)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/image-button-2/#post-8575340)
 * Sorry for the late reply, has been a lot to do lately. I put it on a test-page
   for you to see here:
 * [http://www.thelostcause.co/test/](http://www.thelostcause.co/test/)
 * Thank you so much!
    Fredrik
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/image-button-2/#post-8799681)
 * Apologies for the delay in replying – I’ve moved jobs and, well, my plugin work
   has had to take a back-seat for a time. I’m trying to get on top of it again,
   though.
 * Right, I can see the page source is attempted to display the image at the following
   location…
 * [http://www.thelostcause.co/wp-content/uploads/content-reveal/icons/image1.png](http://www.thelostcause.co/wp-content/uploads/content-reveal/icons/image1.png)
 * But if you put that into a browser it shows a ‘page not found’. Either the image
   isn’t there or you have some kind of security in place that prevents it from 
   being viewed. You’ll need to take a look at that further to try and get to the
   bottom of this.

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

The topic ‘Image button’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-content-reveal_ddcec4.svg)
 * [Content Reveal](https://wordpress.org/plugins/simple-content-reveal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-content-reveal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-content-reveal/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-content-reveal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-content-reveal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-content-reveal/reviews/)

## Tags

 * [image button](https://wordpress.org/support/topic-tag/image-button/)

 * 5 replies
 * 2 participants
 * Last reply from: [David Artiss](https://wordpress.org/support/users/dartiss/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/image-button-2/#post-8799681)
 * Status: not resolved