osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Enlarged images

This is a discussion on Enlarged images within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi I have partially installed oscommerce including the STS and easy populate add-ons. I ‘m at the stage where I’m ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-23-2005, 10:11 AM
Lurker
 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Koppers
Default Enlarged images

Hi

I have partially installed oscommerce including the STS and easy populate add-ons. I ‘m at the stage where I’m adding products to the web page via a tab delimited database. Everything works fine including being able to order the items – except when I try the ‘click to enlarge’ option for the images. Basically, nothing happens. The link is shown at the bottom of my web browser eg:-

javascriptopupWindow('http://mystore.co.uk/catalog/popup_image.php?pID=44')

What am I missing? Do I need to upload another database and images or manually add a new page for each item containing the enlarged image?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-24-2005, 05:30 AM
Member
 
Join Date: May 2004
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
seank123
Default RE: Enlarged images

You shouldn't have to do anything to get the images to pop up - is Java installed on your machine properly??

What's the URL of the site?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-24-2005, 09:45 AM
Lurker
 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Koppers
Default RE: Enlarged images

Thanks for your reply Sean.

Yes, as far as I’m aware Java is installed on my machine properly. Indeed, I had no trouble viewing the enlarged images which came with the dummy and images data in oscommerce.

The url for the site, in its present form is :

http://edelleonline.co.uk/catalog/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-25-2005, 12:40 PM
Member
 
Join Date: May 2004
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
seank123
Default RE: Enlarged images

Just had a quick look at your site and I can't get the elarged image to pop up either.

Looking at the source for the page, the only difference I have on my site is the following in the header:

Quote:
<script language="javascript"><!--
function popupWihttp://oscdox.com/PNphpBB2-viewtopic-t-3878.htmlndow(url) {
window.open(url,'popupWindow','toolbar=no,location =no,directories=no,status=no,menubar=no,scrollbars =no,resizable=yes,copyhistory=no,width=100,height= 100,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
Your pages don't have it - in fact there's something wrong with the <HEAD> bit of your pages - they look like:

Quote:
<html>
<head>
<link rel="stylesheet" type="text/css" href="stylesheet.css"

<body>
There seems to be a whole lot missing (at the very least there should be a </HEAD> just before the <BODY> tag. No idea what's causing it though....

Can you switch the STS stuff off and see if it still doen't work - includs/sts_display_output.php, change:

Quote:
$display_template_output = 1;
$display_normal_output = 0;
to

Quote:
$display_template_output = 0;
$display_normal_output = 1;
If that cures it then it's STS that's doing it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-29-2005, 08:28 AM
Lurker
 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Koppers
Default RE: Enlarged images

I disabled STS as you have shown. The pop up does now work but instead of getting the image I get this error message:-

Warning: main(file:///C|/DOCUME%7E1/Sales/LOCALS%7E1/Temp/includes/application_top.php): failed to open stream: No such file or directory in /home/edelleonline/public_html/catalog/popup_image.php on line 13 Warning: main(file:///C|/DOCUME%7E1/Sales/LOCALS%7E1/Temp/includes/application_top.php): failed to open stream: No such file or directory in /home/edelleonline/public_html/catalog/popup_image.php on line 13 Fatal error: main(): Failed opening required 'file:///C|/DOCUME%7E1/Sales/LOCALS%7E1/Temp/includes/application_top.php' (include_path='.:/usr/share/pear') in /home/edelleonline/public_html/catalog/popup_image.php on line 13

Cripes, this is beginning to irritate me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 05-31-2006, 08:06 PM
New Member
 
Join Date: May 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonnyl
Default fix

what you need to do is add this to the header of your index.php.html and to your sts_template.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html $htmlparams>
<head>
<!--$headcontent-->
<link rel="stylesheet" type="text/css" href="STS/upload/catalog/includes/sts_templates/test/stylesheet.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>

that resolved the problem for me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Problem viewing Enlarged pictures pthurmond osCMax v1.7 Discussion 2 08-04-2004 04:51 AM
thumbnail and enlarged version problem Alesha osCommerce 2.2 Modification Help 0 07-19-2004 07:22 AM
thumbnail enlarged picture choyt3 osCommerce 2.2 Modification Help 2 05-20-2004 01:29 PM
Images uploaded in /catalog/images Anonymous osCommerce 2.2 Installation Help 1 12-05-2002 09:15 AM


All times are GMT -8. The time now is 07:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax