sandig199 Posted September 10, 2018 Share Posted September 10, 2018 In the attached collected files, I can pull images from external file path within the graphic frame. How do I pull images from external file path as an inline graphic? Ultimately I want to pull in the images from external file path into my table.price-list_imagetest.zip Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted September 11, 2018 Share Posted September 11, 2018 I think your code is probably correct. But the files you posted don't include the same XDF file "RETAIL Price Lists - 2018-08-21.txt" that your OnJobStart rule tries to load. You do include a file named "Test File Hekman Casegoods - RETAIL Price List - 2018-08-21.txt", but nothing in there matches the "Collection1" field values from the main data file. And even if it did, you didn't include any of the actual graphics that would be referenced in the XDF. So, even if I use the XDF you actually included, I don't get anything in the graphic frame. So, please post the entire set of files necessary for someone else to be able to reproduce seeing a graphic in the graphic frame. Until you do that, it's impossible for anyone to help figure out how to do that as an inline graphic. Quote Link to comment Share on other sites More sharing options...
sandig199 Posted October 29, 2018 Author Share Posted October 29, 2018 My apologies for not getting back to you sooner. I attached collected files, simpllified to have only images. I do not know how to get the inline image from external path. I need to pull from external paths, versus "Resources" as there are thousands of images. I notice when I compose this file, I get error: Unknown attribute <//res.cloudinary.com/hmcgallery/image/upload/t_image2000/697036.jpgheight> of tag <graphic> ignored. Graphic is not found or is not processed properly: http:. Where perhaps indicates an issue with special characters in the image path. Can you please help me with how to properly write the rule to pull inline image from external path. Your expert help is much appreciated. I would be very lost without this wonderful forum.price-list_imagetest2.zip Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted October 31, 2018 Share Posted October 31, 2018 Add some double-quotes around the file attribute value of the <graphic> tag, like so: return '<graphic file="' + imagePath + '" height="5000">'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.