Wix Framing...

i have a old site www.oscarsgallery.co.uk which a customer can choose a picture frame to go around the picture they choose i need this facility in my new wix site www.oscarsgallery.com

See the examples:

No Frame chosen,

Frame clicked, applies round the pic


Choose another and it changes.


How can i get his to work in Wix??

The interesting part is the framing radiobuttons. I would setup a collection of frames, holding a description and 5 images; 1 for the radiobuttonlist, 4 for the frames around the painting.
The frames radiobutton list I would put into a Repeater with an extra image mimicking a radiobutton that you toggle on/off by setting another image with the scr prop. Just remember the last one clicked and when clicked another, toggle the first one, than the new one clicked.
On the same onClick event you also set the src props of the 4 images around the frame.
To avoid many round trips to the db and make it snappy, I would try to preload all images into the same, hidden image field on page/db load, so the browser can cache them.

Any way you can replicate and show me on an example?

Hi paulmc,

You’ll need yo create a radio group and an onChange event.
In the event, just show the selected frame and hide other frames.

See this example of hide and show upon clicks, to get some ideas.

Liran.