I have been trying to display the dynamic image like it showed the documentation but it is not working for some reason. I tried the url from the database and the manually enter the name the path. It is not showing anything.
I checked the database the file has been uploaded - and the path too. I checked the server folder the image are in the exact folder I sent them.
However, It is not showing up.
SOS please.
The only reason this is happening is because the image cannot be found. To troubleshoot, replace the source with a static value. If that works, compare the static value with the value in the database.
Please come back here if there is still a problem.
I forgot to mention that one of the folder in the path is also dynamic.
I tested the link to see if it can be display live. I was the able to ready the url. However, when i put in the img it does not work.
It will retest other variables tonight and update you in the morning.
Thanks in advance.
Right click the broken image symbol and select “Copy Image Address” or your browser equivalent. What is the address which is actually being produced? The binding tells us nothing, we need the output
Hyperbytes: For some reason, i could not copy the address in the browser. It did not give me that option.
I tried explorer and chrome - Nothing.
Ben: Use the static value following the exact folder writing the path and the name of the image manually, the image did display, but when i tried to use the dynamic it is not working.
You can see in cap1 the image and src on the left: I used the static value.
cap2: I went from query1
Cap3: Selected profile url which give me the path to the folder. I had field and the content.
Cap4: I put a dynamic content of the url in plain box to see if it will display the same root folder.
Cap5: Live try: the dynamic content of the url display next to the “logo photo” but it is image which suppose to have the same path does not display.
I am probably missing a step or something.
What do you think I should use then?
I m using the same expression to display the content on liv as you see in cap5. Note: the expression is between the braces there.
Do you have any other recommendation?
I assumed you were using a repeat region since you weren’t using a ‘Single Query’ for your data source. Does your database table consist of the full path or just the file name?
I have both in the table to make sure I can use one of them in the site when i needed. I can display the link live when want to see the content. however, it does not display when I try to put it as image.
Do you think I maybe did not add something in the header?
Hmmm, to me it looks like a path problem. If you manually add the path to a regular src does it display? I’m guessing it doesn’t. Is the file you are working on in a folder on your site or the site root?
In your database field try adding ../.. to the beginning of your path.
Can any of the data in your recordset be displayed on the page? Could be something wrong with your query.
Edit: First thing I would do is to remake your query using the ‘Single Query’ if you are only displaying one record on the page. Then it doesn’t matter if you are in a repeat region or not.
The data can be display on the browser. I will have to redo the query again may be. You are right - the query does not matter if it already display the content in the browser. The problem is that the image does not display when I put in the src dynamic position/