- Posts: 28
COMMUNITY FORUM
PLUGIN: Image Cropping, Fit W&H and More...
- harikaram
-
Topic Author
- Offline
- Junior Member
Less
More
14 years 3 months ago #92537
by harikaram
PLUGIN: Image Cropping, Fit W&H and More... was created by harikaram
I've just finished coding a new extension that allows for more flexible image handling by K2. I'm hoping there might be a couple early adopters out there or people desperate for a fit-to-height feature to help me test it a bit more before I release it at large...
Key Features:
Set items' images to fit by width AND height, or by either only
Auto crop to predefined aspect ratios. Allows uniform image sizes and square thumbs
Preview and override individual image size for an item (eg if you didn't like the autocrop or quality on the XSmall size, for example)
Saves images by JPEG quality OR desired final filesize
Configurable individually for each K2 image size (XSmall, Small, etc, but not per category at the mo')
It requires PHP 5.2. It's pretty self explanatory and makes no DB changes or changes to your existing content. Just install, enable & tweak the settings, and go add/edit an item...
Key Features:
Set items' images to fit by width AND height, or by either only
Auto crop to predefined aspect ratios. Allows uniform image sizes and square thumbs
Preview and override individual image size for an item (eg if you didn't like the autocrop or quality on the XSmall size, for example)
Saves images by JPEG quality OR desired final filesize
Configurable individually for each K2 image size (XSmall, Small, etc, but not per category at the mo')
It requires PHP 5.2. It's pretty self explanatory and makes no DB changes or changes to your existing content. Just install, enable & tweak the settings, and go add/edit an item...
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
Less
More
- Posts: 663
14 years 3 months ago #92538
by BBC
Replied by BBC on topic PLUGIN: Image Cropping, Fit W&H and More...
Thank you, relly useful one.
When you click at item image (new uploaded), it shows old image in popup.
When you click at item image (new uploaded), it shows old image in popup.
Please Log in or Create an account to join the conversation.
- harikaram
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
14 years 3 months ago #92539
by harikaram
Replied by harikaram on topic PLUGIN: Image Cropping, Fit W&H and More...
I've noticed that sometimes the browser caches the K2 image preview and it doesnt show up straight away. Try clearing the browser cache.
If that doesnt help, let me know exactly what you are doing and whats happening as I'm not entirely clear from your comment...
Thx for the feedback...
BBC said:
Thank you, relly useful one.
When you click at item image (new uploaded), it shows old image in popup.
If that doesnt help, let me know exactly what you are doing and whats happening as I'm not entirely clear from your comment...
Thx for the feedback...
BBC said:
Thank you, relly useful one.
When you click at item image (new uploaded), it shows old image in popup.
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
Less
More
- Posts: 663
14 years 3 months ago #92540
by BBC
Replied by BBC on topic PLUGIN: Image Cropping, Fit W&H and More...
I´ll do it soon.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
Less
More
- Posts: 6227
14 years 3 months ago #92541
by JoomlaWorks
Replied by JoomlaWorks on topic PLUGIN: Image Cropping, Fit W&H and More...
Moved your post to "K2 extensions"...
Please Log in or Create an account to join the conversation.
- FeSys
-
- Offline
- Elite Member
Less
More
- Posts: 262
14 years 3 months ago #92542
by FeSys
Replied by FeSys on topic PLUGIN: Image Cropping, Fit W&H and More...
Thank you so much..
That's great.
That's great.
Please Log in or Create an account to join the conversation.
- Stéphane Herby
-
- Offline
- New Member
Less
More
- Posts: 12
14 years 3 months ago #92543
by Stéphane Herby
Replied by Stéphane Herby on topic PLUGIN: Image Cropping, Fit W&H and More...
Just wanted to thank you for this wonderful extension... Your square thumbs is a providence for my website....
Please Log in or Create an account to join the conversation.
- harikaram
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
14 years 3 months ago #92544
by harikaram
Replied by harikaram on topic PLUGIN: Image Cropping, Fit W&H and More...
Cheers Stéphane. Thanks for helping test it out...
Stéphane Herby said:
Just wanted to thank you for this wonderful extension... Your square thumbs is a providence for my website....
Stéphane Herby said:
Just wanted to thank you for this wonderful extension... Your square thumbs is a providence for my website....
Please Log in or Create an account to join the conversation.
- Dwight Barnard
-
- Offline
- New Member
Less
More
- Posts: 5
14 years 3 months ago #92545
by Dwight Barnard
Replied by Dwight Barnard on topic PLUGIN: Image Cropping, Fit W&H and More...
Hi there,
Giving your extension a test drive and have a few questions?
1. Are the Resize Method and Aspect Ratio applied to override images (I can't seem to get it to work)
2. Will you be working on a filter for categories?
Great work and very useful plugin.
Giving your extension a test drive and have a few questions?
1. Are the Resize Method and Aspect Ratio applied to override images (I can't seem to get it to work)
2. Will you be working on a filter for categories?
Great work and very useful plugin.
Please Log in or Create an account to join the conversation.
- harikaram
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
14 years 3 months ago #92546
by harikaram
Replied by harikaram on topic PLUGIN: Image Cropping, Fit W&H and More...
Hi Dwight,
1. Are the Resize Method and Aspect Ratio applied to override images (I can't seem to get it to work)
No. The idea is if you don't like the the crop or the compression destroys the image too much you can do it manually and upload your own. You can also upload a different size if you wanted.
The crop/resize actions occur on the main article image when it is uploaded or selected. To get it to work on an article with an existing image, you need to re-select/upload the main image.
2. Will you be working on a filter for categories?
Category images you mean? The problem with categories is that K2 doesn't have any plugin hooks for them so getting the form data in and dealing with the image would require some painful workarounds. I'm hoping they'll extend their hooks in an upcoming version. I'm hoping more that they incorporate this plugin into the core functionality ;) That way, we can have things such as width AND height settings rather than using the "aspect ratio" workaround to deal with the fact their is only 1 constraint in the K2 admin (ie "width")
Let me know how you get on with it...
1. Are the Resize Method and Aspect Ratio applied to override images (I can't seem to get it to work)
No. The idea is if you don't like the the crop or the compression destroys the image too much you can do it manually and upload your own. You can also upload a different size if you wanted.
The crop/resize actions occur on the main article image when it is uploaded or selected. To get it to work on an article with an existing image, you need to re-select/upload the main image.
2. Will you be working on a filter for categories?
Category images you mean? The problem with categories is that K2 doesn't have any plugin hooks for them so getting the form data in and dealing with the image would require some painful workarounds. I'm hoping they'll extend their hooks in an upcoming version. I'm hoping more that they incorporate this plugin into the core functionality ;) That way, we can have things such as width AND height settings rather than using the "aspect ratio" workaround to deal with the fact their is only 1 constraint in the K2 admin (ie "width")
Let me know how you get on with it...
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
Less
More
- Posts: 663
14 years 3 months ago #92547
by BBC
Replied by BBC on topic PLUGIN: Image Cropping, Fit W&H and More...
There is already easy fix for custom width and height (together) at forum.
(problem is that you have to go to the forum for new K2 install)
I don´t understand why it is not core functionalty, as it is already supported by PHP options.
They are maybe afraid for crop and proportions, panorama gets as portrait, portrait gets as panorama, some parts gets cutted, etc..
But people are not kids, they can take responsibility for this.
Hari Karam Singh said:
2. Will you be working on a filter for categories?
Category images you mean? The problem with categories is that K2 doesn't have any plugin hooks for them so getting the form data in and dealing with the image would require some painful workarounds. I'm hoping they'll extend their hooks in an upcoming version. I'm hoping more that they incorporate this plugin into the core functionality ;) That way, we can have things such as width AND height settings rather than using the "aspect ratio" workaround to deal with the fact their is only 1 constraint in the K2 admin (ie "width")
Let me know how you get on with it...
(problem is that you have to go to the forum for new K2 install)
I don´t understand why it is not core functionalty, as it is already supported by PHP options.
They are maybe afraid for crop and proportions, panorama gets as portrait, portrait gets as panorama, some parts gets cutted, etc..
But people are not kids, they can take responsibility for this.
Hari Karam Singh said:
2. Will you be working on a filter for categories?
Category images you mean? The problem with categories is that K2 doesn't have any plugin hooks for them so getting the form data in and dealing with the image would require some painful workarounds. I'm hoping they'll extend their hooks in an upcoming version. I'm hoping more that they incorporate this plugin into the core functionality ;) That way, we can have things such as width AND height settings rather than using the "aspect ratio" workaround to deal with the fact their is only 1 constraint in the K2 admin (ie "width")
Let me know how you get on with it...
Please Log in or Create an account to join the conversation.