osCmax v2.5 User Manual
Results 1 to 3 of 3

Displaying images

This is a discussion on Displaying images within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi has anybody got a solution to the following problem? I need to display an image size of a particular ...

      
  1. #1
    Lurker
    Join Date
    Apr 2003
    Posts
    4
    Rep Power
    0


    Default Displaying images

    Hi has anybody got a solution to the following problem?
    I need to display an image size of a particular manufacturer
    let me explain ,we sell books cds an videos etc the default small image size is fine for book videos etc say 100 x85. but i need to display cds at 85 x 85
    if i could chage the code to read some thing like if manufacture id = 102 then small image size height = 85 width = 85 else height +width = default
    can anybody point me in the right direction eg which page the image sizes are set better still post some code here for me ta very much!

    www.kairosbooks.com launch date 1st june 2003

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    You could just set the image size for the width or height, since they both have a common size for height, set that in the admin, and leave the height blank. Now they will display properly, as the width is defined by osCommerce and the height will fall proportionately.

    All you have to do is standardize your actual image sizes, and you should be able to do this quite easily.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Apr 2003
    Posts
    4
    Rep Power
    0


    Default images

    i have seen the reply already on this forum,I upload all images in "Large"format to save time I have Re-size image on,Book images are uploaded at H250 W166 CD's are uploaded W200 H200, if I leave any of the image sizes blank in Admin
    the CD reverts to 200 X 200 but the books stop in proportion 132 X 100 , all of the CD Images are from the same manufactuer so the id is for example id=103 if i can hard code it it would be the best option

Similar Threads

  1. Tax isn't displaying at all..
    By Willum in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 12-05-2005, 08:58 PM
  2. OSCMAX_top not displaying
    By Astro in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 10-02-2004, 08:49 AM
  3. Problems displaying atr. 777 images...
    By stando in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 08-09-2004, 09:11 AM
  4. Images not displaying
    By robroymedia in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 02-17-2004, 12:47 PM
  5. Brand new to Osc - Problems with images displaying at all
    By brucek in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 08-30-2003, 05:05 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
  •