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)

simonv74 02-05-2008 05:29 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Steve,

Going back to the problems I'm experiencing getting the drop down quantity boxes showing through the image on the pop-up layer, I wonder if you could take a look at this website:

http://www.galaday.com/

They seem to have the pop-up layers showing over the quantities box.

How do they do this?!

TelaFirma 02-05-2008 09:38 AM

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

Originally Posted by simonv74
Steve,

Going back to the problems I'm experiencing getting the drop down quantity boxes showing through the image on the pop-up layer, I wonder if you could take a look at this website:

http://www.galaday.com/

They seem to have the pop-up layers showing over the quantities box.

How do they do this?!


This is a bug in IE5.5 and IE6. Even through MS will not admit that it is a bug, they did fix it in IE7. What is happening is that for some reason MS decided to have the SELECT elements be rendered by the OS rather than by the browser. This gives it precedence over any DHTML or windowless element (same reason that your CSS styling for selects do not work in IE6).

There are only two solutions to this - either shove and empty IFRAME under the DHTML popup or hide the select elements while the popup is active. The IFRAME solution sucks so I have been playing with another solution for this.

This is completely untested so... (you know the drill). If you would like to try this out on your site and see if it works for you, here is what needs to be modified:

Edit /skin1/customer/main/product.tpl and find the <form> line:
Code:

<form name="orderform" method="post" action="cart.php?mode=add" onsubmit="javascript: return FormValidation();">

and add and ID tag to it:

Code:

<form id="cartselect" name="orderform" method="post" action="cart.php?mode=add" onsubmit="javascript: return FormValidation();">

Next open the file /skin1/thumbnailviewer/thumbnailviewer.js

Insert this at the top right under the comments:
Code:

function hideSelect()
{if (document.all){document.all.cartselect.style.visibility="hidden";}}

function unhideSelect()
{if (document.all){document.all.cartselect.style.visibility="visible";}}


Find the line:
Code:

