Windows 7: Adding a context menu item for image resizing

  1. Install imagemagick
  2. Create a destination directory for the images
  3. Create a batch file (eg, C:\webimage.bat) with this line in it: convert %~nx1 -resize 900x700 C:\web\%~nx1
  4. Download and install ContextEdit: and run setup.exe
  5. Use the ContextEdit program (run as Administrator) to create a new shell command for desired image types (eg, JPEG. The command line is the full path and filename of your batch file, followed by %1 (eg, C:\webimage.bat "%1"). Don't check 'Expand Environment Variables' or 'Use DDE'.
  6. Browse your computer for an image. Right-click on it, and select your new command.
  • Edit Context Menu Items In Windows 7 & Vista
  • Getting just the filename in a batch file
  • Use batch parameter expansion to avoid parsing file or directory info


It's quiet in here...Add your comment