Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2005
    Location
    Charlottesville, VA
    Posts
    431
    Plugin Contributions
    0

    Additional images: different file format?

    Howdy.

    Sometimes I would like to have my additional images in a format other than the format for the main product image.

    For instance, I show a book cover in .jpg, but I want to show sample pages in .gif (or... PDF would be awesome, but that's an entirely different matter, since that is a page serve, not an image serve.)

    Nice clear B&W GIFs of pages look fuzzy as JPGs.

    Is there a workaround for this issue?

    ---Diana

  2. #2
    Join Date
    Jul 2005
    Location
    Charlottesville, VA
    Posts
    431
    Plugin Contributions
    0

    Default Re: Additional images: different file format?

    It looks like it needs a modification in includes/modules/pages/popup_image_additional/header_php.php

    to this line:
    Code:
      $products_image_extension = substr($products_image, strrpos($products_image, '.'));
    but how to handle that nicely...

    I only use .jpg and .gif images.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Additional images: different file format?

    If you have a good graphic editor like PhotoShop you can convert your jpg's to gif and only use gif as your images. This would appear easier than hacking the code to me...but then I am not a coder.

    There might also be some freeware or opensource editors gimp is a great one.
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Jul 2005
    Location
    Charlottesville, VA
    Posts
    431
    Plugin Contributions
    0

    Default Re: Additional images: different file format?

    Well,

    Converting a jpeg to a gif can get a very large gif file size. I do use Photoshop.

    Anyone else know a code workaround to string together a picture file extension that is independent of the main image file format?

    Or: a hack to use *either* .gif or .jpg extensions?

    thanks for any info!

 

 

Similar Threads

  1. v151 Additional Images per row for different product types?
    By DannyVarley in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Jul 2013, 02:57 PM
  2. Is there a different naming convention for Additional Product Images?
    By thebigkick in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Jun 2012, 05:38 PM
  3. Additional product images - file non existant???
    By Australian Caching in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 22 Apr 2011, 01:32 PM
  4. Different Additional Images
    By coxdabd in forum General Questions
    Replies: 4
    Last Post: 16 Aug 2010, 08:31 PM
  5. Additional Images - why different MED/LRG directories?
    By sem101 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 14 May 2007, 05:10 PM

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