Opened 6 years ago

Closed 5 years ago

#474 closed Bug/Fehler (fixed)

Produktbildupload *.png *.gif Background Schwarz Fehler

Reported by: Christopher Haas <christopher@…> Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.1.0
Component: Admin Version: 2.0.0.0

Description

Dieser Fehler, war auch bereits bei der alten Version vorhanden. Sobald man PNG oder GIF Bilder verwendet die einen Transparenten Hintergrund haben wird dieser nach dem Upload geschwärzt. Dieser sollte Weiß werden. Es gibt bereits Lösungen des Problems:

z.B.
http://php.net/manual/pl/function.imagecopyresampled.php#104028

preserve transparency

if($type == "gif" or $type == "png"){

imagecolortransparent($new, imagecolorallocatealpha($new, 0, 0, 0, 127));
imagealphablending($new, false);
imagesavealpha($new, true);

}

Attachments (1)

Bug_Background.JPG (41.0 KB) - added by Christopher Haas <christopher@…> 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Christopher Haas <christopher@…>

comment:1 Changed 6 years ago by astaller

Dazu gibt es doch ein anderes GDlib processing...
Adminbereich => Konfiguration => Bild Optionen => image_manipulator_GD2_advanced.php

MfG
Achim S.

comment:2 Changed 6 years ago by Tomcraft

  • Version changed from 1.06 to 2.0

comment:3 Changed 6 years ago by web28

  • Resolution set to invalid
  • Status changed from new to closed

Damit gibt es keine "Schwarz Fehler"

Adminbereich => Konfiguration => Bild Optionen => image_manipulator_GD2_advanced.php

Option ist auch schon in 1.06 vorhanden

comment:4 Changed 5 years ago by Tomcraft

  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:5 Changed 5 years ago by Tomcraft

  • Milestone changed from modified-shop-2.0.0.0 to modified-shop-2.0.1.0
  • Resolution set to fixed
  • Status changed from reopened to closed

Das Problem konnte doch nachgestellt werden.
Der Fehler wurde mit Bearbeitung von Ticket #705 korrigiert.

Add Comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.