Copied to clipboard

Flag this post as spam?

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


  • Christopher Thrower 20 posts 60 karma points
    May 21, 2015 @ 00:12
    Christopher Thrower
    0

    Umbraco Image Cropper is not cropping

    I'm using the Image Cropper in Umbraco, the URL and everything seems to be coming through correctly, for example:

    <img src="/media/3289/20150307-fasbourn-main-hall-01_2_3_4_5_6_7-m.jpg?crop=0,0,0,0.15342123642828429&amp;cropmode=percentage&amp;width=370&amp;height=250&amp;rnd=130766378390000000" alt="Fasbourn Hall">
    

    And my Image Cropper settings & Code are all setup the same as usual, which I've never had a problem with. For some reason the image isn't being cropped when it gets to the frontend of the site.

    I've found a forum post online saying to check that ImageProcessor & ImageProcessor.dll.Web are up to date and referenced in the web.config which they are and still not working sadly!

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    May 21, 2015 @ 00:26
    Jeavon Leopold
    0

    Hi Christopher,

    A few questions for you

    1. Did you install Umbraco with NuGet or from download?
    2. Have you ever installed ImageResizer?
    3. Could you post your web.config (removing any passwords) here?

    Jeavon

  • Christopher Thrower 20 posts 60 karma points
    May 21, 2015 @ 01:08
    Christopher Thrower
    0

    Hi,

     

    I installed from a download, same as always.

    Never installed ImageResizer

    Will post web.config in the morning as I'm on my phone now :-(

  • Christopher Thrower 20 posts 60 karma points
    May 21, 2015 @ 09:08
    Christopher Thrower
    0

    Here's my web.config file.

    <?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.5" />
        <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" />
        <add key="umbracoHideTopLevelNodeFromPath" value="true" />
        <add key="umbracoUseDirectoryUrls" value="true" />
        <add key="umbracoTimeOutInMinutes" value="20" />
        <add key="umbracoDefaultUILanguage" value="en" />
        <add key="umbracoUseSSL" value="false" />
        <add key="umbracoVersionCheckPeriod" value="0" />
        <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" />
    
      </appSettings>
      <connectionStrings>
        <remove name="umbracoDbDSN" />
        .....
        <!-- 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="127.0.0.1" userName="username" password="password" />
          </smtp>
        </mailSettings>
      </system.net>
    
      <system.web>
        <trust level="Full" />
        <customErrors mode="Off" />
        <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
        <httpRuntime 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="false" 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>
        <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>
    
    </configuration>
    
  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    May 21, 2015 @ 09:27
    Jeavon Leopold
    0

    Strange, everything looks fine, if you try to request /media/3289/20150307-fasbourn-main-hall-01_2_3_4_5_6_7-m.jpg?width=100 do you just get the original image or resized?

  • Christopher Thrower 20 posts 60 karma points
    May 21, 2015 @ 09:32
    Christopher Thrower
    0

    Hi,

    That's what I thought. I've not experienced problems with the image cropper before! If I request that URL, I get the original sized image.

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    May 21, 2015 @ 09:33
    Jeavon Leopold
    0

    Ok, so not resized to 100 pixels then?

  • Christopher Thrower 20 posts 60 karma points
    May 21, 2015 @ 09:35
    Christopher Thrower
    0

    Nope, afraid not. Comes in at 1600 x 1111px

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    May 21, 2015 @ 09:36
    Jeavon Leopold
    0

    Ok, have you checked your folder permissions, maybe there is any issue with creating the cache folder in /App_Data/cache, do you see this folder at all?

  • Christopher Thrower 20 posts 60 karma points
    May 21, 2015 @ 10:03
    Christopher Thrower
    0

    The cache folder is present, although it is empty?

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    May 21, 2015 @ 10:10
    Jeavon Leopold
    0

    It should be working!

    Perhaps you could install the ImageProcesor package from here It will upgrade you from the Umbraco default v1 to v2 and also will check and replace if there are any config issues.

    Worth a go?

  • Christopher Thrower 20 posts 60 karma points
    May 21, 2015 @ 10:13
    Christopher Thrower
    0

    I'll give it a go and let you know how it goes.

    Thanks :)

  • Christopher Thrower 20 posts 60 karma points
    May 21, 2015 @ 10:18
    Christopher Thrower
    0

    I've installed that and re-published the entire site but unfortunately still no luck.

    Here's an Image URL: http://fasbournhall-co-uk.securesslhosting.co.uk/media/3289/20150307-fasbourn-main-hall-01234567-m.jpg?crop=0,0,0,0.15342123642828429&cropmode=percentage&width=370&height=250&rnd=130766770670000000

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    May 21, 2015 @ 16:54
    Jeavon Leopold
    0

    Hi Christopher,

    I discussed your issue with James who created ImageProcessor and you have us both stumped....

    Do you have a copy of this site on a local machine you could try it on to see if it might be something on the server?

    Jeavon

  • Christopher Thrower 20 posts 60 karma points
    May 21, 2015 @ 17:04
    Christopher Thrower
    0

    Haha, that sounds daunting! I don't have it on my local machine, but I can set it up and give it a go.

    I'm at work at the moment, so I'll try it tonight and I'll see how it goes and update you.

    Thanks :)

  • Christopher Thrower 20 posts 60 karma points
    May 21, 2015 @ 19:21
    Christopher Thrower
    0

    Seems to be working fine locally. So there must be a problem with the server it's on. It's on a Shared Namesco hosting, although I've done work for the same client and there are multiple Umbraco installations running on the same server/hosting package with Image Croppers that work.

    Do you have any idea what serverside settings would/could effect the Image Cropper?

    Thanks.

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    May 21, 2015 @ 19:26
    Jeavon Leopold
    0

    Well at least that some sort of progress.

    The only thing I can think of is some sort of request handling which is ignoring the query strings completely.

  • Christopher Thrower 20 posts 60 karma points
    May 26, 2015 @ 16:58
    Christopher Thrower
    0

    Update:

    The issue was the URL - It's a temporary URL that the host sets up to allow access to the website. I guess Umbraco didn't like it.

    Thanks for the assistance Jeavon :)

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    May 26, 2015 @ 17:30
    Jeavon Leopold
    0

    Ah great, it must have been ignoring the querystring somewhere!

  • k 256 posts 654 karma points
    Jan 11, 2016 @ 12:30
    k
    0

    Hello,

    It seems that the image cropper is not working .

    I am getting empty src.

    Can someone please help.

    thnks

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jan 11, 2016 @ 12:48
    James Jackson-South
    0

    Hey K,

    • Would you be able to share your log files at all?
    • Could you tell me what version of ImageProcessor and ImageProcessor.Web you are running?

    Are you on shared hosting? I have a feeling that you are probably suffering from an issue where the post processor is failing on systems with certain security option set. If you are using imageProcessor.Web v4.4.1 then you could download the configuration package from Nuget and try setting postProcess to false.

    http://imageprocessor.org/imageprocessor-web/configuration/#processingconfig

    If this is not the case then please share whatever information you have and I'll try to help you

    Cheers

    James

  • Ricardo Marcelino 15 posts 73 karma points
    Jan 09, 2017 @ 17:10
    Ricardo Marcelino
    0

    Hey guys, sorry to hijack the thread but like Christopher Thrower, i'm having issues with ImageProcessor not working.

    Here's a link:

    /media/1017/item-article.jpg?center=0.679144385026738,0.785&mode=crop&width=200&height=200&rnd=131284514910000000
    

    Installed via NuGet and using the latest version. Generated the link with GetCropUrl().

    Working locally, so no weird links also.

    Best Regards

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jan 10, 2017 @ 00:29
    James Jackson-South
    0

    Hi Ricardo,

    Installed via NuGet and using the latest version. Generated the link with GetCropUrl().

    Not reaaaally helpful for debugging. Please supply actual version numbers.

    Have you got Cloudflare or something running that is set to ignore querystring parameters? 99.9999% of the time it's something with the developmental setup that is the issue not ImageProcessor.Web.

    It Just Works ™

    Cheers

    James

  • Ricardo Marcelino 15 posts 73 karma points
    Jan 10, 2017 @ 12:14
    Ricardo Marcelino
    0

    Hello James,

    Here goes:

    • ImageProcessor 2.5.0.0
    • ImageProcessor.Web 4.7.1.0

    I'm working locally with my own IIS. I have another site, on the same server, with an older version of ImageProcessor that is reading the QueryString fine and outputing a processed image.

    Maybe something is not set/configured right on my new Site on IIS?

    Best Regards! Ricardo

Please Sign in or register to post replies

Write your reply to:

Draft