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

TelaFirma - X-Cart Dynamic Image Generator

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #121  
Old 02-24-2006, 12:18 PM
 
Lionel Lionel is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 199
 

Default

Now I can join the happy campers!!! That mod is simply gorgeous. I had an issue with images being pale, but Stephen has been very supportive.

Now remain the catalog pages. Unfortunately I cannot generate them at root as the site is bilingual.

Anyway, that mod is a must. Stephen, thanks again for your patience and support.
__________________
X-Cart Gold 4.0.17 [unix]
X-Cart Gold 4.0.18 [unix]
Reply With Quote
  #122  
Old 02-25-2006, 09:09 AM
  Megamuch's Avatar 
Megamuch Megamuch is offline
 

Member
  
Join Date: Feb 2006
Location: Barcelona
Posts: 28
 

Default Black images showing up *SOLUTION*

For all the people that have black gif's showing up. USE JPG!

GD2 does not have support for gifs. Due to stupid software patents.

So if you have GD2 installed use jpg's or png's for your images. Not gifs.

if you still have GD version 1 installed on your box, you can use gifs. (I recommend GD2 though, the quality of JPG's is much better).
__________________
X-cart 4.0.17 Pro

Visiting Barcelona? Visit www.bcn-nightlife.com
Reply With Quote
  #123  
Old 02-25-2006, 09:13 AM
 
Lionel Lionel is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 199
 

Default

support for gif was added back as of 7/22/04
they might have to upgrade and make sure that they have version 2.028 or higher.
__________________
X-Cart Gold 4.0.17 [unix]
X-Cart Gold 4.0.18 [unix]
Reply With Quote
  #124  
Old 02-25-2006, 12:58 PM
 
jsa jsa is offline
 

Senior Member
  
Join Date: Oct 2005
Posts: 197
 

Default Re: Black images showing up *SOLUTION*

Quote:
Originally Posted by Megamuch
For all the people that have black gif's showing up. USE JPG!

GD2 does not have support for gifs. Due to stupid software patents.

So if you have GD2 installed use jpg's or png's for your images. Not gifs.

if you still have GD version 1 installed on your box, you can use gifs. (I recommend GD2 though, the quality of JPG's is much better).

Thank you, but I can't personally do that, as my shop depends on trasparencies to look right. There's some effects in my template that dynamically change background colors.

My GD 2 actually works fine with GIF.

I need a solution with good image quality and transparency. I tried outputing to PNG in Photoshop, but to my dismay, the image quality isn't nearly as good... you'd think it'd be the same as GIF, but it's not.

Both black background GIFs and inferior looking PNGs are neither a solution.

It's been about 2 months now. If this won't work, then i'm going to forget about it.

That said, this is an excellent solution and mod for those who can use jpgs (which is likely to be the bulk of 'em)
__________________
Building: X-Cart GoldPlus 4.6.1
Old cart:
XC 4.0.17 FComp-RMA-AOM-OFF-Affil
BCSE: Referral Pts-Surveys-BatchUp-OrderEZ- Reviews-RSS
FT: Glossary-OptCopt-AdvSrch-Recently Viewed-Also Bought
CM: eZConversion
XP: SalesRecovery, MultCrncy
Reply With Quote
  #125  
Old 02-26-2006, 09:21 AM
  Megamuch's Avatar 
Megamuch Megamuch is offline
 

Member
  
Join Date: Feb 2006
Location: Barcelona
Posts: 28
 

Default

Quote:
Originally Posted by Lionel
support for gif was added back as of 7/22/04
they might have to upgrade and make sure that they have version 2.028 or higher.

Wel waddayaknow... Never knew that

I'll have a look at the image.php file too see what's going on with the GIF files.

Shouldn't be that hard to figure out. I'll report back with some info if I can find something that needs to be changed.
__________________
X-cart 4.0.17 Pro

Visiting Barcelona? Visit www.bcn-nightlife.com
Reply With Quote
  #126  
Old 03-06-2006, 07:18 AM
 
Lucent88 Lucent88 is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 147
 

Default

I bought the mod a month ago, it works great and everything, and it sure makes the site load much faster.

The only thing is, how can I make product that only has thumbnail image show a little auto-generated thumbnail on the product detail page, too?

As you know, if there are detail images, then on product detail page it will generate all the little thumbnail for both xcart thumbnail image and the detial images. When there is no detail images, it doesn't generate little thumbnail for the xcart thumbnail image.
__________________
X-Cart Gold 4.0.17
Reply With Quote
  #127  
Old 03-08-2006, 12:36 AM
 
TJ Stephens TJ Stephens is offline
 

Advanced Member
  
Join Date: May 2005
Location: California
Posts: 94
 

Default

Did anyone else lose their Alt tags on their images after installing this mod? When I view my source the alt tags are missing. For example, when I view source on my product page it shows the image src as follows:

Code:
[img]files/cache/9773b5481669712c6cb5f3ae3dbd3089.jpg[/img]

The slash right before the closing bracket is confusing to me. I'm not sure if it's from this mod or something else I did but my alt tags are gone and this slash is here instead. Would any other users of this mod please check to see if it is the same for you?

Thanks,
T.J.
__________________
X-Cart Pro 4.1.11 (Live)
XRMA
XAFF
XAOM
DSEFU Pro
XGift Reg
Firetank Feed Manager
BCSE Shipping Calculator
XcartMod Dynamic Images
Reply With Quote
  #128  
Old 03-08-2006, 04:21 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

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

Default

Quote:
Originally Posted by TJ Stephens
Did anyone else lose their Alt tags on their images after installing this mod? When I view my source the alt tags are missing. For example, when I view source on my product page it shows the image src as follows:

Code:
[img]files/cache/9773b5481669712c6cb5f3ae3dbd3089.jpg[/img]

The slash right before the closing bracket is confusing to me. I'm not sure if it's from this mod or something else I did but my alt tags are gone and this slash is here instead. Would any other users of this mod please check to see if it is the same for you?

Thanks,
T.J.

The slash before the closing bracket is XHTML standard. The image mod is outputing this code. XHTML specifies that Б─°emptyБ─² tags such as
and <img> must close themselves by including a forward slash /> at the very end of the tag.

For the alt text for the iamge, make sure that the code that you inserted for the thumbnail looks like this:

Code:
{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}

Also, make sure that the code in the thumbnail.tpl file looks like this:

Code:
{thumb file="$tfile" width="`$image_x`" sharpen=$sharpen html="class=\"`$class`\" alt=\"`$alt`\""}

The biggest thing that you need to look at the the above code is the section that reads html="class=\"`$class`\" alt=\"`$alt`\""
Reply With Quote
  #129  
Old 03-08-2006, 09:16 AM
 
TJ Stephens TJ Stephens is offline
 

Advanced Member
  
Join Date: May 2005
Location: California
Posts: 94
 

Default

TelaFirma,

Thanks. That fixed it. The distribution package that I got from when I purchased this a while ago did not have the alt section included. I'm sure you've updated by now. It also does not have the "sharpen=$sharpen" that is referenced. Is this a new feature of your mod or something custom that you did? If it is a new feature, how do I get my hands on the revised code?

Thanks again.

T.J.
__________________
X-Cart Pro 4.1.11 (Live)
XRMA
XAFF
XAOM
DSEFU Pro
XGift Reg
Firetank Feed Manager
BCSE Shipping Calculator
XcartMod Dynamic Images
Reply With Quote
  #130  
Old 03-08-2006, 10:51 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

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

Default

sharpen=$sharpen was added to allow me to easily turn off the unsharp mask on a few systems that had limited memory allocated to run PHP scripts. The unsharp mask uses quite a bit of memory when working with the large popup images and there were a few instances on sites that were on a shared hosting server where PHP execution memory was set very low.
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:15 AM.

   

 
X-Cart forums © 2001-2020