Caching Images on the clients Machine

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
abuhassan1979
Forum Newbie
Posts: 2
Joined: Fri Jun 09, 2006 4:54 am

Caching Images on the clients Machine

Post by abuhassan1979 »

Hi

Forgive me its my fist time posting on forum.... trying to explain a problem in writing!

I am using and image viewer plugin to view tif files via a web browser. It can only use paths like "C:\image\test.tif" to view the files.... the problem that i have is that i need to download the images on to the client machine when a request is made for viewing that image and the client can view the image via the browser.... please note i tried using other paths such as http://test.com/image/test.tif .....

it doesnt use the http protocol please note i cant use any other plugin hence i need to find out how i can cache images locally......

basically what i want to do is when a request is made for an image i download it to the client and set the path for the viewer to the local machine and then when the viewer is loaded on the browser it can use the local image for viewing?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Don't TIF files render in web browsers by default? Actually that sounds reasonable I guess.

To cut a long story short you can't transparently download files to a remote client. You need to have the user download them ;)
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

d11wtq wrote:Don't TIF files render in web browsers by default?
Nope
abuhassan1979
Forum Newbie
Posts: 2
Joined: Fri Jun 09, 2006 4:54 am

Post by abuhassan1979 »

You can view file in the browser but you cant rotate zoom etc....

how does the inter tempfiles downloaded and will it be possible to do it that way?
Post Reply