Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to speed up my site?


AdianC

Recommended Posts

Hello everyone,

 

Please check out my site,Visit My Website I did some optimization and it loads little faster.I need to make the pictures smaller in categories .Does any one knows a good soft for batch edit that will do a good

job in optimisation and resizing? I am using the MagicMagnify and I do not use the pop-up image.

I install a clubosc easy thumb that will allow me to load 2 pictures;one for thumb and one for pup-up with 2 different sizes on my test (localhost) and I am running in to a little problem.

I re size thumb to 74x111 and 3kb size The effect does not work any more .Original pic size to give me the magnify effect is 425x640 ,when you open product page,the picture that its displayed is set up in magnify 300x450 and give me the magnify effect.

Now I know that something need to be change and that page to look at the big picture not at the thumb.

To integrate magnify effect I had to change the Product_info.php from original to:

<?php echo tep_draw_prod_pic_top();?>

<noscript>
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], 
$product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, ' style="margin:0px 0px 0px 0px;"') . ''; ?>
</noscript>

<?php echo tep_draw_prod_pic_bottom();?>

		</td></tr>
		<tr><td align="center">
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" class="MagicMagnify">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name']) . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>
		</td></tr>
	</table>
	<table cellpadding="0" cellspacing="0" border="0" class="title_info">
		<tr><td><em><?php echo $products_name; ?></em></td></tr>
	</table>

 

Can any one tell me what to do?

thank you Adrian

Link to comment
Share on other sites

The 5 images at the very top ... one option would be to combine them into one big image, then use an image map for the links. Or even get rid of them and use CSS (although you'd still need some little images to give the rounded corner effect). Sorry haven't got any advice on the product images themselves though (I like the magnify thing by the way)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...