How do I find the attribute image in vc_single_image

Foppy picture Foppy · Jun 27, 2017 · Viewed 8k times · Source

Suppose I have a footer that is writen in shortcode with visual compose and I wanna put an image:

[vc_single_image image="8469" img_size="full" alignment="center"]

where do I find the image value 8469?

Answer

shivaramanaiyer picture shivaramanaiyer · Jun 27, 2017

You can go to your WP admin and go to Media.

Click the image you want to use. It should open up in a Modal with the image on one side and details on the other. when this happens the url of the page changes to something like:

/wp-admin/upload.php?item=180

Or if it opens up in its own page then you will see link like: /wp-admin/post.php?post=180&action=edit.

Where 180 is the image's id stored in the database. Which is exactly what you need to replace in your shortcode's image attribute