Forums / All Other Contributions/Addons / Problem with images!!!

Problem with images!!!

Locked

Started by canad1an on 14 Jul 2006, 8:35 PM · Views: 15,510

Results 1 to 20 of 44
This thread is locked. New replies are disabled.
14 Jul 2006, 8:35 PM
#1
canad1an avatar

canad1an

New Zenner

Join Date:
Jun 2006
Posts:
26
Plugin Contributions:
0

Problem with images!!!

I recently installed the 'ask a question' module and I since have been having a problem displaying images from: tpl_product_info_display.php

An example here: http://marcusecompressor.com/store/pages-productinfo/product-21/p5015.html

Or just click on ANY product to goto the product page, and the images will be broken. I further investigated this problem and found that somewhere, all the files are having a '_MED' tag attatched to the end...

How can I fix this.

17 Jul 2006, 1:27 PM
#2
canad1an avatar

canad1an

New Zenner

Join Date:
Jun 2006
Posts:
26
Plugin Contributions:
0

Re: Problem with images!!!

Bump! I really need some help with this...

17 Jul 2006, 1:45 PM
#3
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Problem with images!!!

I don't know exactly what's causing the problem you are having, I am sorry. I have looked and I see that some images show and some don't - but I cannot tell you if that mod changed something or what happened.

Sorry - I tried- I didn't want you to think you are being completely ignored :)

When the world gets in my face I say Have A Nice Day.

17 Jul 2006, 2:09 PM
#4
canad1an avatar

canad1an

New Zenner

Join Date:
Jun 2006
Posts:
26
Plugin Contributions:
0

Re: Problem with images!!!

Thanks. Yeah, I know it's very strange. The mod only has one file edited and it's the product template page. But you actually aren't even changing the page, you are simply adding a few lines to it, the lines of which I verified is simply a link. I have advanced php knowledge and I still am completely lost on this. After using zen-cart's search tool I found hundreds of documents that modify the image and add the '_MED' tag. But I don't know which one is right.

17 Jul 2006, 2:36 PM
#5
canad1an avatar

canad1an

New Zenner

Join Date:
Jun 2006
Posts:
26
Plugin Contributions:
0

Re: Problem with images!!!

I fixed the problem with it adding '_MED' to the filename from the admin panel. But all images are still linked to the /images/medium/parts/ directory. When I need them in the /images/medium/parts/

I guess I'll just upload every image to both directories '/medium' and '/large'
It's inconvenient but I guess it's what I have to do. Thanks for your help.

17 Jul 2006, 4:24 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with images!!!

Let's say your products_image filename is: calicocat.jpg

In the Categories/Products when adding or editing you would browse for your image and select where to put it ...

If you choose from the Dropdown the Main Directory ... this will go to: /images

So your image files for this product would be:

/images/calicocat.jpg
/images/medium/calicocat_MED.jpg
/images/large/calicocat_LRG.jpg

Additional small images would be:

/images/calicocat_01.jpg
/images/calicocat_02.jpg
/images/calicocat_03.jpg

Additional large images would be:

/images/large/calicocat_01_LRG.jpg
/images/large/calicocat_02_LRG.jpg
/images/large/calicocat_03_LRG.jpg

If you choose from the Dropdown one of the other names like parts ... this would mean you made the directories:

/images/parts
/images/medium/parts
/images/large/parts
And set these to 777

So your image files for this product would be:

/images/parts/calicocat.jpg
/images/medium/parts/calicocat_MED.jpg
/images/large/parts/calicocat_LRG.jpg

Additional small images would be:

/images/parts/calicocat_01.jpg
/images/parts/calicocat_02.jpg
/images/parts/calicocat_03.jpg

Additional large images would be:

/images/large/parts/calicocat_01_LRG.jpg
/images/large/parts/calicocat_02_LRG.jpg
/images/large/parts/calicocat_03_LRG.jpg

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Jul 2006, 5:26 PM
#7
canad1an avatar

canad1an

New Zenner

Join Date:
Jun 2006
Posts:
26
Plugin Contributions:
0

Re: Problem with images!!!

Mine does not work that way. I've changed a few things in the past. But I got it working though, thanks.

23 Oct 2006, 8:45 PM
#8
dni avatar

dni

New Zenner

Join Date:
Oct 2006
Posts:
64
Plugin Contributions:
0

Re: Problem with images!!!

the regular-MED-LRG system is working fine for me in terms of having different sized graphics for different elements of the page.

they are, however not showing the multiple images on the product pages.

i have the cofiguration in the admin tool set to allow for it

all directories are 777

what else might i be missing?

thanks

24 Oct 2006, 1:15 PM
#9
dni avatar

dni

New Zenner

Join Date:
Oct 2006
Posts:
64
Plugin Contributions:
0

Re: Problem with images!!!

P.S. The place in the admin tool where I set it to on is:

Catalogue > Product Types > Edit Layout > Show Product Additional Images (set to on)

24 Oct 2006, 1:18 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with images!!!

Assuming you used the templates and overrides and did not alter the original default files ...

Switch to Classic ...

