![]() |
Re: TelaFirma - X-Cart Dynamic Image Generator
Hi, I used Lightbox2 instead as that seems fine in IE.
|
Re: TelaFirma - X-Cart Dynamic Image Generator
Quote:
You did not provide any information about what you mean by "not working". You do need to know about the patch in this thread to get rid of javascript errors in IE7 with the shadowbox. |
Re: TelaFirma - X-Cart Dynamic Image Generator
Quote:
So, as a newbie, I downloaded the two .php files but what do I do with them? Am I replacing the function.thumb.php file I have now with the new one? I am confused! Also, Telefirma's says that it handles all needed image sizes for a product. Does this product do this too or does it just make thumbnails? |
Re: TelaFirma - X-Cart Dynamic Image Generator
Hi rtraction,
I have been caught as well with this mod, I would be willing to donate something to get the complete list of changes I need to make to get this working again, we have two sites that are now broken due to this and I've had to remove the mod in the short term. Please PM me if this is an option. Cheers Tony |
Re: TelaFirma - X-Cart Dynamic Image Generator
Hi,
Does anyone know how to fix the category image issue? I am unable to get category images to upload? |
Re: TelaFirma - X-Cart Dynamic Image Generator
Change the SQL patch to:
INSERT INTO `xcart_config` VALUES ('di_product_image_width', 'Image width on Product Page', '200', 'Dynamic_Images', 10, 'numeric', '200', '', ''); Then it should work for 4.1.10 |
Re: TelaFirma - X-Cart Dynamic Image Generator
Hi
thanks for the reply, i think as the patch has been partially applied, just changing one line will not do the trick. i can look at each statement on the patch and delete, so a working patch can be run again. are there any other changes i need to make? thanks for your help, telafirma seem to be useless. |
Re: TelaFirma - X-Cart Dynamic Image Generator
As mentioned in an earlier post, after TelaFirma disappeared, we needed to update their module to work with any domain. This involves downloading the free smarty image function and changing some of Dynamic Images code.
Download thumb_imp: https://sourceforge.net/project/showfiles.php?group_id=205464 This archive has two files: function.thumb.php and function.thumb_imp.php. They go in: /include/templater/plugins/ There is an existing function.thumb.php file in this folder. Rename or replace that file. If you open function.thumb_imp.php, you can see the code. There are a number of new parameters that you may want to take advantage of. We need to update the Dynamic_Images code to work with this module. The main problem is the file parameter. /include/func/func.product.php replace line 637: Code:
$result[$key]["tmbn_url"] = func_get_image_url($value['productid'], 'T', $value['image_path']); with: Code:
$result[$key]["tmbn_url"] = $value['image_path']; /skin1/modules/Dynamic_Images/product_image.tpl replace line 41: Code:
<a rel="{$rel}" href="{thumb file=$product.tmbn_url width=$config.Dynamic_Images.di_detail_popup_width linkonly="Y"}" title="{$product.product}" class="NoBorder"> with: Code:
<a rel="{$rel}" href="{$product.tmbn_url_T}" title="{$product.product}" target="_blank"> replace line 86: Code:
<a href="{thumb file=$v.image_url width=$config.Dynamic_Images.di_detail_popup_width linkonly="Y"}" title="{$product.product}" rel="{$rel}" class="NoBorder"> with: Code:
<a href="{$v.image_url}" title="{$v.productcode}" rel="{$rel}" class="NoBorder" target="_blank"> replace line 113: Code:
<a href="{thumb file=$images[image].image_path width=$config.Dynamic_Images.di_detail_popup_width linkonly="Y"}" title="{$images[image].alt}" rel="{$rel}" class="NoBorder"> with: Code:
<a rel="{$rel}" href="{$images[image].image_path}" target="_blank"> /skin1/modules/Dynamic_Images/product_thumbnail.tpl This isn't necessary, but we wanted to use the longside parameter in the new function. You can pass any parameters in that are defined in thumb_imp. replace line 20: Code:
{thumb file=$tmbn_url width=$image_x special=$special load=$load email=$email class=$class alt=$alt id=$id name=$name} with: Code:
{thumb file=$tmbn_url longside=$image_x width=$image_x special=$special load=$load email=$email class=$class alt=$alt id=$id name=$name} /skin1/customer/main/cart.tpl replace line 27: Code:
{include file="modules/Special_Offers/customer/product_offer_thumb.tpl" product=$products[product]} with: Code:
{include file="product_thumbnail.tpl" productid=$imageid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].image_path type=$products[product].is_pimage} There may be information missing here; let us know and we'll update this post. |
Re: TelaFirma - X-Cart Dynamic Image Generator
Hi
thanks for the info! i am just in the process of updating my files, i wanted to ask you if there was any database modifications that need to be carried out? also as the SQL patch was the first stage and i couldnt complete that i did not carry out the rest of the installational instructions for the dynamic mod, shall i carry out the rest of the steps for the mod? (editing all the templates)? thanks |
All times are GMT -8. The time now is 06:10 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.