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

Photoshop and Transparent Gifs

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-20-2004, 10:06 PM
 
budovideos budovideos is offline
 

Member
  
Join Date: May 2003
Posts: 17
 

Default Photoshop and Transparent Gifs

Hi Everyone,

I'm trying to create some transparent gifs for my site using Adobe Photoshop. I genearally use the "save for web" feature and get good results. However, I need to make some transparent gifs and put them over a textured background. The problem I'm having is that I get a white halo around my transparent gif. Does anyone know if there is a way to prevent or minimize this effect? Any help would be greatly appreciated.

Thanks in Advance,

Dave
Reply With Quote
  #2  
Old 01-21-2004, 02:47 AM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default

xcart might be putting a border on the image.. if you dont specify a border=0 in the <img> tab within a <a> tab, it will put a border on it, which could be this white halo you are getting.
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote
  #3  
Old 01-21-2004, 03:23 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

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

Default

Within the Save for Web interface, there is an option to select the matte that is used for the transparency. More than likey you have it as None or White.

What you should do is use the eyedropper to pick one of the perdominate colors within your texture you are using as a background (before you "save as"). Then in the save for Web interface, you can change the matte to "eyedropper" and it will use that color as the matte for the transparency.

Basically this is telling it what color to dither the edges to when making the transparency...
Reply With Quote
  #4  
Old 01-21-2004, 10:52 AM
 
budovideos budovideos is offline
 

Member
  
Join Date: May 2003
Posts: 17
 

Default

Thanks that worked great!
Reply With Quote
  #5  
Old 01-21-2004, 11:13 AM
  DataViking's Avatar 
DataViking DataViking is offline
 

eXpert
  
Join Date: Jan 2003
Location: Las Vegas, NV
Posts: 361
 

Default

usefull info,
thank you
__________________
Web Design Web Design and Custom X-Cart Projects

http://www.dataviking.com

Mention the forums for discounts!
x-cart Version 4.1.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 08:54 AM.

   

 
X-Cart forums © 2001-2020