in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Images

Last post 03-31-2008 2:40 AM by Timmey. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • 03-24-2008 11:57 AM

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Images

    I'm using dC3.0 beta. I need a thumbnail at 150px x 150px for the catalog and a fullsize picture at about 300-400px square for the product page. How are others handling the need for two sizes now???

    I checked codeplex and saw that there might be an automatic thumbnail generator developed after the beta gets a little more solid. For now, the store I'm working on has few enough products that I can create two pictures.

    How do I direct dC to use the proper pic for the thumbnail and the proper one for the fullsize? The solution under the topic Thumbnails just seems too involved for my purposes!

    --
    Bruce
    Filed under: , ,
  • 03-25-2008 2:58 AM In reply to

    Re: Images

    There is an image service which you can include to the project. The Image is resized on the fly with width you need.

    You may have a look here: http://dashcommerce.org/forums/t/240.aspx

    *Freetime Freestyle DashCommerce development*

    Currently working on:
    ##############################################################
    · TagCloud - patching
    · Headline Generator 50%
    · Navigation XHTML with Images 80%
    · Extended Shopping Cart Widget - 5%
    · XML Sitemap Service Exporting for Google, Froogle what ever. 33%
    - JQuery Implementing for better JLib Support 70%
  • 03-25-2008 9:06 AM In reply to

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Re: Images

    Thanks for your reply, but as I mentioned, "The solution under the topic Thumbnails just seems too involved for my purposes!"

    I was really trying to understand how it was intended to work right out of the box.

    --
    Bruce
  • 03-25-2008 11:22 AM In reply to

    Re: Images

    The other way would be photoshop with a batch.

    That last solution is "out of the box image processing" you just have to update one link at all.

    *Freetime Freestyle DashCommerce development*

    Currently working on:
    ##############################################################
    · TagCloud - patching
    · Headline Generator 50%
    · Navigation XHTML with Images 80%
    · Extended Shopping Cart Widget - 5%
    · XML Sitemap Service Exporting for Google, Froogle what ever. 33%
    - JQuery Implementing for better JLib Support 70%
  • 03-25-2008 12:03 PM In reply to

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Re: Images

    Thanks again for your response.

    I guess I'm just not explaining myself very well. I don't mind making two separate versions of the pictures, because my catalog will be relatively small. My question was HOW do I get dC to serve the thumbnail when appropriate and the fullsized version on the product page???

    --
    Bruce
  • 03-25-2008 12:24 PM In reply to

    Re: Images

    Okay now I got you now.

    There isnt an out of the Box thumbnail solution.

    If you want to add a different Image or smaller Thumbnail, you have to make some changes in the Product class (Product.cs).
    There is a property called:

    public string DefaultImagePath

    Add a new Property something like

    public string ThumbnailDefaultImagePath

    and grab the thumbnail from the filesystem and return as a string.

    There is no otherway then modifying the code or adding some property for it.

    If you just want the pic smaller, do it via css setting the height and width of it.

    If you decide for adding a property, you also have to change the codebehind whereever you want to use it.

    Equal how you decide, you have to touch the code.

    *Freetime Freestyle DashCommerce development*

    Currently working on:
    ##############################################################
    · TagCloud - patching
    · Headline Generator 50%
    · Navigation XHTML with Images 80%
    · Extended Shopping Cart Widget - 5%
    · XML Sitemap Service Exporting for Google, Froogle what ever. 33%
    - JQuery Implementing for better JLib Support 70%
  • 03-25-2008 12:46 PM In reply to

    Re: Images

    I know a tool call

    imre

    can do a quick batch resize

  • 03-25-2008 1:05 PM In reply to

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Re: Images

    Thank you again for your response, Timmey!

    In 2.2, I'm positive I only created one version of each product photo, and I made them all 250px x 250px. Yet, in the left sidebar, when you see the recently viewed products, there is a mini-thumbnail there at 40px x 40px. On the catalog pages, the photos all appear at 125px x 125px. Are these other sized versions optimized to look good? No. But they work.

    I guess 3.0 does not yet have this functionality, although Codeplex mentions that maybe it will be added at a later date.

    I don't approve of your idea of adjusting the size of the image using CSS - it's not very efficient, as the page still has to load and then resize the full sized image, which could make your page weight pretty high -- but that's just my opinion as a designer.

    If I am understanding the dashCommerce 3.0 beta correctly, it seems that whatever you choose to be your product picture needs to be small enough to fit on the catalog page (roughly 150px x 150px - ish) and that's what will also appear on the product page (although there can be other (larger) pictures available there....

    I wonder if we can get Chris to chime in on this subject -- what did you intend here???

    --
    Bruce
  • 03-25-2008 1:07 PM In reply to

    • MrBruce
    • Top 10 Contributor
    • Joined on 02-11-2008
    • Juno Beach, FL
    • Posts 120

    Re: Images

    Thanks, jackyu. But that's not really the problem I'm having.

    --
    Bruce
  • 03-31-2008 2:40 AM In reply to

    Re: Images

    IMO, there should be a solution which Chris can use for development in future.

    So actually I dont see a lot user development and providing support for the project. Since all request more features for the 3.0 and (IMHO) dont provide a lot stuff.

    Well its released for a while now, but its a beta. Providing a touchable preview not an entire solution, I could bet, when 3.0 production is released you'll find the most common features and important features from 2.2.

    Sorry for my bad english, writing while having my first cup of coffee today. ;)

     

    *Freetime Freestyle DashCommerce development*

    Currently working on:
    ##############################################################
    · TagCloud - patching
    · Headline Generator 50%
    · Navigation XHTML with Images 80%
    · Extended Shopping Cart Widget - 5%
    · XML Sitemap Service Exporting for Google, Froogle what ever. 33%
    - JQuery Implementing for better JLib Support 70%
Page 1 of 1 (10 items)