Jump to content
Sign in to follow this  
huyimin

Click to enlarge pic does work

Recommended Posts

I am a newbie to Oscommerce, I think there might be a thread about this problem but I can't find it,

When click to enlarge is clicked in the product info page the image does not pop out....

please help me i want to fix this asap

 

also I found that at the Categories/Products admin edit page, there's no an OK/submit button

to post the info, you can only go with the preview button then update the page, is this a normal thing?

 

thanks!!

Share this post


Link to post
Share on other sites
I am a newbie to Oscommerce, I think there might be a thread about this problem but I can't find it,

When click to enlarge is clicked in the product info page the image does not pop out....

please help me i want to fix this asap

Do you have a link so we can see?

also I found that at the Categories/Products admin edit page, there's no an OK/submit button

to post the info, you can only go with the preview button then update the page, is this a normal thing?

 

thanks!!

Yes. Just click update to ad/edit your product.


Remember to backup database, files and pictures.

 

I have a problem for your solution

I reject your reality and substitute my own

My mind not only wanders, it sometimes leaves completely

The problem with the gene pool is that there is no lifeguard

Everyone’s entitled to my opinion

 

Links

Security

SSL Help

Basics for design V2.3+

Share this post


Link to post
Share on other sites
Do you have a link so we can see?

 

Yes. Just click update to ad/edit your product.

No, I don't, I am just testing locally before upload to web server.

Thanks for answering, Ive found what caused this problem but don't know how to do with it:

I used STS as the page template, the default template pages have no problem with clickable popup images, this is likely done

because of the popup_image.php.html with its Javascript function resize().

 

What I have is a very simple template page with only one variables $content, for experimental only,I styled the page so the hierarchic menu is at the left and Categorized products on the right, so how could I simply and simplest add this function to enable the clickable image functionality?

 

full popup_image.php.html code is like this:

<?php define ('STS_END_CHAR', '}'); ?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html $htmlparams}>

<head>

<!--$headcontent-->

<script language="javascript"><!--

 

 

function resize() {

var i=0;

var MarginW = 60;

var MarginH = 140;

 

if (document.layers) i=40;

if (document.prodimage.width>document.bannerimage.width) {Width=document.prodimage.width +MarginW}

else Width = document.bannerimage.width+MarginW;

Height = document.prodimage.height+document.bannerimage.height+MarginH;

window.resizeTo(Width,Height);

self.focus();

}

//--></script>

<?php // BOF: More Pics 6 ?>

<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5)">

<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5)">

<?php // EOF: More Pics 6 ?>

</head>

<body onLoad="resize();">

<table width="100" border="5" align="center" cellpadding="5" bgcolor="#FFFFFF" id="table1">

<tr>

<td>

<table border="0"

cellpadding="0" cellspacing="0" style="width: 100%; border-collapse:collapse" bordercolor="#111111">

<tbody>

<tr>

<td>

<img border="0" src="images/store_logo.png" name="bannerimage"></td>

</tr>

</tbody>

</table>

<p align="center"><font face="Arial">$productname}</font><font color="#808080" size="2">[$productmodel}]<br>

</font>$popupimage}</td>

</tr>

</table>

</body>

</html>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×