Forums / All Other Contributions/Addons / My pictures aren't showing ... Image handler

My pictures aren't showing ... Image handler

Locked

Started by lmw1 on 1 Feb 2008, 4:06 AM · Views: 1,596

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
1 Feb 2008, 4:06 AM
#1
lmw1 avatar

lmw1

Zen Follower

Join Date:
Mar 2007
Posts:
105
Plugin Contributions:
0

My pictures aren't showing ... Image handler

My store is 'almost' ready to go, however I have one problem...my pictures aren't showing. Aaaaarrrgggh!

I've named all my folders correctly in my images directory, but when I go to add a new products image, in the dropdown box it only says "Main Directory" my category folders aren't there.

I'm thinking this is a path problem. Does anyone know where to set the right path to my images directory so it will recognize my category folders? And therefore show up in the dropdown box in the 'add a new product' section?

Any help would be appreciated.

The link to the site is: https://www.operfumes.com

Thanks in Advance!
Len

1 Feb 2008, 2:42 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: My pictures aren't showing ... Image handler

Your images are coming up with a display-height of 0. That's why they're not showing.

<img src="images/s_women/SPLENDOR.jpg" alt="SPLENDOR" title=" SPLENDOR " width="125" **height="0" **/>

This can happen for a few reasons:

  • bad image files ... perhaps they're not really jpg files even though they've been named as such
  • your admin settings for images is set to use 0 height (although 0 usually means to auto-determine height, not to use '0' specifically). What have you changed for images settings via the admin?
  • you have addons installed which have changed the normal calculation logic used by Zen Cart to size images. What addons do you have installed?

You may have to compare your code vs the original code and find out what pieces are broken. http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Feb 2008, 4:05 AM
#3
lmw1 avatar

lmw1

Zen Follower

Join Date:
Mar 2007
Posts:
105
Plugin Contributions:
0

Re: My pictures aren't showing ... Image handler

I have Image Handler and Better Categories installed. That's it.

I wonder how the pictures got a 0 height?

Thanks in Advance,
Len

2 Feb 2008, 4:18 AM
#4
lmw1 avatar

lmw1

Zen Follower

Join Date:
Mar 2007
Posts:
105
Plugin Contributions:
0

Re: My pictures aren't showing ... Image handler

Also, where is the code located that you have listed above so that I can change it?

I have no settings in my admin area for images set to '0'.

Thanks,
Len