File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Show Image icon infront of http URL ?

 
Rahul Shilpakar
Ranch Hand
Posts: 132
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am in need of your help. It seems urgent for myself.

Please tell me, how can i show the image icon in front of a HTTP URL?
I want the JavaScript code for it.

Thank you in advance.
 
Sagar Rohankar
Ranch Hand
Posts: 2904
1
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rahul Shilpakar:
Hello,

I am in need of your help. It seems urgent for myself.

Please tell me, how can i show the image icon in front of a HTTP URL?
I want the JavaScript code for it.

Thank you in advance.


Pl dont use such words like ,"urgent" , ranchers dont like that !

Basically you are talking about the "favicon.ico", image file that displays at left most of URL , Then serarch your servers 'favicon' file with your own icon ! Or google
 
Rahul Shilpakar
Ranch Hand
Posts: 132
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Sagar Rohankar
Pl dont use such words like ,"urgent" , ranchers dont like that !


I am sorry Sagar. My intension was not hurting anybody. It was just that i was in tension to finish my chaose.

Ok. Regarding favicon.ico-

I am able to create the favicon.ico. But don't know where can i put this icon on the server. I mean In which folder? Please elaborate it.
 
Rahul Shilpakar
Ranch Hand
Posts: 132
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't want JavaScript code now.

I want to get the output in any form or any way? It donsn't matter the way of output.

Thank you.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand at all what your last post means, but the favicon.ico file generally goes into the root directory of a domain.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google Favicon and you will get plenty of examples of how to add it to your site and how to create the image.

Eric
 
K. Tsang
Bartender
Pie
Posts: 3222
12
Android Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Regarding icon files you put that image file in the root folder (where the index page is located) then you need that special html line in you code inside <head> in order to show that icon next to the URL. You can google that.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic