RE: Absolute path to images
11-28-2024, 04:45 PM
(This post was last modified: 11-28-2024, 04:47 PM by rinkclared.)
(04-16-2023, 09:31 AM)TGates Wrote: Websites can not use absolute paths for images or files in that manner.
You would need to do something like this: (recommended) basketball stars
or:Code:<img src="./images/image.jpg" />
Code:<img src="http://website.com/images/image.jpg" />
Also, if they are on different sites, then you will need to use the php function fopen or curl. Otherwise you will need to use JavaScript.
(11-20-2024, 11:19 PM)kevwebbie Wrote: You can't use a path from the /var/ folder. It would be website.com/images/your image.jpg
woww, what does /var/ mean?