Show uploaded image in a new window?
Hello,
I'm working on an image voting database, for a charity where hundreds of individually submitted photos are being judged by several internal users. They will upload directly into the Zoho Creator app.
For the judging I want a link or way to have the user click to show an uploaded image full-size in a new window.
I tried creating a Function and setting that as a Custom Action to create a button for each record, where imageid parameter was set as the file upload field but it doesn't work, it just opens to a blank window.
I have tried also to do a formula field with an expression, and set it up as a HREF but that doesn't work either.
I know I can (and I have) displayed the uploaded image file in the view but there's a finite size for that. I need to have a way for the user to easily click to see the whole image full-size in a new window.
Any ideas would be really, really appreciated. We used DabbleDB last year that did this but I'm glad we were forced to look elsewhere as I find Zoho much more flexible/powerful...
Thanks!!!
Failed function:
void OpenImageNewWindow(string imageid)
{
openUrl("http://creatorexport.zoho.com/DownloadFile.do?filepath=/" + input.imageid + "&sharedBy=" + zoho.adminuser, "new window");
}