showthumbBox:function(){ //Show ThumbBox div

and add this right below it
Code:

hideSelect()

Find the line:
Code:

closeit:function(){ //Close "thumbbox" div function

and add this right below it
Code:

unhideSelect()

What this will do is hide the form when the popup is open and then show it again when the popup is closed.

simonv74 02-06-2008 01:40 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Wonderful, works like a charm, thank you very much!

I have installed the recently viewed mod now too - http://forum.x-cart.com/showthread.php?t=36753&highlight=new+products - however, the images shown aren't being drawn from the dynamic images mod but are referencing the actual images uploaded (so, they are grainy/squashed), do you have any ideas on a quick fix for this?

Once again, many thanks

TelaFirma 02-06-2008 03:38 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
This is untested but...

replace
Code:

<script type="text/javascript">
prodImage='<img src="{$product.tmbn_url}"/>';
prodName='<{$product.product}>';
var p0=('<br/><a href="'+document.URL+'">'+prodImage+'<br/>{$product.product}</a><br/>${$product.taxed_price}<br/>');
</script>

with
Code:

<script type="text/javascript">
prodImage='<img src="{$product.tmbn_url}"/>';
prodName='<{thumb file=$product.tmbn_url width=80 linkonly=Y}>';
var p0=('<br/><a href="'+document.URL+'">'+prodImage+'<br/>{$product.product}</a><br/>${$product.taxed_price}<br/>');
</script>


Also note that the width was set to the same width that was in the CSS.

simonv74 02-06-2008 03:51 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Many thanks for the speedy response Steve, but...

It didn't work :(

Is there anything else you think could do it?

Thank you

simonv74 02-06-2008 07:33 AM

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

Yet another query I'd like your assistance on!

When trying to insert/update category images, the default 'no image available' does not show, nor does the image uploaded show when editing in admin.

The image uploads, yet won't show on the customer side either.

Reversing the action in step 6 (
/skin1/main/edit_image.tpl) removes the problem, however, once doing that the rest of the product adding/editing won't allow the upload of one image for dynamic images.

Help!


TelaFirma 02-06-2008 09:47 AM

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

Originally Posted by simonv74
Many thanks for the speedy response Steve, but...

It didn't work :(

Is there anything else you think could do it?

Thank you


Try changing linkonly=Y to linkonly=true

simonv74 02-06-2008 09:58 AM

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

Originally Posted by TelaFirma
Try changing linkonly=Y to linkonly=true


No, unfortunately still the same.

TelaFirma 02-06-2008 03:13 PM

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

Originally Posted by simonv74
Hi Steve,

Yet another query I'd like your assistance on!

When trying to insert/update category images, the default 'no image available' does not show, nor does the image uploaded show when editing in admin.

The image uploads, yet won't show on the customer side either.

Reversing the action in step 6 (
/skin1/main/edit_image.tpl) removes the problem, however, once doing that the rest of the product adding/editing won't allow the upload of one image for dynamic images.

Help!



On step 6 change the line

Code:

{if $active_modules.Dynamic_Images}

to

Code:

{if $active_modules.Dynamic_Images && $main ne "category_modify"}

mistaegoista 02-06-2008 11:21 PM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Hello!

I sent you a PM with all of our purchase info. Tried to send you another one but seems that you're over the Inbox quota. Have you by any chance responded to any of the e-mails included in the first PM?

simonv74 02-07-2008 12:56 AM

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

Originally Posted by TelaFirma
On step 6 change the line

Code:

{if $active_modules.Dynamic_Images}

to

Code:

{if $active_modules.Dynamic_Images && $main ne "category_modify"}


Thanks Steve, that has rectified it now.

TelaFirma 02-07-2008 02:49 AM

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

Originally Posted by mistaegoista
Hello!

I sent you a PM with all of our purchase info. Tried to send you another one but seems that you're over the Inbox quota. Have you by any chance responded to any of the e-mails included in the first PM?


Yes - it was sent to you on the 5th.

canuck 02-18-2008 06:57 PM

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

I'm using the Telafirma image mod - is there a way to keep my original image file name as at least part of the file name on the main product page? Right now it getes turned in to a long random string like /images/cache/19c3k43kk.jpg but I want it to be /images/cache/partnumber.jpg or at least keep the part# somewhere in there.

TelaFirma 02-18-2008 07:06 PM

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

Originally Posted by canuck
Hi,

I'm using the Telafirma image mod - is there a way to keep my original image file name as at least part of the file name on the main product page? Right now it getes turned in to a long random string like /images/cache/19c3k43kk.jpg but I want it to be /images/cache/partnumber.jpg or at least keep the part# somewhere in there.


The string that is generated for the filename has a purpose. It is so that the mod can tell if another image with the all the same parameters has been generated before and it it has then it uses the one that was generated rather than doing it all over again.

It may be possible to retain part of the image name or even the SKU of the product as part of that filename with some custom coding. Please contact me to discuss.

mistaegoista 02-18-2008 10:46 PM

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

Seems I forgot to give any feedback concerning your update of the module that got rid of the smaller-than-set image resizing - got swept away by other work.

The module works perfectly now, everything is as it should be. Thank you for your swift response.

Best regards,

Primoz

xcarter 02-19-2008 03:33 PM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
I recently purchase the Image Mod for 4.0 and have had to upgrade X-Cart to 4.1
Am I able to get the necessary files to upgrade this mod to 4.1?

Anyone know what I can do?
Is it required to buy the new mod? - I don't exactly think this is fair, if so.

balinor 02-19-2008 03:51 PM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Why don't you contact Stephen directly via his web site?

xcarter 02-19-2008 03:58 PM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
I have - I haven't received any response.
:(

photo 02-21-2008 09:45 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Does anyone know if this mod is compatible with Firetanks Featured Product Manager?


Thanks

TelaFirma 02-21-2008 03:59 PM

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

Originally Posted by photo
Does anyone know if this mod is compatible with Firetanks Featured Product Manager?


Thanks


It can be.... :D

photo 02-21-2008 04:04 PM

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

Originally Posted by TelaFirma
It can be.... :D


You mean for some extra cash?

pcparts 02-21-2008 10:08 PM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Re-Does anyone know if this mod is compatible with Firetanks Featured Product Manager? what do you wont to know photo?
I have both all working fine here.on 4.1.9

photo 02-22-2008 02:12 AM

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

Originally Posted by pcparts
Re-Does anyone know if this mod is compatible with Firetanks Featured Product Manager? what do you wont to know photo?
I have both all working fine here.on 4.1.9


What size(not height/width) are the images? If telafirma's mod is pulling the image from the large detailed image does it reduce down the image size in bites before "feeding" it to featured product manager? Otherwise, say you used template 7 with 6 products, your page would take a half an hour to load.

Thanks

pcparts 02-22-2008 02:20 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Pm sent of details of our site.

TelaFirma 02-22-2008 02:57 AM

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

Originally Posted by photo
You mean for some extra cash?


Not necessarily. Just a simple addition in the templates should take care of it.

TelaFirma 02-22-2008 02:59 AM

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

Originally Posted by photo
What size(not height/width) ...does it reduce down the image size in bites before ...


That is the purpose of the Dynamic Images Mod...

PhilJ 02-22-2008 06:20 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Any idea how to centre the watermark on the images?

photo 02-22-2008 08:20 AM

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

Originally Posted by TelaFirma
Not necessarily. Just a simple addition in the templates should take care of it.


Can you elaborate on this?

TelaFirma 02-22-2008 09:39 AM

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

Originally Posted by PhilJ
Any idea how to centre the watermark on the images?

That ability is not built in. It is meant to be at the bottom of the image. I will have to see what it would take to put it somewhere else.

TelaFirma 02-22-2008 09:42 AM

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

Originally Posted by photo
Can you elaborate on this?


I would have to see their templates to tell you exactly what to do. However I am sure that their mod builds and uses a product array. As part of that product array, the thumbnail URL should be included (which I know it is by looking at their example - it uses a physical location for the image rather than using image.php).

Since the thumbnail URL is provided as part of the info in the product array, all that has to be done is pass that to the image mod.

photo 02-22-2008 09:48 AM

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

Originally Posted by TelaFirma
I would have to see their templates to tell you exactly what to do. However I am sure that their mod builds and uses a product array. As part of that product array, the thumbnail URL should be included (which I know it is by looking at their example - it uses a physical location for the image rather than using image.php).

Since the thumbnail URL is provided as part of the info in the product array, all that has to be done is pass that to the image mod.


Thank you for the responce.
One more quick question, can you have a seperate product and thumb image if you want or do they all have to be based off the detailed image?

Thanks

PhilJ 02-22-2008 06:20 PM

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

That ability is not built in. It is meant to be at the bottom of the image. I will have to see what it would take to put it somewhere else.
OK, be much better if you could position the watermark in the centre of the image.

At the bottom, competitors could copy and crop the images, easily removing the watermark.

EN4U 02-23-2008 12:31 AM

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

Originally Posted by PhilJ
s'alright, I've got a feeling the database is going wrong.


:mrgreen:, u mean my database.... or the carts.

EN4U 02-23-2008 12:39 AM

:mrgreen: Just trying to figure this stuff out bro....

I love the way this mod seems to work, I just want to be certain it keeps all images the same level so all look uniform and on same level in categories and subcats.

As for why I have no detailed image option, well um, im nuub and have no fricken idea....:-)
--------------

EDIT - OMG phil is erasing his posts and making it look like im talking to myself.... My data base isnt that bad yet.. lol

TelaFirma 02-23-2008 02:49 AM

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

Originally Posted by PhilJ
At the bottom, competitors could copy and crop the images, easily removing the watermark.


Good point....

TelaFirma 02-23-2008 02:52 AM

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

Originally Posted by photo
Thank you for the responce.
One more quick question, can you have a seperate product and thumb image if you want or do they all have to be based off the detailed image?

Thanks


Image management within X-Cart will stay the same. You can have an image loading in the thumbnail slot, the product image slot, detail images, variant images... this mod will work with them all.

Tony Pearce 02-23-2008 04:59 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Hi,
I have been using this mod for a while now on 3 sites, seems to work really well APART from the positioning of the watermark, I have asked before about this but never got a final reply.

Is it something that can be done easily or is it a re-write?

Would make a good mod into a GREAT mod!!

Thanks

Tony

DanUK 02-23-2008 05:43 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Has anyone got this working with product configurator images? I got this installed a couple of years ago but was not using configurator at the time....Dan

EN4U 02-26-2008 10:58 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
Hello, this mod was just installed by them yesterday. I like it, but shouldnt it be saying under product images , click here...or something to let people know that it can be zoomed.

If so, mines not....

Thanks

netexplorers 02-28-2008 03:11 AM

Re: TelaFirma - X-Cart Dynamic Image Generator
 
If a client uploads product images with differenet vertical height, when you role over each one the image swap effect results in the viewer being able to see the original image underneath if it is taller than the new rolllover thumbnail.

see this page for an example:
http://frontiermodelscouk.pre-dns-change.com/Hotwheels-Barris-BATMOBILE-1960s-Batman-TV-Version-L7130-p-17431.html

Rollover the thumbnail images & see what I mean.

does any body know how to fix this? eg I don't ant to see the bottom image on thumnail rollover.

Thanks in advance

Also, this mod used to have a very nice animated gallery transition effect - it's frankly not as good withut this feature. I asked telafirma if they were going to address this.... was told they were looking into it. Would be nice to have it back again.


All times are GMT -8. The time now is 07:05 PM.

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