Status
Not open for further replies.

gopinath112

Active Member
471
2010
26
0
image_out_of_post.jpg


You can see the image is out of post,so is there any plugin that decrease the size of image and by clicking the image it should get its original size.

Thank you.
 
6 comments
Code:
http://wordpress.org/plugins/resize-images-while-uploading/

EDIT: It just resizes the images, you won't be able to view the full image on click but there is an old plugin which I'm not sure if it still works
Code:
http://wordpress.org/plugins/ncode-image-resizer/
 
Last edited:
Wordpress creates multiple images with different sizes when you upload an image.
You can set the width and height for those in " settings -> media".
When you upload an image to your post select the size you want and link it to the media file.
6DPyINp.png
 
Then put your images in a div give that div an id or class and in your css file add this
for id:
Code:
#div-id img{width: 200px}
for class:
Code:
.div-class img{width: 200px}
replace 200 with the width you desire.
 
^While that would work for images bigger than 200px (or any size), images smaller than that will be stretched, which doesn't look good.

Simply add max-width: 100%; to the image style.
 
Status
Not open for further replies.
Back
Top