Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2011
    Posts
    5
    Plugin Contributions
    0

    Default Batch conversion in Excel and Gif to jpg

    I am new to Zen Cart. Having taken over an existing website and given little help by the previous owner, I have a question regarding batch conversions.
    I have downloaded the vendor's product list of both TXT files for data and GIF files for pictures.

    But they need to be batch converted so that:


    1) the Tab Delimited txt files need the column headings changed (which I can do is easy). But the cell contents will need some batch editing to alter content.

    2) The vendor's pictures are downloaded as "gif" files, but our website contents have them as "jpg".

    Any help on this issue?

    Larry

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Batch conversion in Excel and Gif to jpg

    Zen Cart doesn't use tab-delimited files. So you must be referring to an add-on (EasyPopulate maybe) or something custom written by the previous owner. But without knowing what it is, there's not a lot we can offer.

    If the images on your site are jpegs, but the ones being supplied now are gifs, then merely changing the extension won't be enough, unless they're identically named otherwise and you're replacing all the old images with the new ones.

    Batch updates in this situation can be dangerous. Though EasyPopulate may be of use if this is a straightforward change. This would allow you to export your image names as part of your product data, edit them in a spreadsheet and reimport them.

    If it is a simple change of file extensions then running the following SQL against your database would do the job, but very rarely do I see a case that's this clearcut.
    UPDATE products SET products_image = REPLACE(products_image, ".jpg", ".gif");
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jan 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Batch conversion in Excel and Gif to jpg

    Yes, we are using Easy Populate which uses Tab Delimited txt files.
    I was thinking that something like a "Search & Replace" text feature in Excel, might work, but I can't figure it out.

    As to the pictures, I think a batch conversion software from GIF to JPG would be required so as not to corrupt the graphic file. I read that Adobe Elements might have that feature. I have Photoshop CS, but it won't perform that function. I thought someone might have a suggestion?

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Batch conversion in Excel and Gif to jpg

    Are you asking for help with the Excel Search & Replace feature. There are better places than the Zen Cart forum to ask for that.

    Photoshop can do this. but I really wouldn't recommend it. The full Photoshop is better at it than the cut down Elements version. You would need to create an "action" and then run it against the relevant files.

    However, converting images from one format to another is time consuming and results in data loss and image quality degradation.

    If the source images are gifs, you'd get a better result by updating your site to use them.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Need help fixing quality when going from .JPG to .GIF and back to .JPG???
    By Gsk8r18 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 8 Mar 2011, 07:51 PM
  2. Changing logo from gif to jpg
    By kydder1 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Feb 2009, 05:03 AM
  3. editing header_back.gif to .jpg
    By spikeycactus in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Sep 2008, 10:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR