BV Commerce Forum
»
BV Commerce Community
»
Feedback & Suggestions
»
Automatically resize images based on one large image upload
Rank: Member
Joined: 3/14/2008(UTC) Posts: 18
|
Rather than force users to upload an icon, medium and large picture individually, allow an admin to configure in system parameters the size of each image type (icon, medium and large). Once set, the admin can upload a single large image and the system will automatically create an icon, medium and large image from the one uploaded image.
For example, I could set these system params:
Icon Size: 110 x 110
Medium Size = 220 x 220
Large = 600 x 600
Maintain Aspect Ratio = True or False
Now if I upload an image that is 1280 x 1024, BVC will automatically create the icon, medium and large versions, and save to a folder strucrure like:
/images
/products
/icon
/medium
/large
This saves the admin the work of going through the upload process for each image size for every product.
The automatic image resizing can be togged on or off on a per-system or even per-product basis (via a checkbox or similar control on the product manager page).
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Agreed. Even the auto creation of the small and medium images in BVC 2004 was an improvement over BVC 5. We will probably be developing an image handler in the next month or two that will do what you're suggesting.
Aaron |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 3/11/2009(UTC) Posts: 1
|
Any progress on the auto-resizing of images as requested above?
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
We had some issues with the BVC 2004 image resizing quality. We resolved those issues now and are using a new image resizing library in BV Commerce Hosted Service. This will make it's way back into BV Commerce Toolkit at some point.
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Marcus,
We developed an image handler and associated customizations to BV. We did away with the concept of small, medium and additional images. There are only "images" and the user can upload as high-res of an image as they wish (e.g. 1,000 x 1,000 pixels). They have control over the sort order of the images and they can also specify a "default" image. The default image is the one that is used for grids, cross/up-sells, cart, etc. The image with a sort order of 1 is the one that is initially displayed on the product page. Then, whatever image sizes are specified in the store settings are used to automatically crunch the images. If the user decides one day that they want to increase or decrease the image size, they just change the setting and the images are automatically resized across the site. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Aaron,
We're doing something similar in the hosted version. Just upload a big picture and we generate all of the smaller sizes on disk. The original is stored in case we need to regenerate small images again later.
Does your handler crunch everything at run time? Does it store the smaller images anywhere?
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Marcus, The images are resized at runtime the first time they are requested and stored in a folder. All subsequent calls are then served from the previously rendered image. We built out the handler as a standalone component so we can drop it into any site. The first site we used it on is actually a BVC 2004 site. You can take a look at it here: http://www.hairdirect.com/store/Proflex-Strips-1-1-2-X-12.aspx |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.