Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFIMAGE question

Guest
May 12, 2008 May 12, 2008
Hello,

I am using CFIMAGE to grab a dynamically generated jpg image from a internal server, converting it to a gif and then adding a watermark image on top of it using imagepaste.

The code seems to work fine for one URL, but not another (the url contains values used to dynamically create the image and are required).

Good url
http://10.0.0.166:8082/Masters/LO/SPLO01-58?mps_copyfit=all&scale=2&layerattribute=white%20mask&visi...

Bad url
http://10.0.0.166:8082/Masters/LO/SPLO01-58?mps_copyfit=all&Text01=made fresh&Text02=LL&Text03=luciano&Text04=linguini&Text05=from scratch&Text06=&Text07=&Text08=&Text09=&Text10=&Text11=&Text12=&Text13=&scale=2&layerattribute=white%20mask&visible=yes

Are their characters in the 'bad url' that are forbidden or is possible that the 'source' in CFIMAGE has a max length? Other ideas?

Best regards,
Kevin R.
235
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
May 12, 2008 May 12, 2008
I replaced all of the offending spaces with %20 and it seems to have resolved the issue. I will have to do some testing to see if there are any other characters that will cause it to break and replace those as well.

Best regards,
Kevin R.
Translate
Guest
May 12, 2008 May 12, 2008
On further investigation, it appears that it isn't the over all length that is at issue. It is having issues with the spaces between some of the words.

I will try replacing them and seeing if that works.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 12, 2008 May 12, 2008
LATEST
I replaced all of the offending spaces with %20 and it seems to have resolved the issue. I will have to do some testing to see if there are any other characters that will cause it to break and replace those as well.

Best regards,
Kevin R.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources