Hello!
We design some ticket layouts.
The picture has loaded in database. Picture must be background in TD table element.
Something like this:
<td style="background-image: url([vk_photo|24]);">
Offer pls the correct syntax!
Hello!
We design some ticket layouts.
The picture has loaded in database. Picture must be background in TD table element.
Something like this:
<td style="background-image: url([vk_photo|24]);">
Offer pls the correct syntax!
Where are our developers? Or anybody help resolve this problem?
I don’t think it’s possible off the top of my head.
Your [vk_photo|24] tag will be replaced by something like which isn’t suitable to use in the way you’re trying to use it.
I think may be next way.
While API-import in to dataset, get path/filename from just imported image and put this into additional field with String type.
I don’t test it. What do you think about this method?
It might work. You would need to test it and see. The image may need to be in use on the layout for the Player to be told to download it. I’m not sure how clever that logic is in that regard.
You right.
I add code:
<td style="background-image: url([vk_photo_string|34]); background-repeat: no-repeat;">
where [vk_photo_string|34] contain string "/library/download/261.jpg"
It look good on server side in preview window, but not affected on player side.
It will be great, if you add this feature in next version of software.
Try just
261.jpg
It won’t work in the preview, but it may work on the Player.
Oooo, yes! Perfect! Its working… Thank you Alex!
It’s not suitable for design without preview, but working solution.