Images

Valid for versions 86 through the latest version

Version:

86

Last modified: May 28, 2024


Looking for this interface?
Note:

Your hosting provider can enable or disable this interface in WHM's Feature Manager interface (WHM >> Home >> Packages >> Feature Manager).

Overview

The Images interface allows you to modify and manage images that you saved to your account. This feature includes the following tools:

  • Thumbnailer — Use this tool to create thumbnails from images in a directory and store them in a thumbnails subdirectory.

  • Scaler — Use this tool to resize individual images.

  • Converter — Use this tool to convert one image file type to another file type and change the file type of all images in a directory. For example, you can change .jpg files to .png files.

Important:

To modify an image in the Images interface, you must first upload it through one of cPanel’s file management interfaces:

  • The File Manager interface (cPanel » Home » Files » File Manager).
  • The Web Disk interface (cPanel » Home » Files » Web Disk).
  • The FTP Accounts interface (cPanel » Home » Files » FTP Accounts).
  • The Git™ Version Control interface (cPanel » Home » Files » Git™ Version Control).

Thumbnailer

Click Thumbnailer to create smaller versions of images (thumbnails).

  • For example, create thumbnails to conserve bandwidth on a photo page, where visitors can view smaller previews of your images before you access the larger ones.
  • The Thumbnailer tool creates a new thumbnails subdirectory within the selected folder.
  • The system adds the tn_ prefix to thumbnail images’ filenames. For example, the system creates the tn_image.png thumbnail image for the image.png file.

To convert a directory of images to thumbnails, perform the following steps:

  1. Locate the folder that contains the images that you wish to convert.

    Note:
    You must select an entire folder to convert to a thumbnail. The Thumbnailer tool cannot convert individual images.

    • Click the folder icon (ImagesFolder) or the folder’s name to navigate the file system.

    • Click Thumbnail to select the folder.

  2. In the Scale Percent text boxes, enter the percentage by which you wish to shrink your images.

  3. Select the Keep Aspect Ratio checkbox to ensure that the image’s dimensions remain proportional, to prevent distortion of the image.

    • Click Reset Dimensions to reset the Scale Percent values to their defaults.
  4. Click Thumbnail Images.

    • After the Thumbnailer converts your images into thumbnails, the following message will appear:

      The system successfully converted your images into thumbnail images and stored them in the following location: /home/user/.cpanel/thumbnails/tn_*

    • Click the thumbnail path to open the directory in cPanel’s File Manager interface (cPanel » Home » Files » File Manager).

Scaler

Click Scaler to enlarge or shrink an image.

To resize an image, perform the following steps:

  1. Navigate to the folder that contains the image to resize.

  2. Locate the image that you wish to resize and click Scale.

  3. To set the new image size, perform either of the following two steps:

    • Use the New Dimensions text boxes to define, in pixels, the desired image size.

    • Use the Percent text boxes to define the percentage by which you wish to resize your images.

  4. Select the Keep the current aspect ratio checkbox to ensure that the image’s dimensions remain proportional, to prevent distortion of the image.

    • Click Reset Dimensions to reset the Percent values to the default.
  5. Select the Retain a copy of the old image as checkbox to store a copy of the original image. Specify the file path to save the copy to in the text box.

  6. Click Scale Image. A success message will appear.

Converter

Click Converter to convert any of the supported file types from one type to another.

To change an image’s file type, perform the following steps:

  1. Select the folder or file that you wish to convert.

    • Click the folder icon (ImagesFolder) or the folder’s name to navigate the file system.

    • Click Convert to select the folder or file.

  2. From the menu, select the file format to which to convert your image or images. You may select any of the following file formats:

    • .PNG

    • .JPG

    • .GIF

    • .BMP

  3. Click Convert. A success message will appear. The system saves the new file in the same directory as the original file.

Additional Documentation