Bộ quản lý phương tiện
Trang này làm gì
Giám đốc truyền thông là trung tâm quản lý tất cả hình ảnh và biểu tượng xuất hiện trên trang web của bạn. Dùng nó để tải lên logo, băng cờ, ảnh nền và các đồ họa khác, rồi gán chúng vào những vai trò cụ thể như logo nơi Mạng, favicon, hay mẫu ảnh mặc định. Bạn cũng có thể chọn biểu tượng từ một thư viện biểu tượng có sẵn để sử dụng trong suốt quá trình định vị của trang web.
Dịch bởi Vũ Hạnh, Mai Linh, Nga, Huy Tô, Yuki, Ann, Phương
Cách đến đây
Chuyển tới Quản trị > Biểu mẫu > Bộ quản lý phương tiện
Bạn cũng có thể tới trang này từ thanh điều hướng ở đầu trang bất kỳ mẫu nào bằng cách nhấn vào Vật chứa.
Hiểu trang đó
Người quản lý phương tiện được tổ chức thành ba thẻ dọc theo đầu trang:
Thẻ tập tin
Đây là nơi bạn tải lên, duyệt qua và quản lý tập tin ảnh. Ở trên cùng, bạn thấy năm lá thư -- Ảnh. Biểu tượng. Biểu tượng. Biểu ngữ, và Nền -- mỗi lần chỉ ra có bao nhiêu tập tin trong đó. Nhấn vào một thẻ thư mục để xem các tập tin bên trong nó.
Bên dưới thẻ thư mục, bạn có hộp tìm kiếm để lọc tập tin theo tên, xem nút bật lên để chuyển đổi giữa bố trí lưới và bố trí danh sách, và khu vực tải lên nơi bạn có thể kéo và thả tập tin hoặc nhấn vào để duyệt máy tính.
Tập tin của anh xuất hiện như những lá bài trong mạng lưới. Mỗi thẻ hiển thị ô xem thử mẫu ảnh, tên tập tin, cỡ tập tin và kiểu tập tin cùng với nút hành động.
Thẻ ủy nhiệm
Thẻ này cho bạn khả năng kết nối ảnh đã tải lên (hay biểu tượng) thành vai trò cụ thể trên trang Mạng. Vai trò được sắp xếp thành các loại như Đóng dấu. Trang chủ. Mặc định. Trang, và Biểu tượng.. mỗi vai trò có một thẻ chỉ ra những gì đang được chỉ định, cùng với các nút để thay đổi nhiệm vụ.
Phông chữ
Thẻ này cho bạn truy cập vào một thư viện lớn có biểu tượng sẵn sàng. Bạn có thể tìm kiếm các biểu tượng bằng tên, lọc theo kiểu dáng, và chọn màu riêng. Những biểu tượng này có thể được chỉ định cho các phần định hướng và các phần khác của trang web của bạn.
Tác vụ chung
Cách tải ảnh lên
- Click the Files tab.
- Select the folder where you want to store the file (for example, click Logos for logo images).
- Drag and drop your image files onto the upload area, or click Browse Files to choose files from your computer.
- Wait for the confirmation message to appear.
- Your new files appear in the grid right away.
How to View File Details
- Click on any file card in the grid.
- A detail window opens showing a larger preview, the file size, type, last modified date, and the file path.
- Close the detail window by clicking the X button, pressing the Escape key, or clicking outside the window.
How to Rename a File
- Find the file in the grid.
- Click the pencil button on the file card.
- Type the new filename in the box that appears.
- Click OK to confirm.
site-logo-dark.png is better than IMG1234.png. Any special characters are automatically converted to underscores.How to Delete a File
- Find the file in the grid.
- Click the trash button on the file card.
- Confirm the deletion when prompted.
How to Copy a File's Path
Sometimes you need a file's path to use in other parts of the admin panel.
- Find the file in the grid.
- Click the link button on the file card, or click the card to open the detail window and then click Copy URL.
- The path is copied to your clipboard and ready to paste wherever you need it.
How to Set Your Site Logo
- Click the Assignments tab.
- Use the category filter and select Branding.
- Find the Site Logo card.
- Click the Image button on that card.
- The page switches to the Files tab with a message telling you to pick an image.
- Click on the logo image you want to use.
- Your logo is now assigned and will appear across your site.
How to Set Your Favicon
A favicon is the small icon that appears in browser tabs next to your site name.
- Click the Assignments tab.
- Filter by Branding.
- Find the Favicon card.
- Click the Image button.
- Select a small, square image (ideally 32x32 pixels) from the Files tab.
How to Set Default Thumbnails
Default thumbnails appear when a video, gallery, or model does not have its own image.
- Click the Assignments tab.
- Filter by Defaults.
- Find the role you want to set (for example, Default Video Thumbnail or Default User Avatar).
- Click the Image button and select an image from your files.
How to Assign an Icon to a Navigation Section
- Click the Assignments tab.
- Filter by Icons.
- Find the section you want to set an icon for (for example, Videos Icon or Favorites Icon).
- Click the Icon button on the card.
- The page switches to the Font Awesome Icons tab.
- Optionally, adjust the icon color using the color picker at the top.
- Search for an icon by typing a keyword (like "play," "heart," or "camera") or browse the grid.
- Click the icon you want.
- The icon is assigned and the page returns to the Assignments tab.
How to Change an Icon's Color
- On the Assignments tab, find an assignment that has an icon.
- Click the colored circle (color swatch) on the card.
- Pick a new color from the color picker.
- The color updates immediately.
How to Remove an Assignment
- On the Assignments tab, find the assignment you want to clear.
- Click the X (Clear) button on the card.
- Confirm when prompted.
Filters and Search
Searching Files
Type a keyword into the Search box on the Files tab and the grid updates to show only files whose names match.
Filtering Assignments
On the Assignments tab, use the category buttons to narrow down what you see:
Searching Icons
On the Font Awesome Icons tab, type a keyword into the search box to find icons by name (for example, "home," "user," "arrow," or "camera"). You can also filter by icon style:
Settings and Options
Icon Color Picker
When working with icons on the Font Awesome Icons tab, you can set a custom color:
View Modes
The Files tab offers two ways to view your images:
- Grid View -- Shows files as visual cards with thumbnail previews. Best for browsing and finding images quickly.
- List View -- Shows files in a single column with more detail per row. Best when you need to see filenames and sizes clearly.
Click the view toggle buttons in the toolbar to switch between them.
Organizing Your Files
The Media Manager provides five folders to keep your files organized:
Tips for New Users
- Use descriptive filenames. Names like
hero-background-summer.jpgare much easier to find later thanIMG4523.jpg. - Set all your default images. This prevents blank placeholders from showing up on your site while you are still adding content.
- Use assignments instead of copying file paths. Assignments make it easy to swap images site-wide by changing one setting, rather than editing multiple pages.
Troubleshooting
An uploaded file does not appear in the grid
What you see: You uploaded a file but it does not show up in the file list.
How to fix it:
- Make sure the file is in an accepted format (JPG, JPEG, PNG, GIF, WEBP, SVG, or ICO).
- Make sure the file is smaller than 10MB.
- Try refreshing the page in your browser.
- Clear your browser cache and try again.
- If the problem continues, contact your hosting provider or site administrator to check server settings.
Icons are not loading in the Font Awesome tab
What you see: The icon grid shows "Loading..." and does not finish, or no icons appear.
How to fix it:
- Check your internet connection. The icon library is loaded from the internet.
- Wait a moment. If the main icon library cannot be reached, a smaller set of common icons loads automatically as a backup.
- Try refreshing the page.
Assignment did not save
What you see: You clicked to assign an image or icon, but the assignment card still shows "Not assigned."
How to fix it:
- Refresh the page and try again.
- If you see an "Invalid security token" message, refresh the page first, then try the assignment again.
- If the problem continues, contact your site administrator.
Image preview shows a broken image icon
What you see: Instead of a thumbnail, you see a broken image placeholder.
How to fix it:
- The file may have been deleted or moved outside of the Media Manager. Check whether the file still exists in the grid.
- Try refreshing the page.
- Clear your browser cache.
"File too large" error when uploading
What you see: An error message saying the file is too large.
How to fix it:
- Compress or resize your image before uploading. The maximum file size is 10MB.
- Use an image compression tool (such as TinyPNG or Squoosh) to reduce the file size.