What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

web design question...


AndrewF

Member
Messages
10
Likes
0
I know this is a photoshop board but thought someone might be able to help...

I am trying to insert an image into my HTML code and it is not showing, here is the setup.

I have a folder called Web within that there are two folders Images and Pages (all the images are kept in the Images folder and the pages in the pages folder).

In my code I am putting <img src="//images/surfie.jpg"> but this does not work, I have tried all different combinations but none work, if the images are in the same folder as the pages then just putting <img src="surfie.jpg"> works fine.

Please help :)

Andrew
 
Andrew. if the HTML page is in the WEB folder and you are calling for the image in the IMAGES folder use this <img src="images/mypic.jpg">
If the HTML is someplace NOT in the root folder then you will have to navigate to the images folder i.e. the HTML page in in a folder called WIDGET which is also in the WEB folder: <img src="../images/mypic.jpg"> I hope this helps.
 

Back
Top