Mindbat

Tech, Text, and Tact

Main menu

Skip to primary content
Skip to secondary content
  • Home

Tag Archives: drupal imagefield

How To: Change Imagefield Thumbnail Size in Drupal

Posted on 9 February 2010 by scribbler
Reply

In Drupal, the Imagefield fieldtype comes with a built-in thumbnail generator. If you’d like to control the size of the thumbnail, just set the value of the imagefield_thumb_size variable, like so:

variable_set('imagefield_thumb_size', '200x200');

That’ll set the imagefield thumbnail size to 200 x 200 pixels.

Posted in How-To | Tagged drupal imagefield | Leave a reply

Friends

  • Activism for Epics
  • Creating Living Online Worlds
  • Finding Fiero in Game Design
  • Laura’s Life Adventures
  • Saint Nickanuck of the Tundra
  • Trackball of Truth

Recent Comments

  • Alexis Santos on How To: Sync Last Read Page Between Nook for Android and iPad
  • Laura on How To: Sync Last Read Page Between Nook for Android and iPad
  • eric on How To: Sync Last Read Page Between Nook for Android and iPad
  • Ahmed on Five Reasons to Learn a New Programming Language
  • scribbler on How To: Install Sun Java in Ubuntu from Command-Line

Archives

  • February 2012
  • January 2012
  • December 2010
  • October 2010
  • August 2010
  • April 2010
  • February 2010
  • December 2009
  • November 2009
  • August 2009
  • April 2009
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • June 2007
Proudly powered by WordPress