aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes How to place my pictures which is in my html inside ide? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to place my pictures which is in my html inside ide?" Watch "How to place my pictures which is in my html inside ide?" New topic
Author

How to place my pictures which is in my html inside ide?

tangara goh
Ranch Hand

Joined: Dec 27, 2009
Posts: 125
Hi,

I'm now trying to integrate my old files which were constructed using basically html. Insides these files are lots of pictures reference i.e src link to images.

Now, I'm stuck. I do not know where to put the images files under which part of my main files? After right click on my project folder, I am not sure where to go from there...Should it be Empty File?

OK. Hope to hear from the experts.

Many thanks.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19759
    
  20

Moving to IDEs.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
tangara goh
Ranch Hand

Joined: Dec 27, 2009
Posts: 125
Precisely that's what I'm doing....moving them to the IDE to be with the backend codes.

Now, my question is how to place the pictures? I have src link insides the html files. Do I right click on my project file inside my IDE and place it at the empty file?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19759
    
  20

tangara goh wrote:Precisely that's what I'm doing....moving them to the IDE to be with the backend codes.

You got me wrong. I was moving this thread to our IDEs forum.
tangara goh
Ranch Hand

Joined: Dec 27, 2009
Posts: 125
: - ) sorry...i should be more patience...the ide forum was right at the bottom....
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10519
    
    9

Usually I put mine under images or media or resources directory which lies at the same level as the html pages, and reference them as images/myAwesomePhoto.jpg


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
tangara goh
Ranch Hand

Joined: Dec 27, 2009
Posts: 125
Maneesh Godbole wrote:Usually I put mine under images or media or resources directory which lies at the same level as the html pages, and reference them as images/myAwesomePhoto.jpg


under images or media or resources - but I can't find them anywhere in the IDE?

How should I go about putting in the images?

Really hope you can tell me step by step ..be'cos I am really lost how to do it...million thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

tangara goh wrote: ..be'cos I am really lost how to do it.

Please use real words like "because" when posting to the forums.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
tangara goh
Ranch Hand

Joined: Dec 27, 2009
Posts: 125
OK. So sorry I have been texting that I am so used to using short form of words...
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10519
    
    9

tangara goh wrote:
under images or media or resources - but I can't find them anywhere in the IDE?

What is them? Images? Directories?
If you mean directory, you can always create one in your IDE
If you mean images, then I have no clue where your images are.
tangara goh
Ranch Hand

Joined: Dec 27, 2009
Posts: 125
I have tried to created a folder named Travel Pictures in my project folder name Assignment2, since there's really no way for me to create a sub-directory and I do not know whether it's possible to create a sub-directory to store the image file.


Now, when I open my IDE project, I will use Assignment2. However, when I run the html file, the image just wouldn't show.

Here is the code:-



Please advise me how do i make the image appear when i run the IDE for that particular html file.

Many thanks.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10519
    
    9

Im not much of an HTML person but I suspect "Travel Pictures\Korea10.JPG" should be "Travel Pictures/Korea10.JPG" (with a forward slash)
Also please ensure your html file is on the same level as the Travel Pictures folder
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

tangara goh wrote:OK. So sorry I have been texting that I am so used to using short form of words...

"Be'cos" is a single character less than "because", and harder to text due to the symbol. Consider using "bcuz", but not here.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to place my pictures which is in my html inside ide?