Copy link to clipboard
Copied
hi everybody,
is it any possibility, when edit files locally and use for images absolute path, to be able to see/view it in edit mode / code desigh mode?
ex:
<p align="left">
text here
<img src="http://www.mydomain.com/images/image_name.jpg"" width="50" height="50" alt=""/>
text here
</p>
thank you.
Az üzenetet szerkesztette: Sandor Sandor
The only way to do what you request is if you make a change and push it to the server and test it that way. There is no way to use a full FQDN path (ie, "https://www.mydomain.com/images/image_name.jpg") locally. The path is entered in DSN routers around the world and will point to that.
Actually, I just thought of something. If you need to test locally, then you can create a network that is isolated from the internet, set up your own DNS server, and register your FQDN (www.mydomain.com) inte
...Copy link to clipboard
Copied
The only way to do what you request is if you make a change and push it to the server and test it that way. There is no way to use a full FQDN path (ie, "https://www.mydomain.com/images/image_name.jpg") locally. The path is entered in DSN routers around the world and will point to that.
Actually, I just thought of something. If you need to test locally, then you can create a network that is isolated from the internet, set up your own DNS server, and register your FQDN (www.mydomain.com) internally and test locally that way. But that's the only other way that I can think of. You're probably better off using relative paths (ie, "/images/image_name.jpg").
HTH,
^ _ ^
Copy link to clipboard
Copied
Thank you for your answer WolfShade!
yes, when using relative path, it's OK, images can be seen w/o any problem!
and thank you for your advice, I will try to install a local server (xampp) and will try to test it this way too.
Copy link to clipboard
Copied
do you mean viewing the image in the code view ?...
if so just hovering the pathname of the image and a thumbnail should appear...
if not, sorry, and never min, I miss understood the question
Copy link to clipboard
Copied
hi B i r n o u,
thanks for the answer. I meant in the code - design view, using absolute paths.
and thank you, I am aware about hovering the path name /link of the image. 🙂
Copy link to clipboard
Copied
I have no trouble seeing remotely hosted images in Live View. See screenshot.

Copy link to clipboard
Copied
https://forums.adobe.com/people/Nancy+OShea wrote
I have no trouble seeing remotely hosted images in Live View. See screenshot.
I think the OP wants to test locally and didn't understand that in order to use the FQDN then the code has to be pushed to the live server.
Another option would be to use a server-side language and set up variables based upon a conditional like FQDN:
<cfset thisURL = "http" />
<cfif cgi.https><cfset thisURL &= "s" /></cfif>
<cfset thisURL &= cgi.server_name & "/" />
If the server is a dev server and is local, the variable "thisURL" will appear as "http://localhost/", and the src can be <img src="#thisURL#images/image_name.jpg" />
If the server is production, then the same src value will appear as "https://mydomain.com/images/image_name.jpg".
HTH,
^ _ ^
Copy link to clipboard
Copied
Thank you WolfShade for the proposed solution,
unfortunatelly it is a bit complicated for me, so I will keep -as till now- editing locally then upload the files to the server, wiew them online, and made the modifications accordingly if it is needed.
Thank you ALL for your kind support!
Copy link to clipboard
Copied
I'm sorry to be insistent... I think the solutions Wolfshade and Nancy have provided you are really judicious and appropriate... but I admit I didn't understand your problem.
would it be possible for you to describe it differently?
Copy link to clipboard
Copied
@
hi Birnou,
I have 6 domains, in two different languages.
for www.mydomain1.com on dreamweaver "view -- split -- code-design) I see the images / pictures (which are not locally, but uploaded to server), for www.domain2.com ... www.mydomain6.com I do NOT see them.
I supposed that was just a setting issue, but lately I do not see neother the images from www.mydomain1.com 😞
but, anyhow, I think I succeed to resolved and to have an indirect solution: I installed the xampp server and here, I can see the pages with images (from remote server).
THANK YOU ALL for your help & support !
Copy link to clipboard
Copied
thanks for your time and explanation... I better understand the problem
Copy link to clipboard
Copied
Thank you Nancy for your answer,
probably it's a cache problem I am facing.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now