We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4547bae commit a27190dCopy full SHA for a27190d
1 file changed
src/processors/obfProcessor.ts
@@ -232,10 +232,14 @@ class ObfProcessor extends BaseProcessor {
232
}
233
234
// Build parameters object for Grid3 export compatibility
235
- const buttonParameters: { imageData?: Buffer; [key: string]: any } = {};
+ const buttonParameters: { imageData?: Buffer; image_id?: string; [key: string]: any } = {};
236
if (imageBuffer) {
237
buttonParameters.imageData = imageBuffer;
238
239
+ // Store image_id for web viewers to fetch images via API
240
+ if (btn.image_id) {
241
+ buttonParameters.image_id = btn.image_id;
242
+ }
243
244
return new AACButton({
245
// Make button ID unique by combining page ID and button ID
0 commit comments