Copied to clipboard

Flag this post as spam?

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


  • Rick 34 posts 83 karma points
    Jul 20, 2010 @ 21:29
    Rick
    0

    Saving Back Issue Umbraco 4.5

    Everything installs correctly and opens in Pixlr. However, I noticed that even with the crossdomain.xml file installed in the root that the images where never being saved back to umbraco. After looking at the URL for the save back function I noticed it was placing a "~" before the url "/umbraco/plugins/pixlr/..." effectively making the overall URL http://www.domain.com~/umbraco/plugins/pixlr...

    The browser eventually times out looking for the url.

    It looks like a .Net root reference piece that got left in somewhere in the code.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jul 20, 2010 @ 22:27
    Stefan Kip
    0

    The web.config has changed:

    <add key="umbracoPath" value="~/umbraco" />

    This was just "/umbraco" before and should work when you change it back. Nothing breaks when you do that (at least I didn't bump into something...)

    There are more packages with this exact same problem :-)

  • Bjørn Fridal 274 posts 784 karma points
    Jul 21, 2010 @ 11:20
    Bjørn Fridal
    0

    Hi Rick and Kipusoep,

    Yes that is a problem when using Pixlr with Umbraco 4.5.

    I am currently testing a new version of Pixlr that should be compatible with 4.5 If you want to test it you can download the .dll file here http://www.decode.dk/Decode.Umb.Pixlr.dll You should just replace the existing .dll file in the bin folder.

    Feedback would be much appreciated

    Cheers
    Bjørn Fridal

  • Rick 34 posts 83 karma points
    Jul 21, 2010 @ 20:15
    Rick
    0

    I made the change to the web.config file and that worked. I will try the new dll with the old setting and get back with you. THANKS!

  • Heather Floyd 610 posts 1032 karma points MVP 6x c-trib
    Aug 25, 2010 @ 23:57
    Heather Floyd
    0

    Hi Bjørn,

    Your new .dll file worked in my site upgrade. (I was able to open the image, crop it, and it saved back just fine.)

    Perhaps related...

    The button on my media item to access Pixlr has been replaced with:

    [pixlrLink]
    ~Heather
  • Jeremy 23 posts 72 karma points
    Oct 08, 2010 @ 20:47
    Jeremy
    0

    Any chance anyone could provide the 4.5 compatible dll for download again, the URL referenced in this thread is no longer valid.

    http://www.decode.dk/Decode.Umb.Pixlr.dll

    (this url no longer works)

    Thanks, it would be a huge help to me at the moment. 

    - Jeremy

     

     

     

  • Heather Floyd 610 posts 1032 karma points MVP 6x c-trib
    Oct 09, 2010 @ 00:10
    Heather Floyd
    0

    Hi Jeremy,

    I have uploaded it to my server for you:

    http://www.wholewebimpact.com/media/92736/pixlr%20for%204.5.zip

    Enjoy.

    Heather

  • Jeremy 23 posts 72 karma points
    Oct 10, 2010 @ 21:55
    Jeremy
    0

    Great thanks so much, I really appreciate it.

    - Jeremy

  • Mike Taylor 155 posts 353 karma points
    Oct 29, 2010 @ 15:27
    Mike Taylor
    0

    Hi - I have this working in 4.5 with the replacement DLL above. I also see [pixlrLink] instead of the button on the media item.

    How far away from an updated package for 4.5 do you think we are?

    Thanks,

    Mike

  • Bjørn Fridal 274 posts 784 karma points
    Oct 29, 2010 @ 15:31
    Bjørn Fridal
    0

    Hi Mike,

    Well seeing as people are actually using the package I better shape up and have a look at it the following days. I post it in this thread when a new version is up, perhaps tomorrow or the day after.

    Cheers
    Bjørn Fridal

  • Mike Taylor 155 posts 353 karma points
    Oct 29, 2010 @ 15:31
    Mike Taylor
    0

    Fantastic - thanks Bjørn!

  • Bjørn Fridal 274 posts 784 karma points
    Nov 03, 2010 @ 14:21
    Bjørn Fridal
    2

    Just to keep you posted. I started on Pixlr for 4.5 but came across a couple of new issues in regards to the packaging of it. I have to look further into it before I can release it as a package I am afraid. With a little luck it won't be to long though.

  • Tom Madden 253 posts 455 karma points MVP 4x c-trib
    Nov 03, 2010 @ 16:15
    Tom Madden
    0

    Cool, I think much Karma awaits!

  • TaoistTotty 246 posts 314 karma points
    Nov 16, 2010 @ 20:24
    TaoistTotty
    0

    Any update?

  • Bjørn Fridal 274 posts 784 karma points
    Nov 16, 2010 @ 20:27
    Bjørn Fridal
    0

    @TaoistTotty Nothing yet I am afraid. Client work is taking all of my time and then some. Seems every client I have worked with have something that needs to be added to their website, before christmas sales kick in.

  • TaoistTotty 246 posts 314 karma points
    Nov 16, 2010 @ 21:03
    TaoistTotty
    0

    Bjorn

    Glad to hear you are busy, wish I could help, but I have never built a package so...

    Could you make the DLL mentioned above available again in the meantime?

    Regards

    TT

  • Bjørn Fridal 274 posts 784 karma points
    Nov 16, 2010 @ 21:30
    Bjørn Fridal
    1
  • TaoistTotty 246 posts 314 karma points
    Nov 16, 2010 @ 21:34
    TaoistTotty
    0

    Many thanks Bjorn.

    Regards

    TT

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Dec 03, 2010 @ 14:56
    Stefan Kip
    0

    I can't get it too work.
    Using umbraco 4.5.2, with the crossdomain.xml file. Tried using credentials (don't know what it is) and without credentials. With the old dll and the new dll.
    Posting back just doesn't work...

  • Bjørn Fridal 274 posts 784 karma points
    Dec 03, 2010 @ 15:00
    Bjørn Fridal
    0

    Hi,

    Thanks for the feedback.

    Just to clarify you should, if possible, use crossdomain.xml with credentials enabled. That said, do you receive any errors?

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Dec 03, 2010 @ 15:10
    Stefan Kip
    0

    Ok, turned on "Use credentials" and this is my crossdomain.xml in the root of my website:

    <?xml version="1.0" ?>
    <cross-domain-policy>
    <allow-access-from domain="*" />
    </cross-domain-policy>

    Here's a screenshot with Firebug opened, it's not requesting anything except the crossdomain.xml. Just keeps 'saving':

  • Bjørn Fridal 274 posts 784 karma points
    Dec 03, 2010 @ 16:05
    Bjørn Fridal
    0

    Could you try with the following in your crossdomain.xml file?

    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
        <allow-access-from domain="pixlr.com" />
        <site-control permitted-cross-domain-policies="master-only"/>
        <allow-http-request-headers-from domain="pixlr.com" headers="*" secure="true"/>
    </cross-domain-policy>
  • Jeremy 23 posts 72 karma points
    Dec 03, 2010 @ 16:37
    Jeremy
    0

    I was never able to get it working with 4.52 either, even with tweaking the <add key="umbracoPath" value="~/umbraco" /> in web.config by removing the ~

  • Bjørn Fridal 274 posts 784 karma points
    Dec 03, 2010 @ 16:42
    Bjørn Fridal
    0

    Sorry to hear that. I am working on an update (though I have been doing that for quite some time) and hopefully it will solve these issues.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Dec 03, 2010 @ 16:45
    Stefan Kip
    0

    Bjorn

    That works perfectly, thank you very much!!!

  • Bjørn Fridal 274 posts 784 karma points
    Dec 03, 2010 @ 17:01
    Bjørn Fridal
    0

    Glad to hear it.

  • Daniel Bardi 927 posts 2562 karma points
    Jan 29, 2011 @ 20:13
    Daniel Bardi
    0

    I'm using the crossdomain.xml from above... it appears to save back but when I look at the image after, it's the same with no changes.

  • Daniel Bardi 927 posts 2562 karma points
    Jan 29, 2011 @ 20:30
    Daniel Bardi
    0

    Nevermind.. I wasn't clicking Apply before saving.  Works great.

    I would suggest giving the option to open the editor in the same frame instead of another window.

  • Bjørn Fridal 274 posts 784 karma points
    Jan 30, 2011 @ 11:39
    Bjørn Fridal
    0

    Glad you're liking it.

    I think you might be right about not opening in a new window. It could also be opened in a modal dialog, something that I might look into.

  • Daniel Bardi 927 posts 2562 karma points
    Jan 30, 2011 @ 22:31
    Daniel Bardi
    0

    Modal dialog would work, but if you use Umbraco's modal dialog, there's the chance of closing the window by mistake by clicking.

    I would recommend a full screen modal (i.e. faded background and centered) like the demo on Pixlr's site.

  • Bjørn Fridal 274 posts 784 karma points
    Jan 31, 2011 @ 08:58
    Bjørn Fridal
    0

    Duely noted.

  • Matt Taylor 873 posts 2086 karma points
    Feb 01, 2011 @ 14:14
    Matt Taylor
    0

    I've just found this thread and would like to try this package with a 4.5.2 installation.

    From what I've read I need to:

    1. Download the existing 4.0 package and install it.
    2. Download and install a replacement assembley from http://www.decode.dk/Decode.Umb.Pixlr.dll.
    3. Use the following crossdomain.xml file:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
       
    <allow-access-from domain="pixlr.com" />
       
    <site-control permitted-cross-domain-policies="master-only"/>
       
    <allow-http-request-headers-from domain="pixlr.com" headers="*" secure="true"/>
    </cross-domain-policy>

    Have I got that right?

    Thanks, Matt

  • Bjørn Fridal 274 posts 784 karma points
    Feb 01, 2011 @ 14:46
    Bjørn Fridal
    0

    Hi Matt,

    Yes that looks correct.

  • Matt Taylor 873 posts 2086 karma points
    Feb 01, 2011 @ 17:39
    Matt Taylor
    0

    Cool, it worked. :)

    Thanks.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jun 23, 2011 @ 13:16
    Stefan Kip
    0

    I just decompiled the latest binary so I could edit the "[pixlrLink]" text without have to edit the UI.xml file.
    If anyone wants it, I could upload it for you.

    @Bjørn Fridal
    When will there be a new version? It's been more than a half year and it should be really easy for you to recreate the package with the new assembly and correct link text...

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jun 23, 2011 @ 13:16
    Stefan Kip
    0

    -- woops, double post --

  • Bjørn Fridal 274 posts 784 karma points
    Jun 23, 2011 @ 16:40
    Bjørn Fridal
    0

    Hi Stefan,

    That is a very good point #h5is

    I have just created a new package Pixlr v. 1.2 with the working code. You can do me a favour and test it http://www.decode.dk/Pixlr_1.2.zip that way it will soon be submitted.

    I will also submit the source code, so the package won't get stuck with me again.

    Cheers
    Bjørn

  • Bjørn Fridal 274 posts 784 karma points
    Jul 19, 2011 @ 10:33
    Bjørn Fridal
    0

    Hi,

    I could very much use some test feedback on the latest version http://www.decode.dk/Pixlr_1.2.zip so if any one is reading this thread and has a few minutes to spare, it will be very much appreciated : )

    Cheers
    Bjørn

  • Matt Taylor 873 posts 2086 karma points
    Jul 19, 2011 @ 12:05
    Matt Taylor
    0

    Hi Bjørn,

    I've just tried 1.2 without any problems in Umbarco 4.7.

    I managed to edit & save an image in both advanced & basic mode with no fuss.

    I did notice the first time I saved an image back to Umbraco my Firefox browser showed a couple of dialog boxes saying it needed to resend some information for it to complete (I didn't pay much attention to the message) but it hasn't happened since.

    So seems to be working OK by my very limited test.

    Regards,

    Matt

  • Bjørn Fridal 274 posts 784 karma points
    Jul 19, 2011 @ 12:20
    Bjørn Fridal
    0

    Hi Matt,

    Thanks, thats a great help :)

    I haven't seen any confirmation boxes yet, but I will test it some more.

    Cheers
    Bjørn

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jul 19, 2011 @ 12:23
    Stefan Kip
    0

    There's only one small problem; I've been extending Pixlr with a 'Save as new' feature and it's done.
    I'd like to share it by contributing, but it's based on the 1.1 source (although with custom fixes for 4.7).

    So how should we create a 1.3 version based on your v1.2 including my changes?

    Are you willing to share the 1.2 source so I can add my additions?

  • Bjørn Fridal 274 posts 784 karma points
    Jul 19, 2011 @ 12:33
    Bjørn Fridal
    0

    Hi Stefan,

    That sounds great and yes you can get the source code here http://decode.dk/Decode_Umb_Pixlr_v1_2_source.zip I am going to add the source code to the project page so its available for all when this version is done.

    Cheers
    Bjørn

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jul 19, 2011 @ 13:16
    Stefan Kip
    0

    Thanks mate, I'll do some testing and integrate my changes, so we'll have a v1.3

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jul 19, 2011 @ 13:32
    Stefan Kip
    0

    So I took a look at the source and found out you removed the 'useCredentials' setting and set it to true always.

    Why??

  • Bjørn Fridal 274 posts 784 karma points
    Jul 19, 2011 @ 13:38
    Bjørn Fridal
    0

    Hi,

    Well it was the one point were people got stuck over and over again. If credentials is in use and the crossdomain.xml file is present, it hopefully eliminates those problems. Also the saving time is reduced since Pixlr doesn't have to send it via a proxy.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jul 19, 2011 @ 13:42
  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jul 19, 2011 @ 13:42
    Stefan Kip
    0

    Okay, I just tested it and works great...

    Now the big headache; getting my changes in your v1.2 :-/

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jul 19, 2011 @ 13:44
    Stefan Kip
    0

    @Jeroen

    Sorry, but I really don't understand what you're trying to say with your post... I only have to apply my changes to v1.2, not implementing Pixlr in something else.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jul 19, 2011 @ 13:47
    Jeroen Breuer
    0

    Well in my version I did some things different and made some improvements. For example after changing the media the save events weren't called. In my code it is so perhaps you can have a look at it to see if there are more improvements which can add to v1.3 of this Pixlr package.

    Jeroen

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jul 19, 2011 @ 13:59
    Jeroen Breuer
    0

    Another improvement I made is that Pixlr opens in an Umbraco popup (UmbClientMgr.openModalWindow) instead of real popup. You could apply those changes to this package as well.

    Jeroen

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jul 20, 2011 @ 08:50
    Stefan Kip
    0

    @Jeroen,

    I took some of you changes to v1.3, like calling the Save method (for the handlers), checking for properties' existance before writing to them and call the library.GetMedia for caching purposes :-)

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jul 20, 2011 @ 15:19
    Jeroen Breuer
    0

    Awesome! Glad to see some of my improvements also made it to this package.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft