Copied to clipboard

Flag this post as spam?

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


  • Roberto Bianchi 137 posts 446 karma points c-trib
    May 29, 2015 @ 12:04
    Roberto Bianchi
    0

    ImageCropper not work on Umbraco 7.2.4

    Hi!

    I don't understand why now on my website the images showed through ImageCropper URL are no longer displayed.

    The URL of the images are correct: for example this is one URL /media/23654/img_0004.jpg?center=0.52333333333333332,0.4975&mode=crop&width=200&height=160&rnd=130773029060000000;

    But the images are displayed on full width and full height...

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    May 29, 2015 @ 13:08
    Jeavon Leopold
    0

    Hi Bob,

    Sounds like ImageProcessor is not registered correctly. Did anything change, packages installed, Umbraco upgraded etc....

    Jeavon

  • Roberto Bianchi 137 posts 446 karma points c-trib
    May 29, 2015 @ 14:11
    Roberto Bianchi
    0

    Hi Jeavon and thank you for the support.

    Some days ago I've modified some 2 or 3 js-config file, but I don't remember exactly in what folder...

    I have other installation of Umbraco that works properly with ImageCropper.

    What files can I substitute for resolve this problem?

  • Roberto Bianchi 137 posts 446 karma points c-trib
    May 29, 2015 @ 14:13
    Roberto Bianchi
    0

    I already tried to overwrite files from Umbraco / Views and Umbraco_Client folder

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    May 29, 2015 @ 14:51
    Jeavon Leopold
    0

    Could you please post the contents of your web.config (remove any passwords)?

  • Roberto Bianchi 137 posts 446 karma points c-trib
    May 29, 2015 @ 14:57
    Roberto Bianchi
    0
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>

    <configSections>
    <section name="urlrewritingnet" restartOnExternalChanges="true" requirePermission="false" type="UrlRewritingNet.Configuration.UrlRewriteSection, UrlRewritingNet.UrlRewriter" />
    <section name="microsoft.scripting" type="Microsoft.Scripting.Hosting.Configuration.Section, Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" />
    <section name="clientDependency" type="ClientDependency.Core.Config.ClientDependencySection, ClientDependency.Core" requirePermission="false" />
    <section name="Examine" type="Examine.Config.ExamineSettings, Examine" requirePermission="false" />
    <section name="ExamineLuceneIndexSets" type="Examine.LuceneEngine.Config.IndexSets, Examine" requirePermission="false" />
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" requirePermission="false" />

    <sectionGroup name="umbracoConfiguration">
    <section name="settings" type="Umbraco.Core.Configuration.UmbracoSettings.UmbracoSettingsSection, Umbraco.Core" requirePermission="false" />
    <section name="BaseRestExtensions" type="Umbraco.Core.Configuration.BaseRest.BaseRestSection, Umbraco.Core" requirePermission="false" />
    <section name="FileSystemProviders" type="Umbraco.Core.Configuration.FileSystemProvidersSection, Umbraco.Core" requirePermission="false" />
    <section name="dashBoard" type="Umbraco.Core.Configuration.Dashboard.DashboardSection, Umbraco.Core" requirePermission="false" />
    </sectionGroup>
    </configSections>

    <umbracoConfiguration>
    <settings configSource="config\umbracoSettings.config" />
    <BaseRestExtensions configSource="config\BaseRestExtensions.config" />
    <FileSystemProviders configSource="config\FileSystemProviders.config" />
    <dashBoard configSource="config\Dashboard.config" />
    </umbracoConfiguration>

    <urlrewritingnet configSource="config\UrlRewriting.config" />
    <microsoft.scripting configSource="config\scripting.config" />
    <clientDependency configSource="config\ClientDependency.config" />
    <Examine configSource="config\ExamineSettings.config" />
    <ExamineLuceneIndexSets configSource="config\ExamineIndex.config" />
    <log4net configSource="config\log4net.config" />

    <appSettings>
    <!--
    Umbraco web.config configuration documentation can be found here:
    http://our.umbraco.org/documentation/using-umbraco/config-files/#webconfig
    -->
    <add key="umbracoConfigurationStatus" value="7.2.4" />
    <add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,~/VSEnterpriseHelper.axd" />
    <add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
    <add key="umbracoPath" value="~/umbraco" />

    <!-- Cambiato a false il seguente valore per permettere di aggiungere la lingue negli url -->
    <add key="umbracoHideTopLevelNodeFromPath" value="false" />

    <add key="umbracoUseDirectoryUrls" value="true" />
    <add key="umbracoTimeOutInMinutes" value="20" />
    <add key="umbracoDefaultUILanguage" value="en" />
    <add key="umbracoUseSSL" value="false" />

    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
    <add key="webpages:Enabled" value="false" />
    <add key="enableSimpleMembership" value="false" />
    <add key="autoFormsAuthentication" value="false" />

    <add key="log4net.Config" value="config\log4net.config" />

    <add key="PliableForm.defaultEmailSubject" value="" />
    <add key="PliableForm.defaultToAddress" value="" />
    <add key="PliableForm.enableSsl" value="False" />
    <add key="PliableForm.fromAddress" value="" />

    </appSettings>
    <connectionStrings>
    <remove name="umbracoDbDSN" />
    <add name="umbracoDbDSN" connectionString="Data Source=|DataDirectory|\Umbraco.sdf;Flush Interval=1;" providerName="System.Data.SqlServerCe.4.0" />
    <!-- Important: If you're upgrading Umbraco, do not clear the connection string / provider name during your web.config merge. -->
    </connectionStrings>

    <system.data>
    <DbProviderFactories>
    <remove invariant="System.Data.SqlServerCe.4.0" />
    <add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe" />
    <remove invariant="MySql.Data.MySqlClient" />
    <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" />
    </DbProviderFactories>
    </system.data>

    <system.net>
    <mailSettings>
    <smtp>
    <network host="" userName="" password="" port="" />
    </smtp>
    </mailSettings>
    </system.net>

    <system.web>
    <customErrors mode="Off" />
    <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
    <!-- Per aumentare il limite di uplaod file, bisogna modificare l'attributo sottostante maxRequestLength -->
    <httpRuntime maxRequestLength="102400" executionTimeout="360" requestValidationMode="2.0" enableVersionHeader="false" targetFramework="4.5" />
    <!--
    If you are deploying to a cloud environment that has multiple web server instances,
    you should change session state mode from "InProc" to "Custom". In addition,
    change the connection string named "DefaultConnection" to connect to an instance
    of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.
    -->
    <sessionState mode="InProc" customProvider="DefaultSessionProvider">
    <providers>
    <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
    </providers>
    </sessionState>
    <pages enableEventValidation="false">
    <controls>
    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add tagPrefix="umbraco" namespace="umbraco.presentation.templateControls" assembly="umbraco" />
    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </controls>
    </pages>
    <httpModules>
    <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" />
    <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
    <add name="ImageProcessorModule" type="ImageProcessor.Web.HttpModules.ImageProcessingModule, ImageProcessor.Web"/>
    </httpModules>
    <httpHandlers>
    <remove verb="*" path="*.asmx" />
    <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
    <add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
    <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
    <add verb="*" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
    <add verb="*" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />
    <add verb="*" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
    </httpHandlers>

    <compilation defaultLanguage="c#" debug="true" batch="false" targetFramework="4.5">
    <assemblies>
    <add assembly="System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    <add assembly="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </assemblies>
    <buildProviders>
    <add extension=".cshtml" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
    <add extension=".vbhtml" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
    <add extension=".razor" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
    </buildProviders>
    </compilation>

    <authentication mode="Forms">
    <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" />
    </authentication>
    <authorization>
    <allow users="?" />
    </authorization>
    <!-- Membership Provider -->
    <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
    <providers>
    <clear />
    <add name="UmbracoMembershipProvider" type="Umbraco.Web.Security.Providers.MembersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="4" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Member" passwordFormat="Hashed" />
    <add name="UsersMembershipProvider" type="Umbraco.Web.Security.Providers.UsersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="4" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
    </providers>
    </membership>
    <!-- Role Provider -->
    <roleManager enabled="true" defaultProvider="UmbracoRoleProvider">
    <providers>
    <clear />
    <add name="UmbracoRoleProvider" type="Umbraco.Web.Security.Providers.MembersRoleProvider" />
    </providers>
    </roleManager>
    </system.web>

    <system.webServer>

    <!-- Istruzione aggiunta per effettuare il redirect alla pagina 404 -->
    <httpErrors existingResponse="PassThrough"/>

    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
    <remove name="WebDAVModule" />

    <remove name="UrlRewriteModule" />
    <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />

    <remove name="UmbracoModule" />
    <add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" />

    <remove name="ScriptModule" />
    <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

    <remove name="ClientDependencyModule" />
    <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />

    <!-- Needed for login/membership to work on homepage (as per http://stackoverflow.com/questions/218057/httpcontext-current-session-is-null-when-routing-requests) -->
    <remove name="FormsAuthentication" />
    <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />
    <add name="ImageProcessorModule" type="ImageProcessor.Web.HttpModules.ImageProcessingModule, ImageProcessor.Web" />
    </modules>

    <handlers accessPolicy="Read, Write, Script, Execute">
    <remove name="WebServiceHandlerFactory-Integrated" />
    <remove name="ScriptHandlerFactory" />
    <remove name="ScriptHandlerFactoryAppServices" />
    <remove name="ScriptResource" />
    <remove name="Channels" />
    <remove name="Channels_Word" />
    <remove name="ClientDependency" />
    <remove name="MiniProfiler" />

    <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add verb="*" name="Channels" preCondition="integratedMode" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
    <add verb="*" name="Channels_Word" preCondition="integratedMode" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />
    <add verb="*" name="ClientDependency" preCondition="integratedMode" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core" />
    <add name="MiniProfiler" path="mini-profiler-resources/*" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" />
    </handlers>

    <!-- Adobe AIR mime type -->
    <staticContent>
    <remove fileExtension=".air" />
    <mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" />
    <remove fileExtension=".svg" />
    <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
    <remove fileExtension=".woff" />
    <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
    <remove fileExtension=".less" />
    <mimeMap fileExtension=".less" mimeType="text/css" />
    <remove fileExtension=".mp4" />
    <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
    </staticContent>

    <!-- Ensure the powered by header is not returned -->
    <httpProtocol>
    <customHeaders>
    <remove name="X-Powered-By" />
    </customHeaders>
    </httpProtocol>

    </system.webServer>

    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

    <!-- Old asp.net ajax assembly bindings -->
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
    </dependentAssembly>

    <!-- Ensure correct version of MVC -->
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
    </dependentAssembly>

    <!-- Ensure correct version of HtmlAgilityPack -->
    <dependentAssembly>
    <assemblyIdentity name="HtmlAgilityPack" publicKeyToken="bd319b19eaf3b43a" culture="neutral" />
    <bindingRedirect oldVersion="1.4.5.0-1.4.6.0" newVersion="1.4.6.0" />
    </dependentAssembly>

    <dependentAssembly>
    <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
    </dependentAssembly>

    <dependentAssembly>
    <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
    </dependentAssembly>

    <dependentAssembly>
    <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
    </dependentAssembly>

    </assemblyBinding>
    </runtime>

    <location path="umbraco">
    <system.webServer>
    <urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" />
    </system.webServer>
    </location>
    <location path="App_Plugins">
    <system.webServer>
    <urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" />
    </system.webServer>
    </location>

    <location path="home_it">
    <system.webServer>
    <httpRedirect enabled="true" destination="/it" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_it/chi-siamo">
    <system.webServer>
    <httpRedirect enabled="true" destination="/it/chi-siamo" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_it/trasparenza,-valutazione-e-merito">
    <system.webServer>
    <httpRedirect enabled="true" destination="/it/amministrazione-aperta" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_it/avvisi">
    <system.webServer>
    <httpRedirect enabled="true" destination="/it/avvisi-e-bandi" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_it/le-iniziative">
    <system.webServer>
    <httpRedirect enabled="true" destination="/it/comunicazioni" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_it/news">
    <system.webServer>
    <httpRedirect enabled="true" destination="/it/comunicazioni" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_it/galleries">
    <system.webServer>
    <httpRedirect enabled="true" destination="/it/gallery" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_it/contatti">
    <system.webServer>
    <httpRedirect enabled="true" destination="/it/contatti" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_en">
    <system.webServer>
    <httpRedirect enabled="true" destination="/en" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_en/who-are-we">
    <system.webServer>
    <httpRedirect enabled="true" destination="/en/who-we-are" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_en/galleries">
    <system.webServer>
    <httpRedirect enabled="true" destination="/en/galleries" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_en/our-initiatives">
    <system.webServer>
    <httpRedirect enabled="true" destination="/en/communications" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_en/news">
    <system.webServer>
    <httpRedirect enabled="true" destination="/en/communications" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_en/contacts">
    <system.webServer>
    <httpRedirect enabled="true" destination="/en/contacts" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_fr">
    <system.webServer>
    <httpRedirect enabled="true" destination="/fr" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_fr/qui-sommes-nous">
    <system.webServer>
    <httpRedirect enabled="true" destination="/fr/qui-sommes-nous" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_fr/galerie">
    <system.webServer>
    <httpRedirect enabled="true" destination="/fr/galerie-photos" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_fr/nos-initiatives">
    <system.webServer>
    <httpRedirect enabled="true" destination="/fr/communications" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_fr/news">
    <system.webServer>
    <httpRedirect enabled="true" destination="/fr/communications" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_fr/contacts">
    <system.webServer>
    <httpRedirect enabled="true" destination="/fr/contacts" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_de">
    <system.webServer>
    <httpRedirect enabled="true" destination="/de" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_de/galleries">
    <system.webServer>
    <httpRedirect enabled="true" destination="/de/galleries" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_de/unsere-initiativen">
    <system.webServer>
    <httpRedirect enabled="true" destination="/de/kommunikation" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_de/news">
    <system.webServer>
    <httpRedirect enabled="true" destination="/de/kommunikation" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    <location path="home_de/kontakt">
    <system.webServer>
    <httpRedirect enabled="true" destination="/de/kontakt" httpResponseStatus="Permanent" />
    </system.webServer>
    </location>
    </configuration>
  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    May 29, 2015 @ 15:25
    Jeavon Leopold
    0

    Looks fine!

    If you simply request /media/23654/img_0004.jpg?width=50 in the browser what size image is returned?

    Jeavon

  • Roberto Bianchi 137 posts 446 karma points c-trib
    May 29, 2015 @ 15:31
    Roberto Bianchi
    0

    Is returned a full-size image

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    May 29, 2015 @ 15:48
    Jeavon Leopold
    0

    Strange, what sort of hosting (dedicated, shared, etc) are you using?

  • Roberto Bianchi 137 posts 446 karma points c-trib
    May 29, 2015 @ 16:03
    Roberto Bianchi
    0

    Shared hosting.

    But, in your opinion, where is the problem? In some configuration of the server or in a corrupted/modified file of the ImageCropper function?

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    May 29, 2015 @ 16:27
    Jeavon Leopold
    0

    The problem is either that ImageProcessor is not registered properly (although it appears to be fine) or that something is ignoring the querystring so it's not getting passed through to ImageProcessor...?

    I think if ImageProcessor was corrupted you would see a YSOD when you make a request to /media/23654/img_0004.jpg?width=50

  • Roberto Bianchi 137 posts 446 karma points c-trib
    May 29, 2015 @ 16:35
    Roberto Bianchi
    0

    So, what can I do?

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    May 29, 2015 @ 18:45
    Jeavon Leopold
    0

    I'm out of ideas really :(

    Do you have any other sites where ImageProcessor is working on this server?

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jun 01, 2015 @ 09:04
    Roberto Bianchi
    0

    Yes. Can I overwrite some files from the other working version?

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jun 04, 2015 @ 11:22
    Roberto Bianchi
    0

    Up :(

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jun 04, 2015 @ 13:53
    James Jackson-South
    0

    Hi Bob,

    Couple of questions...

    • What versions of ImageProcessor and ImageProcessor.Web do you have installed?
    • If not the latest, have you tried updating?
    • What service provider are you using? Is it set up for full trust?
    • Are you running off a temporary development url provided by your hosting provider?

    Cheers

    James

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jun 04, 2015 @ 14:07
    Roberto Bianchi
    0

    Hi James and thank you for your answer.

    How can I see the version of ImageProcessor installed? How can I update or replace it?

    Yesterday I tried to set full rights to all the folder of the website, but nothing has changed...

    Another question is what I can ask to do to my service provider?

    Thank you for the support

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jun 04, 2015 @ 14:51
    James Jackson-South
    0

    Well... I guess it depends on how you installed Umbraco and whether or not you are using Visual Studio.

    If you used the Nuget route you can update the package through the package manager in Visual Studio. The latest is here.

    If you didn't install it via Nuget you could install the package from within the Umbraco backoffice here (That's a couple of minor versions out of date but way more advanced than the default installed version that comes with Umbraco.)

    To determine the currently running version navigate to your bin folder on your website and look for the ImageProcessor.Web.dll file. If you r-click on the file you should be able to read its properties and see the product version. The latest should be 4.3.2.

    Full folder permissions are different to Full Trust. I would check with your service provider what the default setting is for your shared hosting. It's most likely medium. Generally you can override that value by setting the trust level in the web.config file of your site.

    E.g.

    <configuration>
        <system.web>
            <!--Add the following line-->
            <trust level="Full" />
        </system.web>
    </configuration>
    

    Hopefully we can find a solution soon.

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jun 04, 2015 @ 16:29
    Roberto Bianchi
    0

    The version of ImageProcessor.Web.dll is the 3.3.1.0.

    I didn't install this version of Umbraco through Nuget. I tried to add the line you posted in web.config, but ImageProcessor don't work as the same.

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jun 04, 2015 @ 17:22
    James Jackson-South
    0

    Did you update the version? 3.3.1 has a bug where no image is return on 304 request.

    Can you post a screenshot of the response from a Chrome network tab in the developer tools so that I can see if anything untoward is happening on request.

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jun 04, 2015 @ 17:38
    Roberto Bianchi
    0

    No, I don't update this actually. How can I update this version?

    This is the screenshot:

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jun 04, 2015 @ 17:42
    Roberto Bianchi
    0

    I have the same version of ImageCrop in the local website and it's works correctly

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jun 04, 2015 @ 18:14
    James Jackson-South
    0

    Hi Bob,

    I explained how to update in my earlier comment here

    That screenshot is pretty useless to me I'm afraid - It has no detail. I'm looking for one of an isolated image request. I need to see the content of the headers and response tabs.

    demo screenshot

    There's still a few questions you haven't answered yet either.

    • What service provider are you using? Is it set up for full trust?
    • Are you running off a temporary development url provided by your hosting provider?

    Jeavon asked you before if you have other working websites on this server to which you replied "yes". If your setup with your hosting provider is the same for both websites then you will need to compare the two to see what is different. There has to be something or ImageProcessor would work in both.

    Also. There is no version of "ImageCrop" in fact there is no such thing. It's ImageProcessor.

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jun 05, 2015 @ 10:19
    Roberto Bianchi
    0

    Hi James,
    I don't use Nuget, and in your earlier comment you explained how to INSTALL, not to UPDATE ImageProcessor if you don't use Nuget.

    So, excuse but I don't understand how can I update Imageprocessor... I have to download the package and then replace the files in Umbraco?

    Excuse me but I wanna be sure before to do this update on my website...

    Here the screenshot:

    This is my service provider:
    http://www.hostingsolutions.it/

    I modified the web.config like you say, adding this line:

    <trust level="Full" />

    So I must have full trust on website.

    Excuse me but yesterday I saw that the other version that I have locally is on a windows server, but on another version of it.
    However a few days ago I replaced the files of the site that working properly with the files in the website with ImageProcessor that not working...

    I don't understand how it's possible that also replacing ALL the files, ImageProcessor does not work the same. On my local server it's works good...

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jun 05, 2015 @ 11:53
    James Jackson-South
    0

    Let's not argue semantics here, I'm try to help you...

    Installing the package from here will upgrade ImageProcessor for you. It actually says so on the page.

    You can use this package to upgrade from the Umbraco included v1.9.5 to ImageProcessor to v2.x.

    It's perfectly possible for the same files to not work on two different servers. Servers are complicated with lots of different configuration possibilities available. Hosts that supply shared hosting have a nasty habit of disabling necessary functionality which is thoroughly annoying. Unfortunately it makes trying to debug your error remotely very difficult to do.

    Have a go at upgrading, hopefully that will solve the problem. If not, maybe we can still figure something out.

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jun 05, 2015 @ 12:32
    Roberto Bianchi
    0

    I have installed the version you linked of ImageProcessor, but nothing is changed...

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jun 05, 2015 @ 13:37
    James Jackson-South
    0

    Try deleting the cache folder in App_Data/cache.

    If that doesn't change anything then I'm afraid you will have to chat to your hosting provider as I'm out of ideas.

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jun 05, 2015 @ 15:19
    Roberto Bianchi
    0

    After many conversations with the support of my hosting provider we have find the solution:
    we have changed, from the application pool, the pipeline type, from classic to integrated.

    Thank you all the same for the answers :)

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Jun 05, 2015 @ 15:23
    Jeavon Leopold
    0

    Do you mean from classic? I'm very happy you found the solution!

    You really had exhausted myself and James of ideas (and that doesn't happy often)!!!

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jun 05, 2015 @ 15:32
    James Jackson-South
    1

    Ah brilliant! I'm so glad you figured it out. :)

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jun 05, 2015 @ 15:39
    Roberto Bianchi
    101

    I hope that this discussion will also be useful to others developers in the future.

    Perhaps, in my opinion, it might be helpful write on the download page of ImageProcessor that  the configuration of the pipeline type of the server MUST be integrated and not classic.

    Thank you for the time spent with me, Jeavon and James :)

     

    Have a nice code :D

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jun 05, 2015 @ 20:22
    James Jackson-South
    1

    No worries, happy to help.

    To be honest with you, I'm surprised that you were set up in classic mode. There's an excellent explanation as to why here, the key sentence being:

    You should only add an application to an application pool in Classic mode if the application fails to work in Integrated mode.

    http://stackoverflow.com/a/14067500/427899

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jun 08, 2015 @ 09:08
    Roberto Bianchi
    0

    Interesting!

    Thank you James! ;)

Please Sign in or register to post replies

Write your reply to:

Draft