Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image popup's


eastcoastsupremacy

Recommended Posts

Posted

I just installed the oscommerce software on my server successfully. But i have a small question...

 

here is a link to my store thus far...

 

My store so far...

 

As you can see i have made minimal edits so far.

 

my question is....

 

When you view a product, and click the 'click to enlarge' button, the image popup opens extremely small. yes, it is resizable, but i would like to have the image popup open and have the entire image available to view without having to resize, anyone have any ideas? im having a hard time finding the code that creates the popup..

 

THANKS

 

Randy Kettering

Posted

You need to upload larger product images. Default installation consists small product images

 

 

regardless of that... the popups should at LEAST be opening up the same size as the image, there opening up smaller than the image

Posted

you need to check function

 

function resize() {
 if (navigator.appName == 'Netscape') i=40;
 if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+60-i);
 self.focus();
}

 

in the catalog/popup_image.php file

Image zoom tool FlashZoomer for osCommerce

Posted

you need to check function

 

function resize() {
 if (navigator.appName == 'Netscape') i=40;
 if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+60-i);
 self.focus();
}

 

in the catalog/popup_image.php file

 

 

AWESOME.... thank you very much i hadn't even realized there was a seperate file just for that, I APPRECIATE YOUR HELP!!

Posted

on second thought... this brings up another question....

 

since the default cart was set up to only have small images for everything, would i have to do alot of custom programming to set it so that there is a small image for the actual site, but upon 'click to enlarge' click, have it load up a large image? is it set to only have ONE image for each product right now? it would be practical to set it up so that there is a small image (thumbnail) AND a large image for the 'click to enlarge'.... is this possible?

Posted

on second thought... this brings up another question....

 

since the default cart was set up to only have small images for everything, would i have to do alot of custom programming to set it so that there is a small image for the actual site, but upon 'click to enlarge' click, have it load up a large image? is it set to only have ONE image for each product right now? it would be practical to set it up so that there is a small image (thumbnail) AND a large image for the 'click to enlarge'.... is this possible?

The default store has one image. you upload a large one and oscommerce auto resizes for the thumbnail. Your page still loads the large image, just resized in the browser. Best thing to do is browse the add ons. Numerous image mods there. Thumbnailers, multi pic, lightbox, ect..

 

Tim

Posted

The default store has one image. you upload a large one and oscommerce auto resizes for the thumbnail. Your page still loads the large image, just resized in the browser. Best thing to do is browse the add ons. Numerous image mods there. Thumbnailers, multi pic, lightbox, ect..

 

Tim

 

ok ok, that makes sense, ill look into that...THANKS!!

Archived

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

×
×
  • Create New...