Hi All,
I am trying to resize a image file while uploading using glowUpload. Kindly help me how to do .. Thanks.
Hi All,
I am trying to resize a image file while uploading using glowUpload. Kindly help me how to do .. Thanks.
Hi Muthu,
What's your use case for resizing at upload time? Community stores the original file and handles resizing when rendering to locations that can have varying render width and height specified. Resized images are stored for future use in one of the Image Resizing File Store locations (secured or public).
Hi Steven,
Thanks for reply.
Our use case is to Upload am image and display the some in the page, for that we using below code
#set($uploadedFileResponse = $core_v2_uploadedFile.Get($contextId, $fileName))
#if ($uploadedFileResponse)
#set ($FileDataBase64 = $uploadedFileResponse.FileDataBase64)
#end
i) If we try to render using context id and file name , most of the time images not rendered, for that we try to render using base 64 data "$uploadedFileResponse.FileDataBase64" , In this method it seems we rendering image with actual file size and page getting slow, To fix that we trying to reduce image size before upload.
Kindly clarify we are in correct flow, please suggest the right approach for the issue we facing ,Thanks.
Check out the Developer Training: Working with User-uploaded Files
Specifically:
When the file upload is complete, it is stored in a temporary location within the centralized file system accessible only the accessing user. The file cannot stay in this location. The filename and upload Context ID can be used with Verint Community APIs accepting files to reference this file and move the file to a permanent location. For a custom implementation, the file must be moved to an appropriate centralized file system file store. See Managing Physical File Storage for more details about creating custom file stores. In this example, the uploaded filename and upload context ID are shown via a javascript alert.
Check out the Developer Training: Working with User-uploaded Files
Specifically:
When the file upload is complete, it is stored in a temporary location within the centralized file system accessible only the accessing user. The file cannot stay in this location. The filename and upload Context ID can be used with Verint Community APIs accepting files to reference this file and move the file to a permanent location. For a custom implementation, the file must be moved to an appropriate centralized file system file store. See Managing Physical File Storage for more details about creating custom file stores. In this example, the uploaded filename and upload context ID are shown via a javascript alert.