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

Dynamic Images for X-Cart version 4.1.x

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #71  
Old 11-06-2007, 03:37 PM
 
mltriebe mltriebe is offline
 

Senior Member
  
Join Date: Mar 2006
Posts: 137
 

Default Re: Dynamic Images for X-Cart version 4.1.x

Great mod should be a real time saver for me. I had a small problem with the instructions but he was very helpful in resolving the issue.

Thanks, Mike
__________________
X-Cart 4.3.1
Buy Together Module, AlteredCart
CDSEO Pro
One Page Checkout, AlteredCart
Smart Search, AlteredCart
On Sale, AlteredCart
Reply With Quote
  #72  
Old 11-10-2007, 12:33 PM
  Owl's Avatar 
Owl Owl is offline
 

Advanced Member
  
Join Date: Mar 2003
Location: Sweden
Posts: 92
 

Default Re: Dynamic Images for X-Cart version 4.1.x

I ordered it a couple of days ago, it works fine.

BUT i never got the switch image function for the 4.0.x version, anyone know how to get it to work. I have a deadline tomorrow on that function, so need an answer quick please =)
__________________
-----------------------------------
4.2 rox...

http://www.fivestar.nu | www.nystil.se | www.hidealite.se
Reply With Quote
  #73  
Old 11-12-2007, 01:32 AM
  Owl's Avatar 
Owl Owl is offline
 

Advanced Member
  
Join Date: Mar 2003
Location: Sweden
Posts: 92
 

Default Re: Dynamic Images for X-Cart version 4.1.x

I got the files from telefirma, thanks

But

a. the switch function does not work in IE6.
b. the recommended products dosent show pictures any more.
__________________
-----------------------------------
4.2 rox...

http://www.fivestar.nu | www.nystil.se | www.hidealite.se
Reply With Quote
  #74  
Old 11-12-2007, 06:41 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default Re: Dynamic Images for X-Cart version 4.1.x

The recommended products do not show thumbnails by default in X-Cart. In addition, when building the products array for the recommended products, X-Cart does not add the URL of the thumbnail.

To fix this in version 4.0.x, open the /recommends.php file and add these lines:

Code:
if (!empty($recommends)) { foreach ($recommends as $k=>$v) { $recommends[$k]["tmbn_url"] = func_get_thumbnail_url($v["productid"]); } }

right before the line:

$smarty->assign("recommends",$recommends);

This will add the thumbnail URL to the recommended products array and then allow it to pass that URL to the mod.

Also - I have emailed you the files that address the issues with some versions of IE6.
Reply With Quote
  #75  
Old 11-22-2007, 09:54 PM
 
naemsmommy naemsmommy is offline
 

Senior Member
  
Join Date: Jul 2007
Posts: 144
 

Default Re: Dynamic Images for X-Cart version 4.1.x

Mine doesn't do that image swap, is there already a newer version out?

Also, I would love to be able to control both the height and width of images. Ideally, I'd like to set a max height and a max width. For example, if I set my max height and max width for thumbnails to 100px, and then upload a thumbnail that is 200x100, it will resize to 100x50. If I uploaded one that was 100x200, it would resize to 50x100. Is that possible? My current site (not X-Cart) does that and I love it! Otherwise, some product images look very odd, like these thumbnails for instance: http://www.babyplanetboutique.com/xcart/baby-store/cleansers-and-moisturizers

And this product image for example:
http://www.babyplanetboutique.com/xcart/baby-products/bare-organics-all-in-one-cleanser.html

Thanks!
__________________
Danielle
Reply With Quote
  #76  
Old 11-23-2007, 05:31 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default Re: Dynamic Images for X-Cart version 4.1.x

This would take a little custom coding. Contact me as scouch@telafirma.com to discuss.
Reply With Quote
  #77  
Old 11-23-2007, 12:13 PM
 
TL408 TL408 is offline
 

X-Adept
  
Join Date: Jan 2005
Posts: 549
 

Default Re: Dynamic Images for X-Cart version 4.1.x

