Copied to clipboard

Flag this post as spam?

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


  • Morten Jensen 41 posts 104 karma points
    Dec 11, 2012 @ 12:50
    Morten Jensen
    0

    Crops dont change

    Hello

    I am using ImageGen 2.5.7 on a Umbraco 4.7.1.1 installation.

    We have for a long time experienced a problem with class defines crop-settings. The images wont crop to our settings under the media file section.

    Example: I upload a image to the media section. I then go to "Crops" tap and then make som adjustments to the crop placement and size.

    These changes dont reflect on the front end?

    I have discovered the following:

    • When i save the image all the cropimages are generated with new timestamps on the file system.
    • The crop size and placement don't update to my newly settings.
    • If i change multiple crops in one save i get an Error (trying to get it from the logs).
    • Howewer if i make a smal change to the size of the crop (drag the handle) in 1 crop only. That crop change will be updated to the filesystem. All other crops are still getting new timestamps, but wrong crops.
    Does anybody have a clue what is going on?

  • Jeroen Breuer 4861 posts 12130 karma points MVP 3x admin c-trib
    Dec 11, 2012 @ 18:05
    Jeroen Breuer
    0

    Hmm if you use the ImageGen crop there shouldn't be a Crop tab on your media item. Perhaps you are using 2 different crops. Could you post how you render the image? If you use the Umbraco Image Cropper perhaps this package might help: http://our.umbraco.org/projects/backoffice-extensions/create-crops

    Jeroen

  • Morten Jensen 41 posts 104 karma points
    Dec 11, 2012 @ 18:35
    Morten Jensen
    0

    @Jeroen: Thats sounds interesting. I render the image with the following code:

    @Helper.Media.Image.RenderImage(media.cropset"CampaignImageWide");


  • Morten Jensen 41 posts 104 karma points
    Dec 11, 2012 @ 18:41
    Morten Jensen
    0

    With some research if think it is the build-in "Image Cropper"-data type which is giving me some trouble. Not ImageGen. Sorry.

  • Jeroen Breuer 4861 posts 12130 karma points MVP 3x admin c-trib
    Dec 11, 2012 @ 18:51
    Jeroen Breuer
    0

    You could try the DAMP Gallery. It's a full image gallery which also uses the build-in Image Cropper. The source code is also available.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft