Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-23-2001 19:02:02

Guest
Guest

Graphic size restraints

Is there any way to remove the graphic size restraints.  My shopping cart has over 600 product pictures, both large and thumbnails, and all graphics in each category are not the same size, so one size does not fit all.  I would like them to appear in their native size.  Is this possible?

 

#2 08-25-2001 08:53:55

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Graphic size restraints

To do this, either make all of your images the same size, or edit the Perl generated HTML in the scripts:

./cgi-bin/library/modules/site_store_product.pl
./cgi-bin/library/modules/site_store_small_display.pl

Removing the WIDTH and HEIGHT attributes from the image tags you wish to change.


Nick Hendler

Offline

 

#3 08-29-2001 17:39:03

Alisa
Member
Registered: 07-12-2001
Posts: 10

Re: Graphic size restraints

Okay, I feel dumb.  This is exactly what I need but I am not sure what you mean with this answer.  I opened the file but am not sure I understand what to edit. 

Thanks in advance for the help.  Your service is great!

Alisa


>To do this, either make all
>of your images the same
>size, or edit the Perl
>generated HTML in the scripts:
>
>
>./cgi-bin/library/modules/site_store_product.pl
>./cgi-bin/library/modules/site_store_small_display.pl
>
>Removing the WIDTH and HEIGHT attributes
>from the image tags you
>wish to change.


Offline

 

#4 09-05-2001 19:29:16

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Graphic size restraints

For example, where it says:

<IMG SRC="x.gif" WIDTH="y" HEIGHT="z">

make that into:

<IMG SRC="x.gif">


Nick Hendler

Offline

 

Board footer