Hot Linking
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server > Hot Linking




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Hot Linking  
sysgln


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-17-04 01:34 PM

I am creating a simple HTML page in FrontPage that needs
to access images on my company website's image directory.
However, when I view that HTML document on another PC out
of my network, it can't get to the images.  How do I
configure IIS 5.0 to allow an external website or page to
hot link pictures out of our image folder?

Oh, if I manually type the address of the image from the
folder into IE it shows with no problem.





[ Post a follow-up to this message ]



    Re: Hot Linking  
Jonathan Maltz [MS-MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-17-04 04:34 PM

Hi,

You can't make IIS a proxy, it can not get the images from an internal
server and pass them along.

However, you can create a virtual directory on the public IIS server and
point it to the UNC share (\\computer\share) where the images reside, and
call them from that

--
--Jonathan Maltz [Microsoft MVP - Windows Server]
http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
tutorial site :-)
http://vpc.visualwin.com - Does <insert OS name> work on VPC 2004?  Find out
here
Only reply by newsgroup.  I do not do technical support via email.  Any
emails I have not authorized are deleted before I see them.


"sysgln" <anonymous@discussions.microsoft.com> wrote in message
 news:1156b01c3f5a1$892af720$a101280a@phx
.gbl...
> I am creating a simple HTML page in FrontPage that needs
> to access images on my company website's image directory.
> However, when I view that HTML document on another PC out
> of my network, it can't get to the images.  How do I
> configure IIS 5.0 to allow an external website or page to
> hot link pictures out of our image folder?
>
> Oh, if I manually type the address of the image from the
> folder into IE it shows with no problem.







[ Post a follow-up to this message ]



    Re: Hot Linking  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-26-04 05:34 PM

Thanks for the reply, but I think you have misunderstood
me.  The images I am trying to link are on our corporate
public website (in the image directory).  So if I type,
www.website.com/images/1.jpg, I can see the image (from my
home computer) however if I add that link as the src for
the image in HTML it says it can't view the image.  Any
clues?



>-----Original Message-----
>Hi,
>
>You can't make IIS a proxy, it can not get the images
from an internal
>server and pass them along.
>
>However, you can create a virtual directory on the public
IIS server and
>point it to the UNC share (\\computer\share) where the
images reside, and
>call them from that
>
>--
>--Jonathan Maltz [Microsoft MVP - Windows Server]
>http://www.visualwin.com - A Windows Server 2003 visual,
step-by-step
>tutorial site :-)
>http://vpc.visualwin.com - Does <insert OS name> work on
VPC 2004?  Find out
>here
>Only reply by newsgroup.  I do not do technical support
via email.  Any
>emails I have not authorized are deleted before I see
them.
>
>
>"sysgln" <anonymous@discussions.microsoft.com> wrote in
message
> news:1156b01c3f5a1$892af720$a101280a@phx
.gbl... 
directory. 
out 
to 
>
>
>.
>





[ Post a follow-up to this message ]



    Re: Hot Linking  
Jonathan Maltz [MS-MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-27-04 12:34 AM

Hi,

Sorry - you're correct, I misunderstood your post.  You may want to make
sure that the code:
1) Works on at least one computer outside of the network
2) Is like <img src="/images/1.jpg"> and not just "1.jpg" or "images/1.jpg"
3) Doesn't point to an internal DNS entry (http://company/images/1.jpg)

--
--Jonathan Maltz [Microsoft MVP - Windows Server, Virtual PC]
http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
tutorial site :-)
http://vpc.visualwin.com - Does <insert OS name> work on VPC 2004?  Find out
here
Only reply by newsgroup.  I do not do technical support via email.  Any
emails I have not authorized are deleted before I see them.


<anonymous@discussions.microsoft.com> wrote in message
news:038b01c3fc8e$68da2bf0$3501280a@phx.gbl...
> Thanks for the reply, but I think you have misunderstood
> me.  The images I am trying to link are on our corporate
> public website (in the image directory).  So if I type,
> www.website.com/images/1.jpg, I can see the image (from my
> home computer) however if I add that link as the src for
> the image in HTML it says it can't view the image.  Any
> clues?
>
>
> 
> from an internal 
> IIS server and 
> images reside, and 
> step-by-step 
> VPC 2004?  Find out 
> via email.  Any 
> them. 
> message 
> directory. 
> out 
> to 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:07 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register