Problem load image

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Re: Problem load image

Postby Altrea » 12. August 2014 12:59

URL http://localhost/ and Image location "../immagini/menuimage.png" will not work.
An HTML asset will be requested by an subrequest from your browser, so it must be an requestable URL.

../ results in a location above the DocumentRoot of your webserver and is NOT requestable for your browser.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Problem load image

Postby alex_10 » 12. August 2014 15:27

Altrea wrote:URL http://localhost/ and Image location "../immagini/menuimage.png" will not work.
An HTML asset will be requested by an subrequest from your browser, so it must be an requestable URL.

../ results in a location above the DocumentRoot of your webserver and is NOT requestable for your browser.

Now i've installed and proved Wordpress, the images are displayed, while in the same root in my other website the image are not.
The folder are:
Code: Select all
http://localhost/wordpress/
http://localhost/ladivinacommedia/
alex_10
 
Posts: 6
Joined: 08. July 2014 12:03
Operating System: Windows 7

Previous

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 132 guests