Forums / Installing on a Windows Server / Image on an offline server?

Image on an offline server?

Views: 2,309

Results 1 to 9 of 9
19 May 2011, 5:35 PM
#1
dogjumps avatar

dogjumps

New Zenner

Join Date:
Aug 2010
Posts:
59
Plugin Contributions:
0

Image on an offline server?

Ok...

So I have my site running on my laptop offline... on localhost. but now how do I get the pictures to be put on the EZ pages and Define pages? there is no public_html folder?

Im using the newest zencart

Remember... Stay a Calm and Asertive pack Leader.
Caesar Milan.

19 May 2011, 5:45 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Image on an offline server?

They go in the same /images/ folder as they do online, in your Zen Cart installation folder (C:/xampp/htdocs/test/ or wherever you have it).

19 May 2011, 5:52 PM
#3
dogjumps avatar

dogjumps

New Zenner

Join Date:
Aug 2010
Posts:
59
Plugin Contributions:
0

Re: Image on an offline server?

OK so they will thus go into c:\wamp\www\zencart\images?
Then when I add the file path on the Define Pages, do I make the path c:\wamp\www\zancart\images\image.gif or will it be like somethin localhost or how would the path look like?

Remember... Stay a Calm and Asertive pack Leader.
Caesar Milan.

19 May 2011, 7:38 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Image on an offline server?

You can and should use relative filepaths, like images\image.gif . Zen Cart will automatically add the correct rest of the path, and will still work if you move the site to a live server.

21 May 2011, 7:31 AM
#5
dogjumps avatar

dogjumps

New Zenner

Join Date:
Aug 2010
Posts:
59
Plugin Contributions:
0

Re: Image on an offline server?

I have tried i all! here is my DIR:

C:\wamp\www\Zencart
Under this I have the following folders:
admin
cache
docs
download
editors
email
extras
images
includes
media
pub

Ive tried to put image.gif under just:
C:\wamp\www\Zencart
C:\wamp\www\Zencart\images
C:\wamp\www\Zencart\pub
C:\wamp\www\Zencart/media
C:\wamp\www\Zencart\download

And I tried all of the posible paths:
C:\wamp\www\Zencart\image.gif
C:\wamp\www\Zencart\images\image.gif
C:\wamp\www\Zencart\pub\image.gif
C:\wamp\www\Zencart/media\image.gif
C:\wamp\www\Zencart\download\image.gif
image.gif
c:\wamp\image.gif

Ive tried it all! Im StUcK please help!
:frusty::censored:

Remember... Stay a Calm and Asertive pack Leader.
Caesar Milan.

21 May 2011, 8:11 AM
#6
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Image on an offline server?

Try

http:localhost/Zencart/images/image.gif

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

21 May 2011, 8:17 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Image on an offline server?

dogjumps:

Ive tried it all! Im StUcK please help!
In what you posted you did not reference using this...
gjh42:

You can and should use relative filepaths, like images\image.gif

Zen-Venom Get Bitten

21 May 2011, 8:36 AM
#8
dogjumps avatar

dogjumps

New Zenner

Join Date:
Aug 2010
Posts:
59
Plugin Contributions:
0

Re: Image on an offline server?

Oh ok wait I get it... the localhost part takes the place of the C:\wamp\www because c:\wamp\www is my physical path on my hard drive but I need to speak in server terms... Cool lets see if this works but I think I understand the concept now.

Remember... Stay a Calm and Asertive pack Leader.
Caesar Milan.

21 May 2011, 12:39 PM
#9
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Image on an offline server?

Oops, and I was posting hastily - you should use the web form
images/image.gif
not the Microsoft internal file form
images\image.gif