Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Set 1 image in 2 Image fields

Avatar

Level 3

Sir,

I have 2 Image Fields,  now i want that whatever i upload in Image Field1  the same image should be uploaded in Image field 2  automatically.

 

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Administrator

@rakeshk21205956  gave the answer.

//Okay found the answer... just set the rawValue of both to be equal i.e this.rawValue = Image1.rawValue;



Kautuk Sahni

View solution in original post

3 Replies

Avatar

Level 3
Okay found the answer... just set the rawValue of both to be equal i.e this.rawValue = Image1.rawValue;

Avatar

Community Advisor

Try using JavaScript to render the images on both image fields after an upload is being made.

Avatar

Correct answer by
Administrator

@rakeshk21205956  gave the answer.

//Okay found the answer... just set the rawValue of both to be equal i.e this.rawValue = Image1.rawValue;



Kautuk Sahni