Create thumbnails from images in a directory using cPanel

269ac00f765508cb74b25d006dbf5bb2

Written by Dennis Nind

Last published at: February 8th, 2019

(cPanel >> Home >> Files >> Images)

Thumbnailer Converter

Click Thumbnail Converter 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 Thumbnail Converter 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. Select the directory that contains the images that you wish to convert.

    Note:

     You must select an entire folder to convert to a thumbnail. The Thumbnail Converter tool cannot convert individual images.
    • Click the folder icon (folder_icon) to navigate the file system.
    • Click on a folder name to select it.
  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 the distortion of the image.
    • Click Reset Dimensions to reset the Scale Percent values to the default.
  4. Click Thumbnail Images.
    • After the Thumbnail Converter converts your images into thumbnails, you will see the following message:
      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).