Well this is turning stupid.
- I need to have a variable signature for a letter
- I have most of the signatures, but I don’t know which ones I’m missing.
- For the signatures I don’t have, I need to create art for one, using a static font.
PReS Connect had the ability to check on the availability of a resource like an image, resource(). This works as part of an If…Then…Else, but now I need to pull in the available image. The image itself might be any crazy number of sizes which means the easy way to get what we want is with a div and it’s background. This will allow me to scale and push into the left middle of the gap for the signature. Throwing the variable image in though…
That was an hour, and still no dice. I ran out of time; unfortunately I ran out of time more than I planned so now I’m writing this over a beer. Soon I’ll have a second beer because some bus drivers think 5 minutes early is a good thing… On the other hand, beer. Still deciding what beer #2 will be, as I’m on the end of a niche bus route that only shows up at special people’s shift end.
What I’ll do is create a div. The div will be replaced via a snippet, dependent on the existence of the image. If the image doesn’t exist, we get the div with the text. Otherwise we get the div with the image. I just need to make the image div work now.
I should do that this weekend, maybe?