When you're adding an image, it's essential to provide a file name and Alt text. We've made it a requirement to ensure accessibility and proper labeling. If you try to leave the Alt text box empty or only add spaces, the "Add image" button will be disabled.You have to either include some text in the Alt text box or select "Decorative Image" to add an image as shown. | |
The Loree editor now includes an intuitive image cropping feature, allowing users to crop images into two shapes: a circle or a square. This feature makes it simple to customise images while designing pages. Here’s how it works:
| |
Images can now be cropped with precision, allowing you to select and adjust the crop area exactly as desired. Cropped
images will maintain their shape and alignment across different devices
and screen sizes, ensuring a polished and professional appearance, as
shown. | |
Banner ImageA
Banner Image is a prominent visual element displayed at the top of a
page or section. It enhances the design, provides context, and can be
customized by selecting an image from the library or uploading a new
one. Image Cropping for Banner: The image on the left shows the minimum cropping size of 50*50 for any image. The
image crop option is not available for banner images. Instead, when a
banner image that is selected is bigger in size, Icons cannot be used as a Banner Image. | |
Once the user selects their desired top, center, or bottom part of the
banner, clicking on Apply will add the banner in the editor and provide a
variety of editing options on the side as well; refer to the image: Note: The
Crop Image option will only be available for images that are available
for upload or in the course images. Some of the external images can’t be
uploaded, therefore restricting this Crop Image option for users. | |
The
"Click to upload a new course image" option allows users to upload
images in supported formats such as JPG, JPEG, PNG, GIF, and SVG. If the
image size exceeds 500KB, the upload time may vary based on the user's
internet bandwidth. This feature provides an easy way to add custom
images to the course. |
The External Link option allows users to add an image to the course by providing a direct URL instead of uploading a file. This feature is useful when using web-hosted images, reducing storage usage and ensuring easy updates. |
When we save a page to LMS, it will compare the image file with the name and extension first.
If the name and extension are different in S3 and course files, then the file will be uploaded to the LMS course files.
If the file name and extension are the same in S3 and course files, then the file will be hashed to compare the images.
If the images are different after hashing, then the image file will be uploaded.
If the images are the same after hashing, then the image file will be restricted to upload.
The S3 images on the page while we save to LMS will only be compared with the above steps, and no images will be saved again in the LMS.
Note: While
checking the image name for duplication, the spaces are filled with
%20, and we will remove %20 while comparing the file name while
duplication; therefore, if the file name itself has %20, that will be
removed while comparing, and in that case, the file with %20 and without
%20 might get duplicated since we will remove %20 while comparing.