Weird thing happening to PNG's using CGSmartImage

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
CapereSpiritum
Forum Members
Forum Members
Posts: 223
Joined: Wed Dec 28, 2011 12:11 pm

Weird thing happening to PNG's using CGSmartImage

Post by CapereSpiritum »

I'm using 1.11.7 and:
CompanyDirectory 1.19.4
CGSmartImage 1.12

I'm uploading a number of PNG's that display the layouts of a golf course.
See the site here

All the white in the PNG's is being cut and left as transparent. This is leaving a pixelated edge. Worse is when the image is displayed over a background as it shows through.

Does anyone know of settings in CGSI that would cause this issue.

Please note it only happens to images uploaded by Company Directory. A module that I have used before without any problems.

The same problem does not occur in Showtime on the same site.
See this page.

Any suggestions?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Weird thing happening to PNG's using CGSmartImage

Post by velden »

In the past there were issues with cgsi and transparency when uploading images that already had exact the size as configured in the cgsi tag.

IIRC that issue should be fixed however, but it might be worth a shot.
CapereSpiritum
Forum Members
Forum Members
Posts: 223
Joined: Wed Dec 28, 2011 12:11 pm

Re: Weird thing happening to PNG's using CGSmartImage

Post by CapereSpiritum »

Hi Velden

Would/could that create the transparency to replace white in an image?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Weird thing happening to PNG's using CGSmartImage

Post by velden »

In the cases I faced it did the opposite: transparent png's where (partially) 'filled' with black background.

I don't know if this is a comparable issue, however it takes less than 3 minutes to test I suppose.

Just upload an image that's a little larger (1px will do) than you want it to be. Of course, that's only 'useful' when using resize filters in cgsi.
kraygoon
New Member
New Member
Posts: 9
Joined: Tue May 10, 2011 11:35 am

Re: Weird thing happening to PNG's using CGSmartImage

Post by kraygoon »

I am facing the same problem : transparent png's where (partially) 'filled' with black background.
CapereSpiritum
Forum Members
Forum Members
Posts: 223
Joined: Wed Dec 28, 2011 12:11 pm

Re: Weird thing happening to PNG's using CGSmartImage

Post by CapereSpiritum »

This really annoying. I cannot figure out how to stop it.

I've had to frame the images in a dive with a background image to compensate.

Probably will uninstall Company Directory and re-install an older version that does not require CGSmartImage.

Not the best solution, but I've got to launch this site....
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Weird thing happening to PNG's using CGSmartImage

Post by velden »

Did you try to upload a somewhat larger image so CGSI must really resize it?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Weird thing happening to PNG's using CGSmartImage

Post by Rolf »

You tried 1.12.1 release?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”