Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Picture do not show up.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-10-2005, 01:49 PM
 
jzammetti jzammetti is offline
 

Newbie
  
Join Date: Dec 2004
Location: DE
Posts: 9
 

Default Product Picture do not show up.

Hello:
I've read for but have not hit my target question so here goes. When I use the admin to create and populate a new category all goes well. I select a picture and that uploads... So I thought. When I view the category as a customer would the picture is no where in sight. Am I over looking the obvious?
__________________
Live everyday as your last....One day you will be right.



X-Cart Gold v4.0.9
Apache Unix
php
Reply With Quote
  #2  
Old 01-10-2005, 02:33 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Tons of possibilites here. Are you storing the images in your file system or database? Are you pulling the images from your server, hard drive or remote server?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-10-2005, 02:55 PM
 
jzammetti jzammetti is offline
 

Newbie
  
Join Date: Dec 2004
Location: DE
Posts: 9
 

Default Thank you for a fast reply

Ok Under "Images Location" in Admin Area Category Icons are stored under "File Systems" and the path is "/usr/local/4admin/apache/vhosts/pugwear.com/httpdocs/cart/images"
"Allow to store images only in the directory specified here*: " is CHECKED
"File size limit (bytes)**;" = 0

Okay category #32 has a graphic assigned to it. Below is a screen shot of my FTP showing the image.

-rw-rw-rw- 1 apache fadmin 32834 Jan 10 17:37 c_32.jpg

I do have the permissions set to RD/WT

Is there any coding dump to be helpful?

All help is much welcome
-Joe
__________________
Live everyday as your last....One day you will be right.



X-Cart Gold v4.0.9
Apache Unix
php
Reply With Quote
  #4  
Old 01-10-2005, 03:40 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Oh you are talking about CATEGORY icons...sorry, thought you were talking about product icons. You want the category icon to show up above the products, next to the description?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-10-2005, 04:20 PM
 
jzammetti jzammetti is offline
 

Newbie
  
Join Date: Dec 2004
Location: DE
Posts: 9
 

Default Yes Category Icon/Pictures

If I am correct the thinking was to upload a picture associated with your category in my world it world be a graphic of the shirt example tee, denim so on.

When I add a PRODUCT the picture is fine and shows the customer it's the PRODUCT graphic that is giving me the S**ts.
-Joe
__________________
Live everyday as your last....One day you will be right.



X-Cart Gold v4.0.9
Apache Unix
php
Reply With Quote
  #6  
Old 01-10-2005, 04:22 PM
 
jzammetti jzammetti is offline
 

Newbie
  
Join Date: Dec 2004
Location: DE
Posts: 9
 

Default CORRECTION

It's not the PRODUCT picture it is the CATEGORY picture...Sorry..
__________________
Live everyday as your last....One day you will be right.



X-Cart Gold v4.0.9
Apache Unix
php
Reply With Quote
  #7  
Old 01-10-2005, 04:36 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Ok, you will want to edit your subcategories.tpl. Look for this line of code:

Code:
{if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description|regex_replace:"/[\n]/":" "} {/if}

replace it with this:

Code:
{if ($navigation_page eq "")||($navigation_page eq "1")} <table width="100%"><tr><td>[img]{if $current_category.icon_url}{$current_category.icon_url}{else}{$xcart_web_dir}/icon.php?categoryid={$cat}{/if}[/img]</td> <td>{$current_category.description|regex_replace:"/[\n]/":" "}</td></tr> </table>{/if}

Let me know how it works.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 01-10-2005, 04:52 PM
 
jzammetti jzammetti is offline
 

Newbie
  
Join Date: Dec 2004
Location: DE
Posts: 9
 

Default AWESOME

You my friend are awesome!

What is your contractual rate?

Millie Grazie!!!

Thank You!
__________________
Live everyday as your last....One day you will be right.



X-Cart Gold v4.0.9
Apache Unix
php
Reply With Quote
  #9  
Old 01-10-2005, 04:53 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Well that depends, how much do you want to pay?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #10  
Old 01-10-2005, 04:58 PM
 
jzammetti jzammetti is offline
 

Newbie
  
Join Date: Dec 2004
Location: DE
Posts: 9
 

Default Contact me off board

Contact me off board

goto www.pugwear.com Click on live help we'll chat there.
__________________
Live everyday as your last....One day you will be right.



X-Cart Gold v4.0.9
Apache Unix
php
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:32 AM.

   

 
X-Cart forums © 2001-2020