Skip to content

Doc.Add Author Category Topic Feature Image

linzongshu edited this page Sep 2, 2013 · 1 revision

Introduction

IN author, category, topic and draft section, we allow user to add a image as the photo or feature image of these items. It only allowed to upload one image, the image can upload by user or select from media library, in this documentation, I will introduce you how to add an image.

Add Image

  • Add image from upload

LOG into the add/edit page of these section, and then click the upload button, a window will pop up, the upload tab are showed as follows:

upload image

THE uploaded image will have a size defined by module configuration. The default size of media image is 540px * 460px, if the width of uploaded image exceeds 540px, it will generate a same image but with width set to 540px. Or else, the image will have the original size.

DETAIL of the image will be stored into session, and it will insert into database when click yes button. Certainly, a new image with the size defined by author/category/topic/feature section will be generated and the image will be stored into the directory of these section.

IF you want to remove the image, just click the remove button, and the image will not be stored into media library.

  • Add image from media library

CLICK the Choose from media tab, it allows you to insert image from media library, first thing you should do is search image by title, if you do not enter title, it will return 10 images recently uploaded.

choose image

AFTER get the image list, click the insert button to choose an image, and the image details will display above the list, you can click yes button to add these image into the section.