Zen Cart Logo
Forums / Installing on a Windows Server / Images directory and easy populate

Images directory and easy populate

Locked

Views: 3,590

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
3 Sep 2010, 7:12 PM
#1
3dsgiftsnthings avatar

3dsgiftsnthings

New Zenner

Join Date:
Mar 2010
Posts:
84
Plugin Contributions:
0

Images directory and easy populate

Hi All,

So i have a question about the images directory and easy populate.
I have my main site installed in the root directory.
I have created sub-directories and installed zencart in these directories.
In order for easy populate to find the images you must enter the image path into ep tab file. like this: images2/65-0518.jpg.
This works fine for the root directory.
However is it possible to assign the images from the root directory images folder to these sub-directory sites.
and if so what would the image path look like and what files would need to be edited if any?

5 Sep 2010, 10:13 AM
#2
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Images directory and easy populate

Hi

Just enter the image filename if you are using the default images directory

5 Sep 2010, 4:47 PM
#3
3dsgiftsnthings avatar

3dsgiftsnthings

New Zenner

Join Date:
Mar 2010
Posts:
84
Plugin Contributions:
0

Re: Images directory and easy populate

i placed the images in this directory: images/images2
in ep i used this url for the images (images2/watever.jpg)
i am still not able to view the images on the site,

on my main site https://www.3dsgifts.com i can view the images fine.
in a sub-directory i created another installation of zen-cart.
would i need to update the ep urls to match the sub-directory?

Example: 3dsgifts_all/images/images2

I am currently using images2/whatever.jpg ..this is not correct

not sure why they are not showing, i thought EP automatically used the images folder as default.

Any suggestions would be appreciated

5 Sep 2010, 4:59 PM
#4
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Images directory and easy populate

3dsgiftsnThings:

i placed the images in this directory: images/images2
in ep i used this url for the images (images2/watever.jpg)
i am still not able to view the images on the site,

in this case, you need images/images2/whatever.jpg in your ep

5 Sep 2010, 11:51 PM
#5
3dsgiftsnthings avatar

3dsgiftsnthings

New Zenner

Join Date:
Mar 2010
Posts:
84
Plugin Contributions:
0

Re: Images directory and easy populate

Ryk:

in this case, you need images/images2/whatever.jpg in your ep

I tried the images/images2/****.jpg
i am still not seeing any images.
So just to make sure we are on the same page i am going to break down the file structure on my server.
/root
/admin (main site in the root directory)
/3dsgifts_all
(secondary site inside this folder under the root directory)
/pokerstore (Third site folder in the root directory)

So if we are understanding one another in order to visit these secondary site you would enter

https://www.3dsgifts.com/3dsgifts_all .....or https://www.3dsgifts.com/pokerstore

these sub-folders act as the root for each site.
Does this help any and do you have any suggestions on how to enter the urls for the images. i have obviously uploaded all the images to the server for each site.
:shocking::blink::no::shocking:

6 Sep 2010, 3:25 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Images directory and easy populate

It doesn't matter how smart you think EP is, if you don't put the actual images up on the server, they can't be displayed.

Case in point:
This product: http://3dsgifts.com/pokerstore/index.php?main_page=product_info&products_id=1173
also found here: http://3dsgifts.com/pokerstore/index.php?main_page=products_new
is looking for this image: http://3dsgifts.com/pokerstore/images/images2/10-ds-1ks.jpg
But that image file doesn't exist on your server.

Of course, you have another error about missing short-description fields, etc, too, but that's an unrelated matter.

6 Sep 2010, 3:36 AM
#7
3dsgiftsnthings avatar

3dsgiftsnthings

New Zenner

Join Date:
Mar 2010
Posts:
84
Plugin Contributions:
0

Re: Images directory and easy populate

DrByte:

It doesn't matter how smart you think EP is, if you don't put the actual images up on the server, they can't be displayed.

Case in point:
This product: http://3dsgifts.com/pokerstore/index.php?main_page=product_info&products_id=1173
also found here: http://3dsgifts.com/pokerstore/index.php?main_page=products_new
is looking for this image: http://3dsgifts.com/pokerstore/images/images2/10-ds-1ks.jpg
But that image file doesn't exist on your server.

Of course, you have another error about missing short-description fields, etc, too, but that's an unrelated matter.

Ok let me investigate . thanks for the quick reply your awesome
:clap:

6 Sep 2010, 2:27 PM
#8
3dsgiftsnthings avatar

3dsgiftsnthings

New Zenner

Join Date:
Mar 2010
Posts:
84
Plugin Contributions:
0

Re: Images directory and easy populate

Ok doc i think i have got the images thing worked out.
I deleted the images folder and then re-uploaded.

Now when i click a product to view the description i receive this error:

1054 Unknown column 'pd.products_short_desc' in 'field list'
in:
[select p.products_id, pd.products_name, pd.products_short_desc, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id, p.products_quantity, p.products_weight, p.products_priced_by_attribute, p.product_is_free, p.products_qty_box_status, p.products_quantity_order_max, p.products_discount_type, p.products_discount_type_from, p.products_sort_order, p.products_price_sorter from products p, products_description pd where p.products_status = '1' and p.products_id = '859' and pd.products_id = p.products_id and pd.language_id = '1']

This obviously has something to do with EP but i am using the same product sheets for this site as i did for the main site and i have no problems on it.

6 Sep 2010, 6:34 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Images directory and easy populate

No, that has nothing to do with EP. The error message is telling you that it's trying to read data from a field called "products_short_desc", but that field doesn't exist in your database. That's because you've got PHP files for a short-description addon installed, but you're using a database that doesn't have the required components in it.
You're apparently trying to duplicate your site but going about it sloppy.

7 Sep 2010, 2:48 AM
#10
3dsgiftsnthings avatar

3dsgiftsnthings

New Zenner

Join Date:
Mar 2010
Posts:
84
Plugin Contributions:
0

Re: Images directory and easy populate

DrByte:

It doesn't matter how smart you think EP is, if you don't put the actual images up on the server, they can't be displayed.

Of course, you have another error about missing short-description fields, etc, too, but that's an unrelated matter.

i have reuploaded all of my images which seemed to work.
the image u sent me the link to did exsist. in the images2 directory
not sure why it wouldnt display but, the re-upload worked.

Now there is the matter of the issue you pointed out to me.
What would i need to do to fix this?

7 Sep 2010, 2:57 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: Images directory and easy populate

If "the issue" is the half-installed short-description mod, then you'll need to decide whether you want it or not. If you want it, finish installing it fully. If you don't want it, finish removing it fully.

8 Sep 2010, 4:35 AM
#12
3dsgiftsnthings avatar

3dsgiftsnthings

New Zenner

Join Date:
Mar 2010
Posts:
84
Plugin Contributions:
0

Re: Images directory and easy populate

Thank you for all your help. Doc you are THE man!
good day:clap: