Copied to clipboard

Flag this post as spam?

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


  • Davide Maioli 31 posts 71 karma points
    Apr 08, 2018 @ 16:35
    Davide Maioli
    0

    umbraco 7.2 when saving an image it creates 3 files, original 5184x3456, original-big-thumb 500x333, original-thumb 100x67.

    umbraco 7.10 does not create the three files, only the original.

    how can I make the three files?

  • Nik 1525 posts 6757 karma points MVP 5x c-trib
    Apr 08, 2018 @ 17:52
    Nik
    0

    Hi Maioli,

    Can I ask, why do you need to recreate them?

    The reason they aren't generated is because there is no need anymore. Umbraco includes ImageProcessor which allows you to resize/crop images on the fly. It might be worth updating your code that was accessing these crops to use the ImageProcessor functionality instead.

    If you do need them, you'd have to hook into the media saving event I suspect and manually create them yourself.

    Nik

  • Davide Maioli 31 posts 71 karma points
    Apr 08, 2018 @ 22:53
    Davide Maioli
    0

    Hi Nik,

    I have a site in which I cover all the photos of an event and if one wants the original he can download it. transferring 50 photos from 5MByte is not possible. 50 photo for 20kbyte you need 2 seconds.

    Davide

  • Davide Maioli 31 posts 71 karma points
    Apr 08, 2018 @ 22:55
    Davide Maioli
    0

    What should I change to put the creation of the two files back?

  • Davide Maioli 31 posts 71 karma points
    Apr 09, 2018 @ 20:15
    Davide Maioli
    0

    ImageProcessor

    to generate 30 images, it takes 40 seconds

Please Sign in or register to post replies

Write your reply to:

Draft