Support is offline. We are back Monday 23 November, 09:00.

Import images - transparent background #81805

Resolved Locked superidea opened this topic Tuesday, 05 November 2024 ยท 7 replies
Author

Hi,
I use CSVI to import my products from external source.
Product pictures are copied from external server and saved on my.
Most of images are provided in png format with transparent background.
During coppying proces background is changed to black.
I tryed to change settings to save pictures as jpg but the background remains black.
is there any option to keep file as png with transparent background of convert them to jpg with white or gray background?
example file to coppy: https://www.terma24.pl/sites/default/files/_products/radiators_store/WARP_ROOM_530_1825_RAL_7004_LP.png

Support

Hello,

We do take transparent backgrounds into account but can only do if certain functions exist. Although these functions are usually available so it may be something different. Can you post the settings that you have on the image tab?

The image URL you posted that is an image we can use for testing to see what happens with the background?

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

I attached configuration you asked for.
The image I send you can be used for testing purpose

  • images.jpg
Support

Hello,

is there any option to keep file as png with transparent background of convert them to jpg with white or gray background?

Thank you for the screenshot. I was able to reproduce the issue with your settings and found that it happens because of setting Converting image type to JPG under Full Image options. JPG images does not support transparent backgrounds and so the issue. If you set Converting image type to Do not convert, you will have PNG image downloaded with transparent background. Same as your original image. Try and let me know.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

problem solved
but there was another issue related to my htaccess script responsible for adding watermark to my images

Support

Hello,

but there was another issue related to my htaccess script responsible for adding watermark to my images

Is that solved? If yes, Please share your solution so it can help other users in future.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

The issue was not related with RO CSVI extension.
It was related to custom htaccess / php script adding watermark to images in virtuemart images folder.

If the file was in png format Script added wrong headers to generated images
it added Content-type: image/jpeg instead of Content-type: image/png

But it was not related to csvi and I think there is no point to explain it more detailed

Support

Hello,
Thank you for the information. Setting this topic as solved. Feel free to open a new topic for any new issue.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

This topic is locked. New replies are not possible.

Log in to reply to this topic.