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.
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.
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.
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.
@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.
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...
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 ~
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...
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.
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 : )
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.
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?
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.
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.
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.
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.
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.
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 :-)
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.
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 :-)
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
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!
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:
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
Hi Jeremy,
I have uploaded it to my server for you:
http://www.wholewebimpact.com/media/92736/pixlr%20for%204.5.zip
Enjoy.
Heather
Great thanks so much, I really appreciate it.
- Jeremy
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
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
Fantastic - thanks Bjørn!
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.
Cool, I think much Karma awaits!
Any update?
@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.
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
Absolutely, its back http://www.decode.dk/Decode.Umb.Pixlr.dll : )
Many thanks Bjorn.
Regards
TT
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...
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?
Ok, turned on "Use credentials" and this is my crossdomain.xml in the root of my website:
Here's a screenshot with Firebug opened, it's not requesting anything except the crossdomain.xml. Just keeps 'saving':
Could you try with the following in your crossdomain.xml file?
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 ~
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.
Bjorn
That works perfectly, thank you very much!!!
Glad to hear it.
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.
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.
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.
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.
Duely noted.
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:
Have I got that right?
Thanks, Matt
Hi Matt,
Yes that looks correct.
Cool, it worked. :)
Thanks.
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...
-- woops, double post --
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
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
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
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
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?
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
Thanks mate, I'll do some testing and integrate my changes, so we'll have a v1.3
So I took a look at the source and found out you removed the 'useCredentials' setting and set it to true always.
Why??
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.
You can also have a look at the Digibiz Advanced Media Picker source:
http://damp.codeplex.com/SourceControl/changeset/view/75947#1863598
http://damp.codeplex.com/SourceControl/changeset/view/75947#1863597
That is another way on how Pixlr can be implemented.
Jeroen
Okay, I just tested it and works great...
Now the big headache; getting my changes in your v1.2 :-/
@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.
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
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
@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 :-)
Awesome! Glad to see some of my improvements also made it to this package.
Jeroen
is working on a reply...