Skip to content
WJunction - Webmaster Forum

Plugin Help

Status
Not open for further replies.

gopinath112

Established Member
471
2010
26
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.

About the author

G
Established Member · Joined
471
Messages
26
Reactions
28
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom