Tagged: x
-
AuthorPosts
-
September 14, 2016 at 8:45 pm #1175859
skirttheceilingParticipantHi,
A week ago i asked about how to specify the size of an image in my blog post
I was pointed to this ansewr:
You could specify the image dimensions by simple adding the width=”$” height=”$” properties to yourtags.
However, I don’t know where my
tags are. Can someone help me?
September 15, 2016 at 1:22 am #1176126
Paul RModeratorHi,
The tag is the image html code itself.
eg.
<img src="smiley.gif" alt="Smiley face" height="42" width="42">If you are using an image shortcode or cornerstone, you can add it in the style field.
eg.
[image style="height:42px;width:42px;" type="thumbnail" src="http://yourdomain.com/image.jpg" alt="Text"]http://screencast.com/t/USiM5hYkK
Hope that helps
September 18, 2016 at 8:59 am #1180158
skirttheceilingParticipantok got it, how do i specify if I want it to be centered?
Is there a place where I can see what things I can specify in the image tag?
September 18, 2016 at 9:22 am #1180175
ChristianModeratorTo center the image, please add
margin:0 auto;display:blockto the style attribute like[image style="height:42px;width:42px;margin:0 auto;display:block;" type="thumbnail" src="http://yourdomain.com/image.jpg" alt="Text"]For more image options, please see http://demo.theme.co/integrity-1/shortcodes/images/
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1175859 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
