chrometweaks.org

Shame on iPage.Decided to change my hoster to hostmonster,what you think?

Click Here To View All Answers...


First of all Shame on iPage.Decided to change my hoster to hostmonster,what you think? Looking forward for any response. Another question... Please I think we (well i) need to improve the way images uploaded and stored..

When you create a new product or catagory the image gets dumped in the /images/ directory instead of the actual product or catagory's folder..

This makes a real mess if everything gets stored in one folder..

Theres already a feature for the banners where just below where you browse for your banner image there is a save to location to a folder in the image folder..

Maybe this can be used for the catagories and the product images..

BTW, great move on upgrading the forum...

Comments (68)

I would like to know the answer too. Anyone here know what is the right answer. I'll do some research and get back to you if I discover an answer. You should email the people at iPage as they probably know..

Comment #1

I am having a senior moment here argghh.

When uploading form a browser it would look something like D:oscommercecatalogimagesdvddvd1.jpg.

You need to change it to.

D:oscommercecatalogimagesdvd/dvd1.jpg..

In this case dvd is the subcat of images...

Comment #2

I am sceptical that this is the correct work around, but I will try it and see if it makes a difference..

If you find out why this works please let us know..

And may I suggest you search the forums before posting, as this is a cross post of an ongoing conversation here:.

Http://forums.oscomm...pic.php?t=23303.

CC...

Comment #3

Simple solution to this problem, but rather complicated to implement..

Here is what needs to be done..

1. Modify categories.php to store files based on \images\category.

Where if you are going to put the item in category games.

It would store the image in \images\category\games\product.gif.

2. Modify the product display pages to look in modified url path to include.

%categoryname%.

There are probably many other things that would have to be changed..

I have a major problem with how they are stored because I have total of 11 cds of product images, because I have many vendors..

If I store the images in the images folder, it takes forever to load the listing..

I'm trying to figure out a way to fix this on my own, but the problem is I have always used perl. using php is brand new to me...

Comment #4

There is a.

Tip/Trick.

Posted in that forum for doing this. Also, a link to a contribution is posted in that thread..

Hth,.

Matt..

Comment #5

Thanks Matt,.

I installed it and it's working..

But I have yet another issue...Categories.php is too massive, takes too long to parse the entire file..

Really, I think categories.php and products.php should be two separate things..

Because I would think most people create the store layout before they even put a product in..

So parsing through the categories every time you are adding a product is not necessary..

In fact, when adding categories, I often time out and have to refresh...which creates a blank category and the one I created..

OsC isn't perfect, but after trying it, I like it much better than The City and other Perl based shopping carts I have used...

Comment #6

Please I think we (well i) need to improve the way images uploaded and stored..

When you create a new product or catagory the image gets dumped in the /images/ directory instead of the actual product or catagory's folder..

This makes a real mess if everything gets stored in one folder..

Theres already a feature for the banners where just below where you browse for your banner image there is a save to location to a folder in the image folder..

Maybe this can be used for the catagories and the product images..

BTW, great move on upgrading the forum...

Comment #7

In some case if you reverse the slashes you can directly link to the subcategory folders..

Like dvddvd1.gif instead of /dvd/dvd1.gif..

Does not work all the time becasue of server configs but it does for me. Make sure to upload the images to the correct subcategory folders first and to have the same file sub system on your computer you are uploading from..

Comment #8


This question was taken from a support group/message board and re-posted here so others can learn from it.