Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter Nielsen 159 posts 257 karma points
    Dec 01, 2011 @ 16:25
    Peter Nielsen
    0

    Automatic Crop doesnt work

    Hi,

    I installed the DAMP 2.0 on a Umbraco 4.7 and when I did I was asked if I wanted my images to get cropped automaticly after upload. I checked the checkboxes and pressed save. 

    But it doesnt work. When I upload an image (with the ImageCropper datatype on), the crops doesnt appear on the folder unless a press save the second time. I got the same result with the Desktop Media Uploader.

    Ive tried to uninstall / install again, but with the same result. It wont crop

    Somebody know what I am doing wrong? Is there somewhere in the config files the settings should appear? :-)

    /Peter 

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Dec 04, 2011 @ 15:37
    Jeroen Breuer
    1

    Hello,

    You should have 2 extra app settings in your web.config:

    DAMP_CallImageCropper
    DAMP_OnlyIfEmpty

    If you don't have these it won't work.

    Jeroen

  • Peter Nielsen 159 posts 257 karma points
    Dec 04, 2011 @ 18:41
    Peter Nielsen
    0

    Okay, I dont have that, so I have to add these lines right? :-)

     

     <add key="DAMP_CallImageCropper" value="true" />
     <add key="DAMP_OnlyIfEmpty" value="false" />

    /Peter
  • Peter Nielsen 159 posts 257 karma points
    Dec 04, 2011 @ 18:46
    Peter Nielsen
    0

    Testet... that did the trick. Dont know if I have saved the web.config after I installed DAMP or something, so the settings was deleted again :-) 

    But it works now.. so thank :-) 

    /Peter

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Dec 04, 2011 @ 19:00
    Jeroen Breuer
    0

    Glad you got it working. You can also set both values to true. Otherwise each time you save a media item the crop get's recreated. Now it only get recreated if it doesn't exist or if it has been changed (with Pixlr for example).

    Jeroen

  • stevo 63 posts 106 karma points
    Feb 21, 2012 @ 22:34
    stevo
    0

    Hey Jeroen,

    i have the same problem like Peter. I already have the two keys in the web.config:

    <add key="DAMP_CallImageCropper" value="true" />
    <add key="DAMP_OnlyIfEmpty" value="true" />

    Do you have any ideas?

    thx, stevo

    Umbraco, 4.7.1.1 on SQL CE, DAMP 2.0

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Feb 22, 2012 @ 08:59
  • stevo 63 posts 106 karma points
    Feb 22, 2012 @ 17:51
    stevo
    0

    thanks a lot! it works! i hope the patch will work on MS SQL as well.

    thx a again! stevo

  • leabdalla 2 posts 22 karma points
    Feb 23, 2012 @ 13:13
    leabdalla
    0

    I'm getting the same problem with tags included and using SQL Server. Any ideas?

    Crops are create only after click Save second time =(

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Feb 23, 2012 @ 13:31
  • leabdalla 2 posts 22 karma points
    Feb 23, 2012 @ 13:40
    leabdalla
    0

    Thanks, but I tried replacing DLL and nothing different. Should I have to do something after replacing file, or just test?

    After install package the DAMP tags not appeared in web.config automatically so I put it manually in FTP. Is this a problem?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies