Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

How do I resize WP images?

Jan 18, 2013 by SunFun
Hi there,
I am displaying images in my WP sites in loops, I have the line below to set up the images size :
echo( "<img src=\"$logo\"[0] width=\"250\" height=\"120\" />" );
however the size of the images keep changing throughout the output.
How do I make it fixed? Please help
Thanks

2 Answers

0 votes
Jan 18, 2013 by WebGuru
Insert theright dimensions and then check "Crop thumbnail to the  exact dimensions. Go to  Appearance > Media and run the following http://wordpress.org/extend/plugins/regenerate-thumbnails/
0 votes
Jan 18, 2013 by TopNet
First add the image sizes in your WordPress.
Add add_image_size calls in the functions.php file http://codex.wordpress.org/Function_Reference/add_image_size
Then  regenerate the thumbnails for your site so that all your images get resized:
http://wordpress.org/extend/plugins/regenerate-thumbnails/