My Oracle Support Banner

E-FTP: CropImage() Function Is Not Triggering the Crop Functionality in Chrome and Edge Browsers When Both InsertImage() and CropImage() Functions Are Used in the Same Button. (Doc ID 3001793.1)

Last updated on FEBRUARY 01, 2024

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.60 and later
Information in this document applies to any platform.

Symptoms

Crop functionality is not working in Chrome and Edge browsers when both InsertImage() and CropImage() Functions Are Used in the Same Button

This issue can be replicated with the following steps.

Below steps are from Campus Solutions Application

1. Navigate to Main Menu > Campus Community > Personal Information > Identification > Photo

Note: The above navigation by default is used to upload a photo or image. To replicate the issue, below piece of code should be added behind that photo upload button through Application Designer so that it triggers the crop functionality at the time of photo/image upload.

&CropImg = CropImage(SCC_PER_PHOTO_H.EMPLOYEE_PHOTO, SCC_PER_PHOTO_H.EMPLOYEE_PHOTO, 35, 45);

2. To add the code through Application Designer, follow the below steps.

    i. Launch Application Designer

    ii. Open the Record DERIVED_CC and add the code to the ADD_PHOTO_BTN FieldChange

3. Now, in Chrome or Edge browser, navigate to  Main Menu > Campus Community > Personal Information > Identification > Photo

4. Upload a Photo/Image.

Result: Photo/image gets uploaded successfully but the crop functionality doesn't get triggered in Chrome/Edge browser. This works fine in Firefox browser.

 

Changes

 Upgrade to 8.60 tools.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.