Hi All,
I'm writing an app that on the first time it is run the app goes to my server and I put a jpg image of a business card in a image field.
(The image is selected by an activation code input on first use of the app)
I would like to save that image and then display it on multiple cards rather than download it from the server multiple times.
I'm using the "put URL (the address of the image on the server) into image"bCard" of cd"mainMenu" syntax which works fine but.....
What is the code to save it and then display it on multiple cards?
Thanks,
Tom
Displaying an image on multiple cards
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Displaying an image on multiple cards
Hi Tom,
Best regards
Jean-Marc
You can download the image file from your server to a file and set the filename of your image control on preopencard or using a shared group.I would like to save that image and then display it on multiple cards rather than download it from the server multiple times.
Best regards
Jean-Marc
https://alternatic.ch
Re: Displaying an image on multiple cards
Hi.
Check out the "place" command in the dictionary. Use this, perhaps as Jean-Marc mentioned, to put that image on whatever cards you need to.
Craig Newman
Check out the "place" command in the dictionary. Use this, perhaps as Jean-Marc mentioned, to put that image on whatever cards you need to.
Craig Newman
Re: Displaying an image on multiple cards
Hi Tom,
I usually use BUTTONS, with their ICONs set to the ID of the single image, to display an image on more than one card
AND in different locations on the same card (if neccessary), someting that cannot be done with GROUPS!
Best
Klaus
I usually use BUTTONS, with their ICONs set to the ID of the single image, to display an image on more than one card
AND in different locations on the same card (if neccessary), someting that cannot be done with GROUPS!
Best
Klaus
Re: Displaying an image on multiple cards
Hi Jean-Marc, Craig and Klaus.
Thanks so much for the help. I ended up using the groups and the Place command. I might switch to the buttons as there is one card that I kinda wanted to have the image in a different position on the card!
Thanks again!
Tom
Thanks so much for the help. I ended up using the groups and the Place command. I might switch to the buttons as there is one card that I kinda wanted to have the image in a different position on the card!
Thanks again!
Tom