Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Squashed images in default.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mikehenson
Starting Member

20 Posts

Posted - May 11 2006 :  14:36:29  Show Profile  Visit mikehenson's Homepage  Reply with Quote
The thumbnail images displayed in default.asp reduce and squash the image to a ratio of 1:1.

As my shop is selling video clips it's fairly important that even the thumbnails are shown in their normal 4:3 or 16:9 ratio. How do I rectify this?

Thank you

dianelise
Starting Member

10 Posts

Posted - May 12 2006 :  23:29:45  Show Profile  Visit dianelise's Homepage  Reply with Quote
We have the same issue...I'm anxious to see a response on this one! The problem also occurs in the cross sell images.
Go to Top of Page

support
Administrator

4679 Posts

Posted - May 14 2006 :  04:41:05  Show Profile  Visit support's Homepage  Reply with Quote
Hi there,

To change the height and width attributes for the product images displayed on your default.asp page, you will need to edit your tmp_frontpage.htm file.

Locate approximately line 10
<a href="shopexd.asp?id=[catalogid]"><img src="[Cimageurl]" width='60' height='60' border='0'></a>

and change the width and height attributes to suit your needs. You could even not include a width and height attribute which will display the image in the actual size that it is.

To change the image size on your shopexd.asp pages when displaying cross selling images, you will need to edit your shopproductsubs.asp file. Locate approximately line 1740
<a href="<%=url%>"><img src="<%=imagefile%>" width='60' height='60' border='0'></a>

and once again change the width and height attribute values.

Thanks

Dean
VP-ASP Support
Go to Top of Page

mikehenson
Starting Member

20 Posts

Posted - May 14 2006 :  05:45:27  Show Profile  Visit mikehenson's Homepage  Reply with Quote
Thank you.

I have removed the sizing information in order to correctly display 4:3 and 16:9 clips.
Go to Top of Page

chrisredco
VP-CART Super User

282 Posts

Posted - March 12 2007 :  09:11:11  Show Profile  Visit chrisredco's Homepage  Reply with Quote
I am still using VPASP 5.0 and want the same results mentioned above of allowing the image to keep it's original size and not be re-sized. I cannot find the code in the files mentioned above, probably because I am using 5.0. Can you tell me what files to alter for the Featured Product Image and Extended Description images in VPASP 5.0?
Go to Top of Page

ironhawker
VP-CART Super User

USA
260 Posts

Posted - April 04 2009 :  16:09:05  Show Profile  Visit ironhawker's Homepage  Reply with Quote
The display of the Featured Products is handled by the template
tmp_topsellers.htm. According to the help pdf at 3.7.12

I usually change
<a href="shopexd.asp?id=[catalogid]"><img src="[Cimageurl]" width='60' height='60' border='0'></a>
to
<a href="shopexd.asp?id=[catalogid]"><img src="[Cimageurl]" width='125' border='0'></a>
by removing the height and the system will parse the height automatically

~-~-~-~-~-~-~-~-~-~
Randy "RC" Corn
Institute for Higher Learning
[email protected]
http://www.ironhawker.com
425-828-0738
Go to Top of Page

ironhawker
VP-CART Super User

USA
260 Posts

Posted - April 04 2009 :  16:19:26  Show Profile  Visit ironhawker's Homepage  Reply with Quote
it is Line 1904 in VPasp 6.504
<td width="20%" valign="top">
<a href="<%=url%>"><img src="<%=imagefile%>" width='60' height='60' border='0'></a>
</td>
to

<a href="<%=url%>"><img src="<%=imagefile%>" width='125' border='0'></a>
Again, only the width (the 20% for the td can be adjusted as well)

~-~-~-~-~-~-~-~-~-~
Randy "RC" Corn
Institute for Higher Learning
[email protected]
http://www.ironhawker.com
425-828-0738
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00