On my localhost platform i use Crop=resize with great results - The images are resized and cropped according to the set dimensions.
When i uploaded the site, those images suddenly appeared stretched like had i only provided skewed width and height values, bot the resize=crop value is still there but apparently not doing its job.
It sounds like you don't have a key for the Professional features on your live domain (crop is a Pro feature). Professional features are always enabled on localhost and *.local domains to make development and testing easier but you'll need to purchase a registration key for your live domain.
If you've purchased a registration key, double check that you have inserted it in the imagegen.config file. Also look at the output from http://yourdomain.com/imagegen.ashx?version which will show you what domains have professional features enabled.
If you need to purchase a key for your domain, just visit www.percipientstudios.com/imagegen/purchase.aspx to get one instantly.
Once you have your ImageGen Professional key installed properly, delete all the 'cached' folders on your live site so that the newly cropped images are regenerated and cached for future use.
Also i could see that you have to register the domain you want to use the license for.
That gives me a slight problem i think as i'm viewing my clients site on a temporary url at the new host, until we move from the current host to the new one. In the end the domain will ofcourse be the same when dns and stuff is udated, but if we can't get the license to work on the temporary url, i'll get a bucketload of cached folders i'd have to delete manually.
As for the key you purchased not appearing in the list of sites for which Professional features are available... did you add the <Key domain="blah">.....</Key> entry in the /config/imagegen.config file? If so, can you also let me know what you have for <Key> entries in the imagegen.config file when you contact me? It is sure to be something simple.
Cool - i'll send you the details when i get home this afternoon.
I did add the key within the <key></key> tag, but i'll send you the snippet along with the rest, i'm sure its something simple also. That's usually the case with the problems i encounter :-)
Cropped images are stretched after site upload
Hello again. I ran into another little issue.
On my localhost platform i use Crop=resize with great results - The images are resized and cropped according to the set dimensions.
When i uploaded the site, those images suddenly appeared stretched like had i only provided skewed width and height values, bot the resize=crop value is still there but apparently not doing its job.
Any pointers in this regard?
Hi, Martin,
It sounds like you don't have a key for the Professional features on your live domain (crop is a Pro feature). Professional features are always enabled on localhost and *.local domains to make development and testing easier but you'll need to purchase a registration key for your live domain.
If you've purchased a registration key, double check that you have inserted it in the imagegen.config file. Also look at the output from http://yourdomain.com/imagegen.ashx?version which will show you what domains have professional features enabled.
If you need to purchase a key for your domain, just visit www.percipientstudios.com/imagegen/purchase.aspx to get one instantly.
Once you have your ImageGen Professional key installed properly, delete all the 'cached' folders on your live site so that the newly cropped images are regenerated and cached for future use.
cheers,
doug.
Hi Doug
Thanks, the missing key is the issue here! My client is going to be thrilled about the license fee, haha :-)
Hi again Douglas
Bought a key and inserted it into the imageGen.config, but when testing the license i only get:
ImageGen Basic version 2.5.2.17053
Professional features are available for localhost
Professional features are available for *.local
I checked the webconfig and both entries described in the documentation is there.
Also i could see that you have to register the domain you want to use the license for.
That gives me a slight problem i think as i'm viewing my clients site on a temporary url at the new host, until we move from the current host to the new one. In the end the domain will ofcourse be the same when dns and stuff is udated, but if we can't get the license to work on the temporary url, i'll get a bucketload of cached folders i'd have to delete manually.
How do we go about this?
Hi, Martin,
Contact me through my website and let me know the temporary domain for the site and I'll give you a key for that. http://www.percipientstudios.com/about/contact.aspx
As for the key you purchased not appearing in the list of sites for which Professional features are available... did you add the <Key domain="blah">.....</Key> entry in the /config/imagegen.config file? If so, can you also let me know what you have for <Key> entries in the imagegen.config file when you contact me? It is sure to be something simple.
cheers,
doug.
Hi Douglas
Cool - i'll send you the details when i get home this afternoon.
I did add the key within the <key></key> tag, but i'll send you the snippet along with the rest, i'm sure its something simple also. That's usually the case with the problems i encounter :-)
Hi Douglas
I've sent an email through the form on your site. Looking forward to hearing from you.
is working on a reply...