Hi, I'm trying to use the changepic feature to replace pictures in a document with multiple pages, where each page will have an image.
I've got it working simply in test with code like this:
[b.#;ope=changepic;from=’temp[val].png’;adjust=sameheight] |
However, it would be most convenient for me if I were able to specify the file name with two different variables (maybe b.# combined with a global onshow.x, e.g., variable). Is that possible with OpenTBS? I can of course just modify my block array (that contains a database query) to contain the data, but felt what I'm suggesting here would be a cleaner solution if it can be done.
Thanks