Hi Stephen,

I have been sending you multiple messages over the past several days but did not receive a reply. I would certainly appreciate if you would reply to my message to let me know one way or another.

From your previous message on 10/30, I was under the impression it was a quick fix to correct the problem and should only take a day or two to make it work properly on Windows/IIS. But has over 3 weeks now. With you stopped replying to my message, I have decided to go with a different alternative.

Please go ahead and refund my payment. I will be more than happy to re-purchase your software again when you can get it to work properly on the Windows/IIS platform. (I think you should update your product description page and exclude the Windows/IIS platform.)

Thank you
-Tuan
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9
Reply With Quote
  #78  
Old 11-25-2007, 09:50 AM
 
ach21 ach21 is offline
 

Member
  
Join Date: Oct 2007
Posts: 11
 

Default Re: Dynamic Images for X-Cart version 4.1.x

Quote:
Originally Posted by maineiac
Thank you for this wonderful add-on! It's working almost perfectly for me. So far, the problem I'm encountering happens only in IE7 - if a product does not have any detailed images, then when clicking on the product image it opens in the same window. I've found that if I do have a detailed image for the product and disable the detailed image, then IE7 is fine with it and opens in the lightbox as intended. Any ideas? This is on v4.1.8


I'm having the same problem with IE7. What did you do to get this fixed?
__________________
4.1.9
Reply With Quote
  #79  
Old 11-25-2007, 10:53 AM
 
ach21 ach21 is offline
 

Member
  
Join Date: Oct 2007
Posts: 11
 

Default Re: Dynamic Images for X-Cart version 4.1.x

Solved. Stephen sent the updated version of his mod.

Good response time.
__________________
4.1.9
Reply With Quote
  #80  
Old 11-26-2007, 08:21 AM
 
ach21 ach21 is offline
 

Member
  
Join Date: Oct 2007
Posts: 11
 

Default Re: Dynamic Images for X-Cart version 4.1.x

I know this isn't part of the mod but I was wondering if anyone was able to display thumnails in the related products section (upselling).

I am using the 3column mod from the following post:
http://forum.x-cart.com/showpost.php?p=178759&postcount=36

but the thumbnails won't show and was wondering if anyone knows how to make them appear.


Code:
{* $Id: related_products.tpl,v 1.15 2005/12/07 14:07:32 max Exp $ *} {if $product_links ne ""} {capture name=dialog} {assign var="tmp" value="0"} {section name=cat_num loop=$product_links} {if $product_links[cat_num].productid}{assign var="tmp" value="1"}{/if} {/section} {section name=cat_num loop=$product_links} { if %cat_num.first% } <table border="0" cellspacing="0" width="100%"> <tr> {/if} {if $smarty.section.cat_num.index is div by 3} </tr><tr> {/if} <td align="center"> <div class="relatedsidebox"> <div class="relatedboxhead"><p> &nbsp; </p></div> <div class="relatedboxbody"> <a style="text-decoration: none;" href="product.php?productid={ $product_links[cat_num].productid }"{if $config.Modules.upselling_new_window eq 'Y'} target="_blank"{/if}> {include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=$config.Appearance.thumbnail_width product=$product_links[cat_num].product type="T"}</a> <br> <a style="color: #FFFFFF" href="product.php?productid={ $product_links[cat_num].productid }"{if $config.Modules.upselling_new_window eq 'Y'} target="_blank"{/if}> <b>{ $product_links[cat_num].product}</b> </a> <br> <font class="ProductPriceRelated">{include file="currency.tpl" value=$product_links[cat_num].taxed_price}</font> {if $product.taxes}<font class="ProductPriceVatRelated"> {include file="customer/main/taxed_price.tpl" taxes=$product.taxes}</font> {/if} </div> </div> </td> { if %cat_num.last% } </tr></table> {/if} {/section} {/capture} {include file="dialog.tpl" title="Related products" content=$smarty.capture.dialog extra="width=100%"} {/if}
__________________
4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 12:46 PM.

   

 
X-Cart forums © 2001-2020