Explore » Domestic Musings » | Food & Cooking » | Shopping » | Health & Fitness » | Beauty »

How to Change Default Full Size Image for Wordpress


Just thought I’d share something I just figured out:

I am now posting images that are 700 px wide. Sometimes, bigger is better.

However, even if I specify the image to be inserted at full size, Wordpress still shrinks it to 500 px wide.

I was able to fix that by editing wp-includes/media.php on line 34.  Just look for where it says 500 and change to whatever you want.

It also seems that it’s coded to first check to see what your content_width setting is, but I don’t know where that is set and right now I’m too tired and lazy to look for it.  Specifying your content_width, however, would be the best thing to do so that your images will adjust to fit whatever theme you’re using (I’m assuming that variable is set somewhere in a theme’s files).  I will add this to my mental to-do list for later.



Share/Bookmark: Share this on del.icio.us Digg this! Email this Share this on Facebook Share this on LinkedIn Send this page to Print Friendly Share this on Reddit Share it on StumbleUpon Tweet This!


OTHER RESOURCES:

tongue.jpg


Previous: Pictures of my Extracted Wisdom Tooth

Next: Tweets for 2009-02-24

Tags: ,

Posted Tuesday, February 24, 2009 under: Coding. Get comments feed. Add a comment or trackback.














Effective April 2011: Rude comments, affiliate links and spam comments will be deleted. This includes all you SEO "gurus" who leave vague, generic comments to try and get a backlink. I can spot you from a mile away so don't even bother. If you would like to legitimately advertise on this site, please contact me.
  • KateR
    Thank you... skinning a Wordpress site for a client and you completely answered my question!
blog comments powered by Disqus