Post by saligkaros » Thu Oct 24, 2013 5:40 am

Hi!

I use opencart 1.5.5.1 and it has an automatic zoom when hovering product images.

I use png images with transparent background. When i hover the mouse over the image to zoom, the backgroung is black, which is not good looking.

I need to use png images cause the template I have, looks more beautiful.

Thank you in advance :)

Newbie

Posts

Joined
Fri May 18, 2012 3:51 am

Post by butte » Thu Oct 24, 2013 10:15 am

Defeat the zooming.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by saligkaros » Thu Oct 24, 2013 4:12 pm

any other option?

Newbie

Posts

Joined
Fri May 18, 2012 3:51 am

Post by butte » Fri Oct 25, 2013 3:45 am

High enough tech, yeah. The hollow (colorless) in .gif and .png takes on whatever is behind it. There is a lot going on during a zoom, and black is absence of color (RGBW goes black with no LCD or CRT pulse, YMCK, basic in print and art, goes black with LCD or CRT gunning, the roles of W and K between them are flipped). There is no way to overcome that while zooming, unless a color is part of the image where the hollow is now. Zoom is already consuming enough resources (much as smooth rather than ignore-appearance dragging is expensive in cpu terms). For a shopping cart there is certainly no compelling reason to flip the image to an alternate by scripting that for the moments of every zoom, it's doable but you're not Disney.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by Magic Toolbox » Fri Oct 25, 2013 11:02 pm

Is the black background added by the image zoom?

Install the free demo of Magic Zoom or Magic Zoom Plus. They do not add a black background behind the image zoom.

http://www.magictoolbox.com/magiczoompl ... /opencart/

See how it looks on your site.

User avatar
New member

Posts

Joined
Fri Apr 08, 2011 6:12 pm
Location - London, UK

Post by butte » Sat Oct 26, 2013 2:52 am

If that is all it does, one-step ungraduated zoom to then pan, then there shouldn't be any black.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am
Who is online

Users browsing this forum: No registered users and 19 guests