I'm trying to get the lovely looking CropUp running on a new development and I'm not having much luck. As far as i can see I have installed everything correctly and all is configured (it looks to work in the backoffice), but when it comes to rendering the image on the site it's just loading the image normally.
So I have done what I was avoiding, and uninstalled the package to reinstall. Now I am in a loop trying to uninstall and reinstall (beta7) via the package installer, and I am getting a range of issues. Mainly
System.IO.FileNotFoundException: Could not find file ......\ .UmbracoMVC\App_Data\1b5de45e-af82-4d76-bef6-30dbb337ad66\Eksponent.CropUp.config'
And then also
[ApplicationException:Missing the DefaultProviderRegExin the list of providers forUrlRewritingNet]
I'll try and install manually and feedback. Currently feel I'll be going back to the standard image cropper :'(
EDIT : Update.. I added the config file from the previous version of CropUp into the b7 version and it installed. now back to testing ? *touch wood* it'll just work :)
So maybe it never installed properly, or i updated b3 with b7 by just updating the dlls or somehting. Anyway, if the config could be included in the package and the extra item (<add name="CropUpModule" type="Eksponent.CropUp.CropUpModule, Eksponent.CropUp"/>) added to the web.config then BINGO!
Hope this helps, and I look forward to getting into action with CropUp! Thanks Niels,
actually I ahd a similar issue when I added the package to one of my development builds.. but since I didn't have time to look inoto it I just took out the offending config lines..
basically it seemed to install but only seemed to partially write the updated config lines.. I was using a 4.7.11 build I think I'll double check that in a minute
Last time I checked, the package modified web.config and added the config sections to web.config. I'll test the installer and see if it's still the case.
I installed this on a dev site, and it worked. Installed on a second site and it failed to resize/crop. Moved a few things around in the web.config and got it working after several hours. Copied that working site to a new server and now once again, it refuses to work correctly. It seems if I specify a width and height it works. It however refuses to use my alias. I've uninstalled and reinstalled and followed several things in this thread.
I have found the issue was based around another plugin installed. I think the 301 redirect manager. The problem comes from the urlRewriternet rewriter with the other plugin, which then falters before it goes to crop-up.
So, my advice is to look at the other bits installed.
Hmm, I'm having the same issue on Umbraco 6.1.6 using latest version of cropup.
I tried adding the CropUpModule section as Peter described above, but without any luck.
In my installation I also have the url tracker package but I tried uninstalling and got the same result - but if I go to www.myurl.dk/CropUp/100x100/myimage.jpg then it's working without problems...
So it seems it can't read the defined width/height from the config file?
Seems like some of you managed to get it working by rearranging some section etc. in the web.config - would you care to share what the whole web.config looks like? Remember to delete connection strings and other stuff that no one else should know about of course :)
Ok, so it turns out that there is a bug where CropUp won't work if aliases are not strictly lower-case and consists of only lettters.
I had camelCasing in my aliases so I had an alias called "fullWidth". When i changed this alias to "fullwidth" in the config file and in my rendering then it worked :)
I have this issue in a v6.1.1 site whereby the crop mode is being ignored and, in my case at least, the issue is caused by the fact that if you don't have the CleanUrls plugin enabled (I don't because it created performance issues) the crop mode gets set to "crop-up" instead of "crop". If you manually amend the url of an image that is not working you get the expected image file.
CropUp not working maybe i'm a n00b
Hey there
I'm trying to get the lovely looking CropUp running on a new development and I'm not having much luck. As far as i can see I have installed everything correctly and all is configured (it looks to work in the backoffice), but when it comes to rendering the image on the site it's just loading the image normally.
The url of the image is generated with http://www.website.com/media/1001/imagename.jpg?mode=crop-up&cropUpAlias=banner and it goes to the full size image. Any ideas?
running umb 6.0.3 and cropup 1.0b7.
ta.
Peter
Hi Peter
Could you show us what your configuration file looks like? And how about the code you're using to fetch the image?
/Jan
Hey Jan, Thanks for responding :) Here are some bits.
oh. I am using Damp - which explains me passing in File to the CropUp.GetUrl Method
Need more? I'll happily supply.
Peter
That should work if your image url's looks like yoursite.com/CropUp/media/bla/bla.jpg.
Also, Is the module installed? You should have something like this in your <httpModules> and <modules> sections
- Niels
Hey Niels,
Thanks for replying.
I didn't have the CropUpUrls item. I now have
in both
Things seems to have progresses as the urls are now structured as you said, but the image generated is the main image - untouched :/
I am sorry. I feel that i am missing something simple, but just a little confused.
What happens if you write whatever.com/CropUp/100x100/your-image-url?
oooh.. a resized 100x100 :) so. something wrong in my config ?
Maybe. If you write CropUp/large/your-image url is the image then 800x600 (or smaller)?
I have uploaded another just to make sure i have the details right for you (and hope that it was fixed :) but unfortunatly not).
I uploaded an image (sam-and-peter_1200x.jpg) which is 1200x675
/CropUp/large/media/1008/sam-and-peter_1200x.jpg loads the full size image of 1200x675 instead of the 800x600 which is specified in the config.
Here are the web.config refs
Then the config file is in a post earlier in the thread.
thanks for the help Niels!
Sorry to be a pest.... any other ideas? :)
So I have done what I was avoiding, and uninstalled the package to reinstall. Now I am in a loop trying to uninstall and reinstall (beta7) via the package installer, and I am getting a range of issues. Mainly
And then also
I'll try and install manually and feedback. Currently feel I'll be going back to the standard image cropper :'(
EDIT : Update.. I added the config file from the previous version of CropUp into the b7 version and it installed. now back to testing ? *touch wood* it'll just work :)
hmm... web.config error
Could not load type 'Eksponent.CropUp.Plugins.CleanUrls'.
I'm a little confused again.
P
Ok.
Now the web.config has
It is running!
So maybe it never installed properly, or i updated b3 with b7 by just updating the dlls or somehting. Anyway, if the config could be included in the package and the extra item (<add name="CropUpModule" type="Eksponent.CropUp.CropUpModule, Eksponent.CropUp"/>) added to the web.config then BINGO!
Hope this helps, and I look forward to getting into action with CropUp! Thanks Niels,
/P
actually I ahd a similar issue when I added the package to one of my development builds.. but since I didn't have time to look inoto it I just took out the offending config lines..
basically it seemed to install but only seemed to partially write the updated config lines.. I was using a 4.7.11 build I think I'll double check that in a minute
So, it works? Great :)
Last time I checked, the package modified web.config and added the config sections to web.config. I'll test the installer and see if it's still the case.
Yeah Works! Thanks
I'm getting "specified virtual file could not be found" as below.
generating urls like: http://local.blah.com/CropUp/thumb/media/84757/case-study-placeholder.jpg and get the error below
I can hit http://local.blah.com/media/84757/case-study-placeholder.jpg fine though so the file is there
Umbraco 4.9.1, CropUp 1.07. I previously had CropUp 0.9 working on the same site OK
The specified virtual file could not be found.
ignore me, the file in question wasn't actually there in my file system after all
working for me now too
Handy to do something like this http://our.umbraco.org/wiki/reference/api-cheatsheet/using-applicationbase-to-register-events/event-examples/adjust-media-file-so-it's-url-friendly to strip spaces etc from media when saved. CropUp doesn't like spaces in filename, who does
I installed this on a dev site, and it worked. Installed on a second site and it failed to resize/crop. Moved a few things around in the web.config and got it working after several hours. Copied that working site to a new server and now once again, it refuses to work correctly. It seems if I specify a width and height it works. It however refuses to use my alias. I've uninstalled and reinstalled and followed several things in this thread.
Now what?
I have found the issue was based around another plugin installed. I think the 301 redirect manager. The problem comes from the urlRewriternet rewriter with the other plugin, which then falters before it goes to crop-up.
So, my advice is to look at the other bits installed.
Hmm, I'm having the same issue on Umbraco 6.1.6 using latest version of cropup.
I tried adding the CropUpModule section as Peter described above, but without any luck.
In my installation I also have the url tracker package but I tried uninstalling and got the same result - but if I go to www.myurl.dk/CropUp/100x100/myimage.jpg then it's working without problems...
So it seems it can't read the defined width/height from the config file?
Seems like some of you managed to get it working by rearranging some section etc. in the web.config - would you care to share what the whole web.config looks like? Remember to delete connection strings and other stuff that no one else should know about of course :)
Cheers, Jan
...Still pulling my hair over this one.
I'm using IIS8 on a virtual windows 8 running 64 bit.
The application pool is running integrated mode and is run by the network service.
I've had a look at the troubleshooting guide here http://imageresizing.net/docs/troubleshoot but I'm not sure what to do - I think it's something with the configuration of IIS and I've had a look at the suggestions here http://imageresizing.net/docs/troubleshoot#image-appears-original-size but I'm feeling really lost...anyone got a clue?
Cheers, Jan
Ok, so it turns out that there is a bug where CropUp won't work if aliases are not strictly lower-case and consists of only lettters.
I had camelCasing in my aliases so I had an alias called "fullWidth". When i changed this alias to "fullwidth" in the config file and in my rendering then it worked :)
The bug has been reported in september here http://cropup.codeplex.com/workitem/9
/Jan
I have this issue in a v6.1.1 site whereby the crop mode is being ignored and, in my case at least, the issue is caused by the fact that if you don't have the CleanUrls plugin enabled (I don't because it created performance issues) the crop mode gets set to "crop-up" instead of "crop". If you manually amend the url of an image that is not working you get the expected image file.
Simon
I have same problem. If Umbraco Expert here please contact me.
Hey Clara, I'm not an Umbraco Expert, but will try and help. :)
Can you detail your issue? And have you followed the thread to see if any of the other solutions have worked for you?
P
If, like me you don't have clean urls enabled for CropUp I could give you my custom build to see if that helps?
Simon
is working on a reply...