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

TelaFirma Dynamic Image Mod + Thickbox 2.2

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #51  
Old 08-04-2007, 08:37 AM
  Jayk's Avatar 
Jayk Jayk is offline
 

eXpert
  
Join Date: Nov 2003
Location: Calgary, Alberta, Canada
Posts: 333
 

Default Re: TelaFirma Dynamic Image Mod + Thickbox 2.2

I think the first time you view a product with the mod it's pretty memory intense as it generates all the cached images. After creating a new product, I've had it time out on the first view as the cached images are being generated and then it's fine after that.

Jason
__________________
X-Cart Gold 4.4.3
Blog: www.flashinthepan.ca
Reply With Quote
  #52  
Old 08-04-2007, 08:52 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: TelaFirma Dynamic Image Mod + Thickbox 2.2

Well what I found out is unless I make my thumbnails the exact or smaller size as defined in "Thumbnail width in the products list:" in General Setting::Appearance, this will happen as well as being over 150 bytes wide... I guess?

Also, at this point I still cannot import my 1500+ products db, so for now I have manually created just one product. So it is not a matter of caching the images. What worries me is that under 4.0.16 I didn't have to do anything. I just upload my images and it automatically resized them for the thumbnail. I hope that this does not mean that I am going to have to go and manually resize all of my thumbnail images....
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #53  
Old 08-04-2007, 09:11 AM
  Jayk's Avatar 
Jayk Jayk is offline
 

eXpert
  
Join Date: Nov 2003
Location: Calgary, Alberta, Canada
Posts: 333
 

Default Re: TelaFirma Dynamic Image Mod + Thickbox 2.2

Just a question, are you using the Telafirma mod, or did you get the one from dfawdon that Qualiteam did up?

Jason
__________________
X-Cart Gold 4.4.3
Blog: www.flashinthepan.ca
Reply With Quote
  #54  
Old 08-04-2007, 09:27 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: TelaFirma Dynamic Image Mod + Thickbox 2.2

On my 4.0.16 system I am using the Telefirma Mod. On the 4.1.8 system I am using the one Qualiteam set up.
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #55  
Old 08-08-2007, 03:48 PM
 
OpheliaPayne OpheliaPayne is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 130
 

Default Re: TelaFirma Dynamic Image Mod + Thickbox 2.2

Is this code for sale? Can people still chip in? I am more than willing to donate to get the code and how to on the installation of it.
__________________
xCart 4.6.1
Reply With Quote
  #56  
Old 08-10-2007, 03:41 PM
 
balinor balinor is offline
 

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

Default Re: TelaFirma Dynamic Image Mod + Thickbox 2.2

TelaFirma is back:

http://forum.x-cart.com/showthread.php?t=33191
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #57  
Old 08-14-2007, 09:45 AM
  Jayk's Avatar 
Jayk Jayk is offline
 

eXpert
  
Join Date: Nov 2003
Location: Calgary, Alberta, Canada
Posts: 333
 

Default Re: TelaFirma Dynamic Image Mod + Thickbox 2.2

Quote:
Originally Posted by Jayk
If there's enough interest, maybe we could approach Qualiteam to find out how much it would cost to get this working with variant images in 4.1.x. I know I definitely would like to see this.

Jason

To reply to my own post, I did a bit of a hack to get the variant images working with the mod that dfawdon had Qualiteam produce.

I added an if statement into product_thumbnail.tpl that excluded variant images from the new code. This works great on my setup as the variant images on the product detail pages aren't scaled and thus don't need the sharpening, etc.

Here is my product_thumbnail.tpl in case anyone else is interested.

Code:
{* $Id: product_thumbnail.tpl,v 1.19 2005/11/17 06:55:36 max Exp $ *} {strip} {if $usertype eq 'A' || $usertype eq 'P'} {assign var="tfile" value=$tmbn_url|replace:"`$http_location`/":"../"|replace:"`$https_location`/":"../"}{else}{assign var="tfile" value=$tmbn_url|replace:"`$http_location`/":""|replace:"`$https_location`/":""}{/if}{if !$class}{assign var="class" value="NoBorder"}{/if}{if !$sharpen}{assign var="sharpen" value="true"}{/if}{if !hint}{assign var="hint" value="false"}{/if}{if !overlay_position}{assign var="overlay_position" value="5"}{/if} {if $config.Appearance.show_thumbnails eq "Y"} {if $type ne "W"} {if $tmbn_url} {thumb file="$tfile" width="$image_x" link="false" hint="false" overlay_position="$overlay_position" overlay="$overlay" sharpen="$sharpen" get_image_path="$get_image_path" html="class=\"$class\" alt=\"`$alt`\""} {else}<img {if $id}id="{$id}" {/if}src="{if $full_url}{$http_location}{else}{$xcart_web_dir}{/if}/image.php?type={$type|default:"T"}&amp;id={$productid}{if $file_upload_data.file_path}&tmp=y{/if}"{if $image_x ne 0} width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}"{if $align} align="{$align}"{/if}{if $class} class="{$class}"{/if}> {/if} {else}<img{if $id ne ''} id="{$id}"{/if} src="{if $tmbn_url}{$tmbn_url}{else}{if $full_url}{$http_location}{else}{$xcart_web_dir}{/if}/image.php?type={$type|default:"T"}&amp;id={$productid}{/if}"{if $image_x ne 0} width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}" /> {/if} {/if}{/strip}

Jason
__________________
X-Cart Gold 4.4.3
Blog: www.flashinthepan.ca
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 09:26 PM.

   

 
X-Cart forums © 2001-2020