If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
I have a text fields in a grid that is really a URL. I set it up as a URL and that works, but I really want to replace the link that shows the URL to an image, like a camera, but still have it clickable.
Thanks in advance
and added another field to the grid called camera.
The only problem I'm having now is understanding how to get the src= to pick up the proper png file. I have uploaded the camera.png to _lib/img on my server, but it's not working.
It also now doesn't work locally so I must be not understanding what the proper relative path for the images are.
So basically I just need to know where to put the image of a camera, and and how to reference that image in the img src above. Should be pretty simple I suspect, but haven't been able to figure it out yet. Tried quite a few things but haven't gotten it working yet
You could try to add in Apache configuration file an Alias to the folder where you have the images, ex: Alias "/myimagesalias" "yourfolder/yoursubfolder" <Directory ""yourfolder/yoursubfolder"> Require all granted </Directory>.
After that in Scriptcase use a variable $img = "myimagesalias/yourPicture";