![]() |
Re: create thumbs from large image
Using 4.1.3 and I have the image saved for product.
does something need to be modified in products_t.tpl?? Looking at the templates it looks like it needs to.??????????? Quote:
|
Re: create thumbs from large image
I did not have to modify anything in products_t.tpl for it to work. When you say your category list, do you mean the product listings? Is there a link where I can see this?
|
Re: create thumbs from large image
Here is the link: http://www.chairsbydesign.com/shop/home.php?cat=1
Quote:
|
Re: create thumbs from large image
You are right. I did not notice it because I am not using the multi-column format for my product listings.
So find this line of code: Code:
<a href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}">{include file="product_thumbnail.tpl" .... } Code:
tmbn_path_p=$products[product].p_image_path tmbn_link="false" tmbn_width="100" That should fix it. Thanks for pointing that out! Let me know if it does not work for you. |
Re: create thumbs from large image
Nope no go. This is what I ended up with..
Code:
<a href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}">{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url tmbn_path_p=$products[product].p_image_path tmbn_link="false" tmbn_width="100"}</a> Quote:
|
Re: create thumbs from large image
After </a> put this:
Code:
Path={$products[product].p_image_path} And see if it ouputs an image path Also, make sure you clear your templates_c folder and your browser cache. |
Re: create thumbs from large image
Quote:
I think the big difference between the 4.0.x versions and the 4.1.x versions of x-cart is that function.php was broken up into sections in the newer version... func.product.php is one of those sections. |
Re: create thumbs from large image
Added that and nothing shows up "Path="
Quote:
|
Re: create thumbs from large image
Just wanted to say that I changed the product last back to stanard view and it still doesn't show the thumbnail. I've gone back to review all the steps again and I'm sure I've done all that was needs. Is there anything in the store config that I need to update or change?
|
Re: create thumbs from large image
Make sure you added the code to include\search.php (step 7). It is not pulling the image path from the database.
If that code is added, then find the following in include/search.php around line 730 Code:
else { Code:
echo $search_query; Then take the output and run it in phpMySqlAdmin or something like it to view the results. See if there is a column named p_image_path and what the value is for it. |
All times are GMT -8. The time now is 12:51 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.