Post by tomlam » Thu Aug 05, 2010 6:12 pm

UPDATE

Product Image Cropping Module
You can now easily crop all your images within Opencart. This keeps all your product images exactly the same aspect ratio.
For example, choose the size of thumbnail that you'd like all images on the site to use, then when you upload an email you get the option to use the image cropper. Then simply choose which part of the image you'd like to use as the thumbnail and hit save. All images that use the image cropper will now be the exact same aspect ratio.

This extension has now been made and is working fully.
If you'd like it please email support@candidsky.com. The first 10 people to email me can have it for free.

Cheers
Tom
Last edited by tomlam on Tue Aug 17, 2010 11:47 pm, edited 1 time in total.

Newbie

Posts

Joined
Thu Aug 05, 2010 6:05 pm

Post by JAY6390 » Fri Aug 06, 2010 10:19 am

So you want to crop the images rather than pad them?

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by tomlam » Fri Aug 06, 2010 4:07 pm

Yes... I think I know what you mean.

Basically some of my images are squares, some are not, so they arent uniform on the page and don't look neat at all.
What I want to do is simply take the middle square of the original image and crop off the rest, creating a square image for each product thumbnail.

What do you think?

Newbie

Posts

Joined
Thu Aug 05, 2010 6:05 pm

Post by JAY6390 » Fri Aug 06, 2010 6:18 pm

Yeah it's possible to do, you just have to kind of reverse the image resizer tool, work out the trimming needed, and save that as the cache image

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by tomlam » Fri Aug 06, 2010 6:21 pm

Is there currently a module that would handle this. I'm shocked that nobody else has enquired about this feature.

Newbie

Posts

Joined
Thu Aug 05, 2010 6:05 pm

Post by JAY6390 » Fri Aug 06, 2010 6:30 pm

Not that I'm aware of (but I've only been using OC since May ;))

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by tomlam » Fri Aug 06, 2010 6:47 pm

How long would it take a fine module writer like yourself to come up with something robust that would do this?

Where are you based?

Newbie

Posts

Joined
Thu Aug 05, 2010 6:05 pm

Post by JAY6390 » Fri Aug 06, 2010 7:17 pm

hehe probs less than an hour. I'm in the UK

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by superautomatic » Tue Aug 31, 2010 11:28 pm

This would be a very welcome addition. Different image sizes often destroys the most well laid out site.


Posts

Joined
Mon May 17, 2010 7:41 pm

Post by tomlam » Wed Sep 01, 2010 6:15 am

This module is now complete.
We haven't added it to the Opencart Store yet, but email me and we'll arrange an installation for you.

support@candidsky.com

Newbie

Posts

Joined
Thu Aug 05, 2010 6:05 pm
Who is online

Users browsing this forum: No registered users and 23 guests