Hello.
I have two photos sized 2479x3506.
I want to insert them on an A4 sheet (portrait) through a template. I put them, but the photos have a size of 600x849 and poor quality. I’d like good quality photos.
Image format - TEXT,
Image size when uploading - Full,
but the link at the end has “width=600”
<img src="https://www.appsheet.com/image/getimageurl?appName=Push_upp-…&width=600
How to remove width=600 and upload full image?
My template’s code:
*{margin:0;padding:0}body{text-align:center;max-width:21cm;margin:0 auto}img{width:100%;height:auto}.scan{display:inline-block;text-align:center;width:21cm;height:13cm;overflow:hidden}.scan a{display:inline-block;width:100%}
Thx. Here I have a TEXT. If a make IMAGE, then in my code I see:
<a href="...."
style=" width:1000px;height:1000px;
">
and etc.
I don’t need any styles here, but… And I can’t remove them by AppSheet.
Now I wrote a script which change width=600 to width=1600, but from Google disk it’s not work ((
Only from local machine.
* {margin: 0;padding: 0}
body {text-align: center;max-width: 21cm;margin: 0 auto}
img {width: 100%;height: auto}
.scan {text-align: center;width: 21cm;height: 13cm;overflow: hidden}
.scan a {display: inline-block;width: 100%}
@Media print {.scan {display: inline-block}}
I tried to make a link to paste it in <img src=“…” but got errors
1)
Tried:
<img src=“CONCATENATE(
“https://www.appsheet.com/template/gettablefileurl”,
“?appName=”, ENCODEURL(CONTEXT(“AppName”)),
“&tableName=”, ENCODEURL(CONTEXT(“Table”)),
“&fileName=”, ENCODEURL([Scan 1])
)” alt=“Scan 1”/>
Gotted:
Error 1 : ‘Create HTML’ task ‘HTML create 1’ Body template. Template could not be loaded due to exception: ‘https’ is an unexpected token. Expecting white space. Line 13, position 12.
Error 2 : The document body is empty
I think it’s because of the quotes. Corrected.
Tried:
![Scan 1]()
Gotted:
Error 1 : ‘Create HTML’ task ‘HTML create 1’ Body template. Template could not be loaded due to exception: ‘=’ is an unexpected token. The expected token is ‘;’. Line 15, position 22.
Error 2 : The document body is empty
It’s this line. What’s wrong again?
“&tableName=”, ENCODEURL(CONTEXT(“Table”)),
Maybe, I need to specify the exact name of the table? Although the manual says to change the last value.
“Table” to “List1”?
P.S. I work with a remote client, so I don’t get answers to my ideas very quickly.