Bild Füllfarbe ändern

15.05.2013 09:33
#1
thuecom
Joomshopping forum user no avatar
Name: THUECOM Medien
08.03.2013
Posts: 17
Quote
Bild Füllfarbe ändern

Hallo,

ich möchte gerne die Füllfarbe für Bilder ändern aber egal, was ich bei "Einstellungen -> Andere Config -> Bild Füllfarbe" eingebe, es wird immer mit schwarz oder weiß aufgefüllt.
Wie müssen denn die Werte dort eingegeben werden?

Die Suche im Dorum hat mich auf einen Thread gebracht, der aussagt, dass man in der Datei "static_sonfig.php" in "components/com_jshopping/lib" den Wert "$config->image_fill_color" ändern soll aber auch das bringt kein gewünschtes Ergebnis.

Wo muss ich was eingeben, damit die Bild Füllfarbe auf meinen Wunschwert RGB #ececec eingestellt wird?

Danke!
Frank


Joomla: 2.5.9
JoomShopping: 3.13.1
 
15.05.2013 12:19
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25853
Quote
Aw: Bild Füllfarbe ändern

default
$config->image_fill_color = 0xffffff;

set 0xececec


Last change: 15.05.2013 12:19
 
15.05.2013 14:01
#3
thuecom
Joomshopping forum user no avatar
Name: THUECOM Medien
08.03.2013
Posts: 17
Quote
Aw: Bild Füllfarbe ändern

Hi,

I tried but without function. The images are still filled with black color.
I use jpg ... maybe that is the problem?

I added a screenshot. What value is needed in the red circle? HTe default-value seems to be "16777215". What does it mean?

Frank
Aw: Bild Füllfarbe ändern


Joomla: 2.5.9
JoomShopping: 3.13.1
 
15.05.2013 14:31
#4
thuecom
Joomshopping forum user no avatar
Name: THUECOM Medien
08.03.2013
Posts: 17
Quote
Aw: Bild Füllfarbe ändern

Hi,

I figured it out.
The value I have to insert into the red circle (see screenshot in former post) has to be calculated with the following formula:

colorcode = red + (green * 256) + (blue * 256 * 256)

Red, green and blue are the rgb-values of the color.

I wanted #ececec = rgb(236,236,236)
So the formula is

236 + (256 * 236) + (236 * 256 * 256) = 15527148

Why does it have to be so complicated?
Frank

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.