Working with the File Manager
There are a few ways you can access the file manager while editing.
You can access the file manager in the following ways:
- When adding a link in the RTE by clicking the Browse Server button. See Managing Links in the RTE for more information.
- When adding an image in the RTE by clicking the Browse Server button. See Images and Media In The RTE for more information.
- By selecting the File browser tab your user page upon successful login. See Figure 1 below for an example.
Once you have the file browser open, the first step in uploading a file is selecting the directory you wish to upload to. This is done by selecting the desired folder to upload to in the Navigation pane (see Figure 2).
Once you've chosen the directory you want the file in click on the Upload button on the top bar of the file browser, click on Choose File and choose the file from your system, and finally click on the Upload button in the pop-up dialog (see Figure 3).
First, locate the file you wish to delete and select it so that it is highlighted in the file browser. Click the Delete icon. Your browser will prompt you to confirm the deletion. If you click OK your file will be deleted. See Figure 4.
Remember, deleting files is permanent.
Note: Deleting a file will not remove any links pointing to the file. Links to a file should be removed prior to deleting the file unless you are simply replacing the file.
- Identify the file you wish to replace; Take note of the exact file name and folder location.
- Rename your new file to the exact filename as found in step 1.
- Delete the existing file from the file manager.
- Upload the new file with the same name as in step 1.
- Select the directory in which you wish to create the new directory the same way you choose the location to upload a file (see Figure 2).
- Next, open the directory dialog by clicking on the Directory button. See Figure 5 for the location of this button.
- Enter the name of the directory you wish to create. See Figure 6 for an example of this and the following step.
- Press the Add button.
To remove a subdirectory follow these steps:
- Locate the directory containing the directory you want to remove in the Navigation pane. See Figure 2.
- Click on the Directory button. See Figure 5.
- Choose the sub-directory you want to delete from the dropdown menu (or type in the directory name). See Figure 7.
- Click the Remove button. See Figure 8.
- The browser will prompt you to confirm deletion of the directory. Clicking OK will remove the subdirectory and all files in it.
Reminder: All deletion in Drupal is permanent. Be careful when deleting directories, as all files and directories within the deleted directory will be lost.
- Select the image you wish to resize.
- Click the Resize button. See Figure 9.
- Enter a new desired height or width. Clicking into the remaining empty field will automatically calculate the remaining dimension. See Figure 10.
- If you want to overwrite the existing image, uncheck the "Create a new image" checkbox. Otherwise, leave this checked to create a new image file.
- For example, if you have a file called my_file.png and have the box checked, when you finalize the resize a new file called my_file_0.png will appear in the directory. This is useful if you want a smaller version of the same image to use as a thumbnail to link to the larger image. This was the method used for many of the images in this guide.
- Click the Resize button in the pop-up dialog. See Figure 11 for the location of this button.
- Never increase the size of an image.
- Try to upload correctly sized images and not rely on the image resizing.
- Image editing software may produce a better result for rescaling images. If you have access to more powerful image software and are familiar with the capabilities use it for resizing.