- Posts: 25
COMMUNITY FORUM
Stop k2 from converting png to jpg for item image
- benbogart
- Topic Author
- Offline
- Junior Member
Less
More
12 years 6 months ago #57449
by benbogart
Stop k2 from converting png to jpg for item image was created by benbogart
When I upload an item image (png 24), k2 converts that image to jpg so I loose my transparency. How can stop k2 from doing this and just serve the image I upload?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6211
12 years 6 months ago #57450
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Re: Stop k2 from converting png to jpg for item image
Don't use the "image" feature in K2 for that case, but upload your image via your WYSIWYG editor (TinyMCE, JCE etc.).
There are various reasons why we convert "K2 images" to JPG. From speed (low file size), to performance (no disk IO checks, less memory for GD to resize the pic), to native restrictions in the PHP conversion library (GD) which really is still crap at resizing PNG-24 images...
There are various reasons why we convert "K2 images" to JPG. From speed (low file size), to performance (no disk IO checks, less memory for GD to resize the pic), to native restrictions in the PHP conversion library (GD) which really is still crap at resizing PNG-24 images...
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- benbogart
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
12 years 5 months ago #57451
by benbogart
Replied by benbogart on topic Re: Stop k2 from converting png to jpg for item image
But then you loose the option to display or not display the image in the category listing and everything else that goes along with a category image.
Please Log in or Create an account to join the conversation.
- Odin Mayland
- Offline
- Platinum Member
Less
More
- Posts: 404
12 years 3 months ago #57452
by Odin Mayland
Replied by Odin Mayland on topic Re: Stop k2 from converting png to jpg for item image
I hope in the future there will be an option to use transparencies as the item image.
thanks
jeff
thanks
jeff
Please Log in or Create an account to join the conversation.
- Laurent van Roy
- Offline
- Junior Member
Less
More
- Posts: 27
12 years 15 hours ago - 12 years 15 hours ago #57453
by Laurent van Roy
Is there a wanted feature list somewhere where we can add this ?
Replied by Laurent van Roy on topic Re: Stop k2 from converting png to jpg for item image
I completely agree with you. Admin should have the choice whether to resize as jpg (actual and only possibility), resize and preserve format or no automatic resize !Benjamin Bogart wrote: But then you loose the option to display or not display the image in the category listing and everything else that goes along with a category image.
Is there a wanted feature list somewhere where we can add this ?
Please Log in or Create an account to join the conversation.
- Wouter
- Offline
- New Member
Less
More
- Posts: 12
11 years 11 months ago #57454
by Wouter
Replied by Wouter on topic Re: Stop k2 from converting png to jpg for item image
Hey guys,
I was looking for the same problem. On this topic I found a hack (you need to edit the core files) And it worked out for me (as you can see on: www.faillissementenoutlet.nl)
Here's the link: www.gavick.com/forums/news-show-pro/how-to-make-transparent-image-png-in-thumbnails-13992.html
I was looking for the same problem. On this topic I found a hack (you need to edit the core files) And it worked out for me (as you can see on: www.faillissementenoutlet.nl)
Here's the link: www.gavick.com/forums/news-show-pro/how-to-make-transparent-image-png-in-thumbnails-13992.html
Please Log in or Create an account to join the conversation.
- YannisDr
- Offline
- Junior Member
Less
More
- Posts: 28
10 years 3 months ago #57455
by YannisDr
Replied by YannisDr on topic Re: Stop k2 from converting png to jpg for item image
If you hack it, won't it get lost on an update?
Generally speaking, I'd prefer there would be a choice if we want transparency or not. Another possibility is to choose *which* images need to keep their transparency. As an example, I don't need it, but I think that in the future it may be useful if a case that I need transparency come up.
Generally speaking, I'd prefer there would be a choice if we want transparency or not. Another possibility is to choose *which* images need to keep their transparency. As an example, I don't need it, but I think that in the future it may be useful if a case that I need transparency come up.
Please Log in or Create an account to join the conversation.
- Joe Campbell
- Offline
- Platinum Member
Less
More
- Posts: 438
10 years 1 month ago #57456
by Joe Campbell
Replied by Joe Campbell on topic Re: Stop k2 from converting png to jpg for item image
Consider using the following plugin...
Png for K2 Items
extensions.joomla.org/extensions/extension-specific/k2-extensions/25507
It supports, PNG, GIF and JPEG
Png for K2 Items
extensions.joomla.org/extensions/extension-specific/k2-extensions/25507
It supports, PNG, GIF and JPEG
Please Log in or Create an account to join the conversation.