// Get the data items = attributes.elementInfo.elementData.propertyValues; // Pass in the RH metadata struct rhData = application.ptPhotoGallery.renderService.processRHMetadata(attributes.elementInfo.RenderHandlerMetaData); Select the Photo Sizes to render in the metadata form.