Closed ghost closed 8 years ago
Can you look at the network trace on chrome to see what is the url it can't load?
Below info is from Edge (I certainly could test with chrome). Thanks for your time ... ed
After Media --> Pictures(my folder) the HTML source:
<input type="hidden" id="image-editor-url" value="/Media/Default/pictures/flugzeug.JPG"/>
After clicking the image: HTML source
`
</div>
The Edge F12 --> Network trace:
http://localhost:63053/Admin/Orchard.ImageEditor/Index/19?returnUrl=http%3A%2F%2Flocalhost%3A63053%2FAdmin%2FOrchard.MediaLibrary%3FfolderPath%3Dpictures`
Does the /Media/Default/pictures/flugzeug.JPG image exist ?
Or even better, are you able to provide some repro steps from a vanilla download of 1.9.3/1.10, meaning, clone to a new folder and stat from a clean setup ?
After Media --> Pictures(my folder) I see my image. When clicking the image, on the right side (PROPERTIES) I see my Image, the ' Edit' AND the 'Image Editor' button etc. So the image is there.
In fact I started with a fresh copy 1.9.3 AND 1.10. Well, to confirm I do it again on a freshly downloaded 1.9.3 from GitHub. Then I only 'Import' one picture in one newly created media folder! ... I let you know.
my test sequence on VS2015:
Works fine for me in 1.9.3 and 1.10. I am using Orchard.Web.zip not source.
Did you upgrade infoset's and migrate images with Orchard Upgrade?
for some other reason I downloaded a new 1.10 from GitHub, interesting: On VS2015 importing couple pictures --> 'Image Editor': OK after publishing as Orchard.Web (WebMartrix) -- > loading some pictures --> 'Image Editor' : won't work
donaldboulton: I dont't think I need to care about 'infoset', do I? I'm doing this with a fresh 1.10 !
@edikaufmann what error(s), if any, do you get? Anything in the developer console?
In VS2015: remember here 'Image Editor' works; kind of! e.g. when clicking filters and set 'brightness from 0 (default) to eg 1 --> the picture is totally greyed out! e.g. 'preset' doesn't show anything! but resize, rotate works
In WebMatrix: I do Not get any errors (not in console nor App_data Log) --> i.e. only the little cross!.
PS: to me the HTML code looks alike! !the 1.10 download I did on Feb 24 !
Is the Base URL of the site settings the same as the actual URL in the browser?
Sipke, thanks a million! My fault; due to a 'hack' on the browser (not related to orchard !) under very special circumstances I changed the browser URL ! I apologize to everybody who spent time on this, ed
couple weeks ago I opened #6285 on a 'similar' issue. Sebastien recommended to use 1.10 / 1.9.3. from github. I tried with both Github versions. On both I see the ImageEditor button BUT: when clicking, the Image does NOT appear ; there is only the little 'cross' shown!
I loaded some images via Media->Import; they appear correct when clicking the appropriate folder! The 'Edit' function works correctly! PS: I did NOT load any additional Modules etc. and I realize that 'Media' and 'MediaPicker' is labled 'depreciated': I explicitely disabled them!
WebMatrix 3, VS2015 or deployed (ISP i.e not on Azure)
Following Modules (and its prereq's) are enabled: Media Library Media Library Search Media Processing Image Editor
What stupid thin am I missing, doing wrong? Thanks for your time and hints, ed