X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   TelaFirma - X-Cart Dynamic Image Generator (https://forum.x-cart.com/showthread.php?t=17757)

ach 11-13-2006 06:40 PM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
I've been trying to get in touch with telafirma to help me out with the following error that appears whenever a product thubmnail with a special offer is supposed to appear.

Fatal error: Maximum execution time of 120 seconds exceeded in /home/flowersb/public_html/Smarty-2.6.9/plugins/function.thumb.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 224

Does anyone have any idea what the problem could be? The mod has been working perfectly for about 6 months now and all of a sudden products aren't appearing. Also is telafirma still in business? I've been trying to get in touch with them for a while.

ranger82nd 11-14-2006 07:38 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Quote:

I've been trying to get in touch with telafirma to help me out
Yea, good luck with that!
I asked him to do a rework on his mod (for $$ of course), he agreed, told me to send my login authentication information and poof! Gone!
The thing that really puts the steam in my shorts is he encrypts his php files so now I can't even try to do it myself.
Too bad, it is a great mod, but the support sux....

jessej 11-16-2006 11:40 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
I would love this for 4.1 :(

prodij 11-28-2006 01:24 PM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
same here.. waiting..

JWait 11-28-2006 09:48 PM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
For 4.1.x versions of x-cart, you might be better of using the other image generator, the cerdmann one. There is a thread at http://forum.x-cart.com/showthread.php?t=24233 that discusses this. Telefirma has stated that one of the problems with the 4.1.x version is the way images are handled, and he is not working on a mod until it is stable.

NightFire 12-02-2006 02:20 PM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Would be nice if this mod can be customized so the detailed image will be showed as a light-box instead of a pop-up.
As the code of the mod is decoded we cannot edit the source ;(

ranger82nd 12-03-2006 04:17 PM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Quote:

Originally Posted by NightFire
Would be nice if this mod can be customized so the detailed image will be showed as a light-box instead of a pop-up.
As the code of the mod is decoded we cannot edit the source ;(

I figured out a way to get it to work!
It uses Telafirma's cached thumbs, but not the fullsize image. All-in-all it's not bad.
I'll post the code when I get a few minutes!
You can see it work at http://www.autographedathlete.com

NightFire 12-03-2006 11:42 PM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Quote:

Originally Posted by ranger82nd
I figured out a way to get it to work!
It uses Telafirma's cached thumbs, but not the fullsize image. All-in-all it's not bad.
I'll post the code when I get a few minutes!
You can see it work at http://www.autographedathlete.com



Just checked your site. Looks very nice. Is it also possible to use the cached thumbs AND the cached rezided detailed images? That would be even more better. Cause I upload very large resolutions, and they're just resized to the settings.
Can't wait to see the code :-)

ranger82nd 12-05-2006 06:29 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
I've been unsuccessful trying to get the "larger" images to the cached version. Although thickbox does do its own resizing. Here's what I did.

Completely replace the contents of thickbox_productpage.tpl with this:
Code:

{if $images ne ""}
<div style="white-space:nowrap;color:#D90000;font-weight:bold;padding:2px;margin:10px 0 4px;">{$lng.lbl_detailed_images} <img src="{$SkinDir}/thickbox/files/zoom.gif" style="border:0;" alt="{$lng.lbl_click_to_enlarge|escape}" /></div>
{section name=image loop=$images}
{if $images[image].avail eq "Y"}
{if $images[image].tmbn_url}
<a href="{$images[image].tmbn_url}" title="{$images[image].alt|escape}" class="thickbox" rel="[detailed]">{include file="product_thumbnail.tpl" productid=$product.productid image_x=$config.Appearance.dthumb_image_width product=$product.product tmbn_url=$images[image].tmbn_url alt=$images[image].alt|escape}</a>
{/if}
{/if}
{/section}
{/if}


Next, your product.tpl find:
Code:

{* New Dynamic Image Mod - TelaFirma *}
{if $product.tmbn_url}
{math equation="(z/(y/x))+65" y=$product.image_x x=$config.Appearance.popup_image_width z=$product.image_y assign="p_y" format="%.d"}
<a href="javascript:void(0)" onClick="window.open('{$xcart_web_dir}/thumb_popup.php?productid={$product.productid}','mywindow','width={$config.Appearance.popup_image_width},height={$p_y}')">
{/if}
<br><br>
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$config.Appearance.product_image_width product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" class="NoBorder" alt=$product.product|escape}{if $product.tmbn_url}</a>{/if}
<br>
{if $images[0].imageid ne""}
{include file="modules/Detailed_Product_Images/product_images_detail.tpl"}
{/if}
{* /New Dynamic Image Mod - TelaFirma *}

and replace it with:
Code:

{if $product.tmbn_url}
<a href="{$product.tmbn_url}" title="{$product.product|escape}" class="thickbox" rel="[detailed]">{include file="product_thumbnail.tpl" productid=$product.productid image_x=$config.Appearance.product_image_width product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" alt=$product.product|escape}
{if $product.tmbn_url}<div align="center" class="SmallText">+ Click to Enlarge</div></a>{/if}
{/if}
<br>
{if $images[0].imageid ne""}
{include file="thickbox/thickbox_productpage.tpl" }
{/if}

That should do it!

NightFire 12-05-2006 06:32 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Hi ranger82nd,

Thanks for your reply. Unfortunately I haven't got the thickbox files, likes images, js scripts etc.. Maybe I have overlooked something?
Or should I download those thickbox files from somewhere?


All times are GMT -8. The time now is 09:02 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.