<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Ajax Image Size</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Ajax Image Size]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 12 Apr 2026 00:50:41 +0000</pubDate>
  <lastBuildDate>Wed, 03 Oct 2007 09:31:35 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=795</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Ajax Image Size : Thanks, I have also been looking...]]></title>
   <link>https://forum.productcart.com/ajax-image-size_topic795_post3459.html#3459</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=597">@nna</a><br /><strong>Subject:</strong> 795<br /><strong>Posted:</strong> 03-October-2007 at 9:31am<br /><br /><P>Thanks, I have also been looking for a way to do this.</P><P>It worked just fine: <A href="http://www.jewel.se" target="_blank">www.jewel.se</A> - </P><P>Thanks again,</P><P>Anna / Sweden <IMG src="https://forum.productcart.com/smileys/smiley36.gif" border="0"></P>]]>
   </description>
   <pubDate>Wed, 03 Oct 2007 09:31:35 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/ajax-image-size_topic795_post3459.html#3459</guid>
  </item> 
  <item>
   <title><![CDATA[Ajax Image Size : Exactly what I was looking for! Here...]]></title>
   <link>https://forum.productcart.com/ajax-image-size_topic795_post2467.html#2467</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=521">dott</a><br /><strong>Subject:</strong> 795<br /><strong>Posted:</strong> 30-May-2007 at 4:44pm<br /><br /><P>Exactly what I was looking for!</P><P>Here is the code snippet that was changed from the xml_getPrdInfo.asp</P><P>&nbsp;if pimageURL&lt;&gt;"" and pimageURL&lt;&gt;"no_image.gif" then<BR>&nbsp;&nbsp;tmpList=tmpList &amp; "&lt;tr&gt;&lt;td class=""mainboxImg""&gt;"<BR>&nbsp;&nbsp;tmpList=tmpList &amp; "&lt;img src=""catalog/" &amp; pimageURL &amp; """ &gt;" &amp; vbcrlf<BR>&nbsp;&nbsp;tmpList=tmpList &amp; "&lt;/tr&gt;&lt;/td&gt;"<BR>&nbsp;end if</P><P>&nbsp;</P><P>Thanks much!</P>]]>
   </description>
   <pubDate>Wed, 30 May 2007 16:44:42 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/ajax-image-size_topic795_post2467.html#2467</guid>
  </item> 
  <item>
   <title><![CDATA[Ajax Image Size :  I changed it to use the Large...]]></title>
   <link>https://forum.productcart.com/ajax-image-size_topic795_post2465.html#2465</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=384">fidjiti</a><br /><strong>Subject:</strong> 795<br /><strong>Posted:</strong> 30-May-2007 at 3:59pm<br /><br />I changed it to use the Large Image but I did have to do a lot of tweaking to the width in several places and had to edit the PNG files to accomodate the size change. <br>So here's what I changed. I'll try to be as accurate as possible, but I don't remember everything I dinked around with. <br><br>***Remember - DUPLICATE or COPY your original files before editing them. Sop you can always revert back incase your edit doesn't workout for you.<br><br><span style="font-weight: bold;">pc/xml_getPrdInfo.asp</span> - <br>1. I changed what Netprofits told us to change. <br><span style="font-weight: bold;">pc/ei-tooltip.css</span> - <br>1. Changed anything that had 285 px to my new width of 355 px. (355px is the size i chose to use because my ajax pic is now 300x300px.)<br>2. Also changed the &#091;code&#093; .mainbox img padding: 3px &#091;code&#093; instead of the 5px. Just so the window would wrap around closer to the picture.<br><span style="font-weight: bold;"><br>pc/ei-tooltip.js</span> - I changed several things here. Most of which had to do with the width of the images to accomodate the new 300px wide image. <br><br>1. Changed the ajax arrow to be closer to the pop-up. Mine was 54.<br>&#091;code&#093;&nbsp; var offsetdivfrompointerX=50&nbsp;&nbsp; &#091;code&#093;<br><br>2. Changed the old widths to the new 355 width. I didn't change anything else in the following code.<br><br>&#091;code&#093;<br>document.write('&lt;DIV id="dhtmltooltip"&gt;')<br>&nbsp;&nbsp;&nbsp; document.write('&lt;DIV&gt;&lt;IMG id="topbox" style="FILTER:  progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=t rue, sizingMethod=\'scale\', src=\'images/topcap.png\'); WIDTH: 355px; HEIGHT: 21px" src="images/pngfix.png"&gt;&lt;/DIV&gt;')<br>&nbsp;&nbsp;&nbsp; document.write('&lt;DIV id="titlebox" style="background-image:none; filter:  progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=t rue, sizingMethod=\'scale\', src=\'images/titlemiddle.png\');"&gt;&lt;div id="tcontent" style="position:relative; padding:5px 0px 7px 20px; width: 355px; text-align: left;"&gt;&lt;/div&gt;&lt;/DIV&gt;')<br>&nbsp;&nbsp;&nbsp; document.write('&lt;DIV id="boxcontent" style="background-image:none; FILTER:  progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=t rue, sizingMethod=\'scale\', src=\'images/contentmiddle.png\'); POSITION: relative"&gt;&lt;div id="mcontent" style="position:relative; padding:5px 0px 7px 20px; width: 355px; text-align: justify;"&gt;&lt;/div&gt;&lt;/DIV&gt;')<br>&nbsp;&nbsp;&nbsp; document.write('&lt;DIV&gt;&lt;IMG id="bottombox" style="FILTER:  progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=t rue, sizingMethod=\'scale\', src=\'images/bottomcap.png\'); WIDTH: 355px; HEIGHT: 25px" src="images/pngfix.png"&gt;&lt;/DIV&gt;')<br>&nbsp;&nbsp;&nbsp; document.write('&lt;/DIV&gt;')<br>&nbsp;&nbsp;&nbsp; document.write('&lt;STYLE&gt;')<br>&nbsp;&nbsp;&nbsp; document.write('#boxcontent{width:355px; background-image:url(\'images/contentmiddle.png\');}')<br>&nbsp;&nbsp;&nbsp; document.write('#titlebox{width:355px; background-image:url(\'images/titlemiddle.png\');}')<br>&nbsp;&nbsp;&nbsp; document.write('&lt;/style&gt;')<br><br>&#091;code&#093;<br><br>3. Changed the following code to the 355 px "width" and if it had width after the word "padding" then I changed that to 300 because it made the whole pop-up slimmer. I didn't change any of the px which were 5, 0, 7, 20 or 21... just the really large px numbers.<br><br>&#091;code&#093;<br>document.write('&lt;DIV&gt;&lt;IMG id="topbox" style="FILTER:  progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=t rue, sizingMethod=\'scale\', src=\'images/topcap.png\'); WIDTH: 355px; HEIGHT: 21px" src="images/topcap.png"&gt;&lt;/DIV&gt;')<br>&nbsp;&nbsp;&nbsp; document.write('&lt;DIV id="titlebox" style="background-image:url(\'images/titlemiddle.png\'); width:355px; filter:  progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=t rue, sizingMethod=\'scale\', src=\'images/titlemiddle.png\')"&gt;&lt;div id="tcontent" style="position:relative; padding:5px 0px 7px 20px; width: 300px; text-align: left;"&gt;&lt;/div&gt;&lt;/DIV&gt;')<br>&nbsp;&nbsp;&nbsp; document.write('&lt;DIV id="boxcontent" style="background-image:url(\'images/contentmiddle.png\'); width:355px; FILTER:  progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=t rue, sizingMethod=\'scale\', src=\'images/contentmiddle.png\'); POSITION: relative"&gt;&lt;div id="mcontent" style="position:relative; padding:5px 0px 7px 20px; width: 300px; text-align: justify;"&gt;&lt;/div&gt;&lt;/DIV&gt;')<br>&nbsp;&nbsp;&nbsp; document.write('&lt;DIV&gt;&lt;IMG id="bottombox" style="FILTER:  progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=t rue, sizingMethod=\'scale\', src=\'images/bottomcap.png\'); WIDTH: 355px; HEIGHT: 25px" src="images/bottomcap.png"&gt;&lt;/DIV&gt;')<br>&nbsp;&nbsp;&nbsp; document.write('&lt;/DIV&gt;')<br><br>&#091;code&#093;<br><br><span style="font-weight: bold;">Images: pc/images/bottomcap.png, </span><span style="font-weight: bold;">pc/images/</span><span style="font-weight: bold;">contentmiddle.png, </span><span style="font-weight: bold;">pc/images/</span><span style="font-weight: bold;">titlemiddle.png, </span><span style="font-weight: bold;">pc/images/</span><span style="font-weight: bold;">topcap.png</span><br>After playing with the sizes and everything, I needed to change the PNG files to match the sizes which I decided upon. I choose 355 so, you must adjust the PNG files above to the width which works for you. (DUPLICATE the image files before editing them) I use Photoshop CS2 to make the changes to the PNG files. Just open the files, then select "Image&gt;Image Size" then simply enter the new width you need them to be. This will extend your images and keep the aspect ration the same. Now re-save these images and replace the old ones. <br><br><span style="font-weight: bold;">Uploading: </span><br>Now upload the newly edited PNG images and your edited files to your site and replace the files with your new ones. <br><br>You should be all set! If for some reason things don't line up or they stick out from your box, just tweak the numbers around. <br><br><span style="font-weight: bold;">Disclaimer: </span><br>You can always revert back to your original files which you duplicated if you don't like the way it turns out. <br>I will add that for some reason when I hover over an image or detail button from the right side of the page and the pop-up has to load to the left of the mouse pointer my pop-up blinks like crazy. I don't know why that is.???<br>Any ideas would be helpful. <br><br>Good luck and let me know if it works for you, too!<br>You can see mine in action here: www.fidjiti.com<br>P.S. Don't copy the code above because it won't paste correctly, it's just for reference so you can all see what numbers and where I changed them.<br><span style="font-size:10px"><br /><br />Edited by fidjiti - 30-May-2007 at 4:03pm</span>]]>
   </description>
   <pubDate>Wed, 30 May 2007 15:59:01 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/ajax-image-size_topic795_post2465.html#2465</guid>
  </item> 
  <item>
   <title><![CDATA[Ajax Image Size : Modify pc/xml_getPrdInfo.asp. Search...]]></title>
   <link>https://forum.productcart.com/ajax-image-size_topic795_post2462.html#2462</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=77">netprofits</a><br /><strong>Subject:</strong> 795<br /><strong>Posted:</strong> 30-May-2007 at 7:47am<br /><br /><P>Modify pc/xml_getPrdInfo.asp.</P><P>Search for:<BR>&nbsp;if pSmimageURL&lt;&gt;"" and pSmimageURL&lt;&gt;"no_image.gif" then<BR>&nbsp;&nbsp;tmpList=tmpList &amp; "&lt;tr&gt;&lt;td class=""mainboxImg""&gt;"<BR>&nbsp;&nbsp;tmpList=tmpList &amp; "&lt;img src=""catalog/" &amp; pSmimageURL &amp; """ &gt;" &amp; vbcrlf<BR>&nbsp;&nbsp;tmpList=tmpList &amp; "&lt;/tr&gt;&lt;/td&gt;"<BR>&nbsp;end if</P><P>Change pSmimageURL to pimageUrl or to pLgimageURL in all 3 places depending on whether you want the product detail image or the large (pLgimageURL) showing in the AJAX popup.</P>]]>
   </description>
   <pubDate>Wed, 30 May 2007 07:47:31 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/ajax-image-size_topic795_post2462.html#2462</guid>
  </item> 
  <item>
   <title><![CDATA[Ajax Image Size : not sure, but I would like to...]]></title>
   <link>https://forum.productcart.com/ajax-image-size_topic795_post2459.html#2459</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=384">fidjiti</a><br /><strong>Subject:</strong> 795<br /><strong>Posted:</strong> 30-May-2007 at 12:59am<br /><br />not sure, but I would like to know this too. :)<br><br>]]>
   </description>
   <pubDate>Wed, 30 May 2007 00:59:35 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/ajax-image-size_topic795_post2459.html#2459</guid>
  </item> 
  <item>
   <title><![CDATA[Ajax Image Size : How can I modify the Ajax pop-up...]]></title>
   <link>https://forum.productcart.com/ajax-image-size_topic795_post2318.html#2318</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=521">dott</a><br /><strong>Subject:</strong> 795<br /><strong>Posted:</strong> 10-May-2007 at 6:23pm<br /><br />How can I modify the Ajax pop-up to use a larger image inplace of the small thumbnail image?&nbsp; I've edited the ei-tooltip.css to change the text color but not able to modify&nbsp;to use a medium or large&nbsp;image to display.]]>
   </description>
   <pubDate>Thu, 10 May 2007 18:23:41 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/ajax-image-size_topic795_post2318.html#2318</guid>
  </item> 
 </channel>
</rss>