On Thu, 12 Feb 2015 13:36:58 +0000 Mark Wardle <[email protected]> wrote:
> I struggled to use dynamically generated images in ERPDFGeneration > and couldn’t get it to work - generally getting incorrect URLs in the > generated HTML files generated from a WOComponent template. What kind of URLs were you trying to use? Were you trying to use relative URLs to get a component-generated image in the app? I would have tried a direct action and non-relative URLs. Did you try that and did it not work? > > As a fix, I added support for ERPDFGeneration to handle html IMG tags > with base64 encoded data in the SRC attribute. > It sounds as though you believe you have settled for this solution, but this seems to be the best way to do this. Putting data into a img tag in this manner has been a great solution for me several times. Would the dynamic images you are generating be re-used or are they actually dynamic every time? Or are you tiling them together from something that has stored? It is not ERPDFGeneration-specific but it is possible that Wonder's support for dynamically generated graphics could be better. Or, as is more likely, there is probably more than one way to do this in Wonder and it is probably not clear which is better. What did you use for generating your images? cheers - ray _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
