Copied to clipboard

Flag this post as spam?

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


  • Daniel Horn 319 posts 344 karma points
    Jan 18, 2011 @ 17:18
    Daniel Horn
    0

    Image handling in the RTE

    Hi

    What is the best way to handle images with the RTE? Is it possible to have a image handler of somekind that can crop and resize pictures when a user upload and insert a picture in the RTE?

    What would you guys do?

     

  • Lachlann 344 posts 626 karma points
    Jan 18, 2011 @ 17:33
    Lachlann
    0

    Hey Daniel,

     

    Depending on which version of Umbraco you are running there are a couple of good media section image editors, my favorite is the pixlr one but not sure if it is 4.5 compatible.

    When I create sites i tend to set the limit for images inserted into the RTE that way the client cant add in any huge images.

     

    Hope this helps, I would be interested to find out what others do.

     

    L

     

  • Doug Mackay 56 posts 155 karma points
    Jan 18, 2011 @ 19:48
    Doug Mackay
    1

    You can set the maximum default size of inserted images in the RTE data type. Also when you resize an image within the RTE it creates a new image file on disk at the new size (the filename gets set to the orginal filename + the x & y dimensions)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 18, 2011 @ 21:06
    Jan Skovgaard
    0

    +1 for what Doug said.

    I think this is a good approach and the best you're stuck with at the moment untill the pixlr package is updated perhaps, because that is a sweet approach as well.

    Otherwise I think it should be possible to use some replacement stuff with an image handler like imagegen...but this would really be a cumbersome approach the way I see it.

    /Jan

  • Daniel Horn 319 posts 344 karma points
    Jan 19, 2011 @ 17:47
    Daniel Horn
    0

    Guess I have to wait for the Pixlr package to be done :).

  • Fergus Davidson 309 posts 588 karma points
    Jan 19, 2011 @ 22:05
    Fergus Davidson
    1

    daniel

    there are two fixes for the pixlr package, one new dll, one config file edit.

    details here: http://our.umbraco.org/projects/backoffice-extensions/pixlr/bug-reports/10884-Saving-Back-Issue-Umbraco-45

  • Connie DeCinko 931 posts 1160 karma points
    Feb 03, 2011 @ 22:30
    Connie DeCinko
    0

    I am trying the image resizing in the RTE and it seems to work well... except...  the image that shows in the RTE changes to a broken image.

     

Please Sign in or register to post replies

Write your reply to:

Draft