Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
October 22, 2014, 10:46:20 PM

Pages: [1]   Go Down
  Print  
Author Topic: URL to put image on another site?  (Read 8867 times)
mxgirl
Intergalactic Superstar
*****
Offline Offline

Posts: 159


« on: November 29, 2012, 02:52:57 PM »

I really should know the answer to this, but I want to post an image to a discussion forum.  Normally I'd upload the image to someplace like PB, but I figured the more I get my website out there, the better.  I used to be able to get the url from my public_html folder by clicking on the image name in that folder, but the cpanel doesn't do that anymore.  The image is in my public_html/images folder and I wasn't sure it was a good idea to link to the public folder.  Thanks in advance.
Logged
MrPhil
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 5893



« Reply #1 on: November 29, 2012, 04:52:21 PM »

If the image is in /home/ACCOUNT/public_html/images/, the HTML can be simply reference URL /images/filename (called from a page on your website), or the URL can be completely specified: http://www.yoursite.com/images/filename.
Logged

Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-
mxgirl
Intergalactic Superstar
*****
Offline Offline

Posts: 159


« Reply #2 on: November 29, 2012, 05:52:32 PM »

Hey Mr Phil-
Good to hear from you - how's life in the beautiful Hudson Valley?    I'll give it a shot.     Thanks!  Thumbs Up
Logged
peleus
Intergalactic Cowboy
*****
Offline Offline

Posts: 50


« Reply #3 on: December 31, 2012, 11:11:33 AM »

Don't forget the extension too like pic.jpeg or something.
Logged
mxgirl
Intergalactic Superstar
*****
Offline Offline

Posts: 159


« Reply #4 on: January 02, 2013, 08:15:00 AM »

  The new (well, not so new anymore) LP cpanel doesn't give the same info as the old cpanel, so I just gave up and used PB.  Thanks though.
Logged
MrPhil
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 5893



« Reply #5 on: January 02, 2013, 09:36:01 AM »

What information are you missing? If you can display the image on your browser, it will show the URL (in the browser address bar if the image is the entire page, or you can right click on the image (part of a page) to show or copy its location (URL)). Even if you can't do that, you can look in your File Manager to see the path to the image file (everything after public_html, which is "/") and the name of the file. There are lots of ways to get the full URL to any image on your site.

Note that if you have "hotlink protection" enabled, you will need to whitelist the site you want to show the image on.
Logged

Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-
mxgirl
Intergalactic Superstar
*****
Offline Offline

Posts: 159


« Reply #6 on: January 03, 2013, 04:07:50 PM »

In the old cpanel I could pull up any image in the public_html folder, click on it and copy that info.  The LP cpanel doesn't make it as easy and it wasn't important enough to fiddle with.  Maybe when I have more time . . .
Logged
sheydia
Space Explorer
***
Offline Offline

Posts: 8


« Reply #7 on: September 19, 2013, 09:12:07 PM »

You can insert any type of image  with the help of HTML or PHP coding.
Its easily available, if you want search on google " HTML Image Inserting code "   hug me

 Welcome To My blog <spam link removed> you must visit.
« Last Edit: September 20, 2013, 05:40:06 AM by MrPhil » Logged
lidunchaa
Newbie
*
Offline Offline

Posts: 1


« Reply #8 on: October 13, 2013, 04:37:23 AM »

Don't forget the extension too like pic.jpeg or something. 
Logged
TigerAero
Intergalactic Superstar
*****
Offline Offline

Posts: 196



WWW
« Reply #9 on: November 01, 2013, 01:59:58 PM »

Couple of options here:

Code:
[img src="filename.jpg"] - image is on your site to be displayed on your site
[img src="http://www.location.com/filename.jpg"] -image is on your site but you want to display it to another site via the site's BBC coding.

With the above in mind if you have html access you can also apply those two templates to something such as:

<img src="location.jpg" height="10px" width="10px"  alt="Cute puppies!" />

Hope this helps, any more questions let me know!
« Last Edit: November 01, 2013, 02:03:10 PM by LakeXeno » Logged

M13 Matrix13 www.matrix13.com
Pages: [1]   Go Up
  Print  
 
Jump to: