• Welcome to Simple Machines Community Forum. Please login or sign up.
September 18, 2021, 06:36:20 PM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


ICC profile support for uploaded images

Started by mmiodek, February 04, 2016, 08:36:03 AM

Previous topic - Next topic

mmiodek

Hi,

We have noticed that after uploading a picture to the forum, the ICC profile gets discarded which results in incorrect display of the colors. It looks like the following line is missing when comparing original vs uploaded picture: <photoshop:ICCProfile>Adobe RGB (1998)</photoshop:ICCProfile>

Is it possible to introduce support for this?

vbgamer45

Try uncheck " Re-encode potentially dangerous image attachments "   under attachments and avatars -> attachment settings
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mmiodek

We are not going to change it as it says it could be security risk. Do you know of any other method?

vbgamer45

No. Since that function is meant to strip things that look like html tags
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mmiodek

Maybe a possibility to override this and accept lines which include some specific string?

Advertisement: