Zen Cart Logo
Forums / General Questions / What About Image url Paths??

What About Image url Paths??

Locked

Views: 905

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
25 Oct 2009, 5:58 PM
#1
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

What About Image url Paths??

DrByte:

That's precisely why the steps in the tutorial have been written in the manner posted: https://www.zen-cart.com/tutorials/index.php?article=100

Dr. Byte...
I have a question for you pertaining to transferring Zen Cart store to another domain/server. This has to do with the image url's applied to the testing site before transferring.

I have added several images within catagory description pages (where I had to manually add a image link for the image on server). Will I need to change the url on every image I have uploaded or when the new database and store is created, will the links automatically change to new domain name?

In your opinion, what would be the best way to handle the images?

I thank you in advance!

25 Oct 2009, 6:20 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: What About Image url Paths??

If you're using the default built-in methods of how product/category images are presented, then there will be no special handling required when moving to a new server, since the image paths are all built based on the settings of whichever server you're on.
Follow the tutorial mentioned and there should be no changes required.

If you've got addons installed that change the way Zen Cart handles images, you may have to make other adjustments based on how those addons work. Hopefully they're documented in the addon's readme files etc.

25 Oct 2009, 7:49 PM
#3
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: What About Image url Paths??

DrByte:

If you're using the default built-in methods of how product/category images are presented, then there will be no special handling required when moving to a new server, since the image paths are all built based on the settings of whichever server you're on.
Follow the tutorial mentioned and there should be no changes required.

If you've got addons installed that change the way Zen Cart handles images, you may have to make other adjustments based on how those addons work. Hopefully they're documented in the addon's readme files etc.

Here are the mods I have added to the site I plan to transfer once completed: Image Handler2
Swap Images via MouseOver or Click
and planning to add the additional image title mod.

Do you think the change-over will effect the mods?

I'm only asking because I'd like to have some sort of idea what is ahead of me so I cna make the switch over much easier and less issues if I know what sort of issues that may occur. This is a site I am building for someone and had to place on my server to build. They wanted to see what the site would look like before they tranferred the DNS.

I didn't know of any other way to do this.

Thanks.

25 Oct 2009, 8:02 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: What About Image url Paths??

Additional Image Titles uses Zen Cart functions and constants where needed to ensure that it is fully portable. I can't speak for the other mods, but they will probably be ok.

25 Oct 2009, 8:05 PM
#5
perkiekat avatar

perkiekat

Zen Follower

Join Date:
Aug 2009
Location:
Carmi, IL
Posts:
354
Plugin Contributions:
0

Re: What About Image url Paths??

Thank you. I will definitely give an update to this transfer once I have it completed. That will be in about 1 more week.

Enjoy your day! :D