Does this work correctly now?

Have you an URL to a Product and the directory/image files that you think you have setup for this product?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Oct 2006, 11:28 PM
#11
reddiaz avatar

reddiaz

New Zenner

Join Date:
Aug 2005
Posts:
8
Plugin Contributions:
0

Re: Problem with images!!!

Hi! I'm experiencing the same problem. All product images in one particular category is not showing up. I tried uploading the file images using filezilla, dreamweaver and file manager of my site but still no luck.

I have not altered any of the template file...

The URL is http://disenyoartsusa.mnm.ph/shop/index.php?main_page=index&cPath=1

Hope somebody could help me..

24 Oct 2006, 11:38 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with images!!!

Your base image is:

/images/tiles/D001.jpg

This means the LARGE image should be:

/images/large/tiles/D001.jpg

You have it in:

/images/large/D001_LRG.jpg

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Oct 2006, 11:44 PM
#13
reddiaz avatar

reddiaz

New Zenner

Join Date:
Aug 2005
Posts:
8
Plugin Contributions:
0

Re: Problem with images!!!

Ajeh:

Your base image is:

This means the LARGE image should be:

You have it in:
I'm just experimenting D001 if I place it in different folder it will solve the issue, well I guess not...

The rest of the images are..

images/
images/large
images/medium

The only product displaying is D001 and rest images of the images are blank...

25 Oct 2006, 12:28 AM
#14
reddiaz avatar

reddiaz

New Zenner

Join Date:
Aug 2005
Posts:
8
Plugin Contributions:
0

Re: Problem with images!!!

What is weird about the problem is that everytime I create a new zen-cart install the same problem occurs with that particular product category, Anthology.

The rest of the category working perfectly, http://disenyoartsusa.mnm.ph/shop/index.php?main_page=index&cPath=3

Hope somebody can advise me on what to do because I need to launch the site in the next couple of days.

thanks

25 Oct 2006, 1:42 AM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with images!!!

Please look in your products table via phpMyAdmin ...

Do you see the image filename or do you see a subdirectory of /images plus the filename?

If you see basename.ext ... the directories are:

/image/basename.ext
/image/medium/basename_MED.ext
/image/large/basename_LRG.ext

If you see something/basname.ext ... the directories are:

/image/something/basename.ext
/image/medium/something/basename_MED.ext
/image/large/something/basename_LRG.ext

And make sure the permissions are correct on all of the directories ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

25 Oct 2006, 1:47 PM
#16
dni avatar

dni

New Zenner

Join Date:
Oct 2006
Posts:
64
Plugin Contributions:
0

Re: Problem with images!!!

Ajeh:

Assuming you used the templates and overrides and did not alter the original default files ...

Switch to Classic ...

Does this work correctly now?

sadly, it does not

Have you an URL to a Product and the directory/image files that you think you have setup for this product?

i will private message it to you
thank you in advance for your help

25 Oct 2006, 5:27 PM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with images!!!

Your base image needs to be:
/images/cards/NC6CORPSE.jpg

Not:
/images/cards/NC6CORPSE_01.jpg

Medium is :
/images/medium/cards/NC6CORPSE_MED.jpg

Large is then:
/images/large/cards/NC6CORPSE_LRG.jpg

The additional images then build from there like you have it ...

Note: there is only 1 Medium image for display on the Product Info page ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

25 Oct 2006, 10:44 PM
#18
reddiaz avatar

reddiaz

New Zenner

Join Date:
Aug 2005
Posts:
8
Plugin Contributions:
0

Re: Problem with images!!!

Ajeh:

Please look in your products table via phpMyAdmin ...

Do you see the image filename or do you see a subdirectory of /images plus the filename?

If you see basename.ext ... the directories are:

If you see something/basname.ext ... the directories are:

And make sure the permissions are correct on all of the directories ...

Its the image filename that is in the database.

All files are uploaded in their right directories and permissions are correct. I dont know why but its only one category that is acting up this way, the rest are working perfectly.

13 Jan 2007, 5:33 AM
#19
blind1 avatar

blind1

Zen Follower

Join Date:
Dec 2006
Location:
Victoria, Australia
Posts:
351
Plugin Contributions:
0

Re: Problem with images!!!

I am afraid I too am having no luck with multiple images.

I uploaded my images into the following directories (CMOD 777)

images/products/picture.jpg
images/medium/products/picture_MED.jpg
images/large/products/picture_LGE.jpg

I also tried:

images/products/picture.jpg
images/medium/products/picture.jpg
images/large/products/picture.jpg

In administration I edited the product page in both IE & Firefox and it made no difference.

I tried moving it another catagory and still no luck
I made sure that in product settings is was allowing multiple images also.

I am lost - Is this option really available? I am using v1.3.6
:lamo:

'E-Start your web store' book - I Got it and now ..... I GET IT !....Well alot more of it anyway (-:

13 Jan 2007, 5:40 AM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with images!!!

Is this a typo?
images/large/products/picture_LGE.jpg

Have you an URL that we can peek at and a real Product that is using this method? :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!