osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

  #1  
Old 03-26-2008, 10:41 AM
Member
 
Join Date: Aug 2004
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
basnyd
Default click to enlarge product photo

Hi -

I've searched the forums and haven't found a clear answer to my problem, but I've found where other people have had a similar problem. Hopefully someone can help.

I'd like to have the "click to enlarge" option under the product images on the product_info.php page. I've uploaded the images via the categories/products area under admin. There is only one image per product.

Small image width is set o 150. Small image height is set to blank. Big images directory is set to blank. Main Thumbnail In "Thumbnail Images Directory" is set to false.

Here is the site -- osCMax v2.0 : Welcome to AABox.com's osCMax v2.0 - change this in /english/index.php

Thanks for the advice.

Barb
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 03-26-2008, 11:13 AM
Active Member
 
Join Date: Oct 2006
Location: Atlanta GA
Posts: 137
Thanks: 8
Thanked 13 Times in 9 Posts
Rep Power: 2
ALElder
Default Re: click to enlarge product photo

All you need to do is upload in the correct files:

Lets say you image name is apple.jpg

/images/apple.jpg
/images/images_big/apple.jpg

You can resize the images so it will load faster also fit in the screen for large images then have the larger picture in images_big

Thats it your done

Adam
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 03-26-2008, 11:22 AM
Member
 
Join Date: Aug 2004
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
basnyd
Default Re: click to enlarge product photo

Hi Adam,

Thanks for the response, but what I'm looking for is more like the original oscommerce 2.2 behavior.

Upload 1 image. The image is resized via the small image width & height settings. You then click on the thumbnail and see the full sized version of the image you uploaded.

Does that make sense?

Barb
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-26-2008, 11:41 AM
Active Member
 
Join Date: Oct 2006
Location: Atlanta GA
Posts: 137
Thanks: 8
Thanked 13 Times in 9 Posts
Rep Power: 2
ALElder
Default Re: click to enlarge product photo

Sounds like you will need to install a mod to do that for you its not a standard option in OSCMAX but you can almost add any Contribution from oscommerce.com with a little code changing.

osCommerce Community Add-Ons

I just upload the images and resize them ourself its easy to upload via ftp and faster

Adam
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 03-28-2008, 07:29 AM
Member
 
Join Date: Aug 2004
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
basnyd
Default Re: click to enlarge product photo

In catalog\templates\fallback\content\product_info.tp l.php I found the following references to TEXT_CLICK_TO_ENLARGE


<script language="javascript" type="text/javascript"><!--
document.write('<a href="javascriptopupImage(\'<?php echo tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . '&type=' . $lg_image_ext); ?>\',\'<?php echo ((int)$image_size[1] + 30); ?>\',\'<?php echo ((int)$image_size[0] + 5); ?>\');"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT); ?><br /><span class="smallText"><?php echo TEXT_CLICK_TO_ENLARGE; ?></span></a>');
//--></script>
<noscript>
<a href="<?php echo tep_href_link($image_lg . '.' . $lg_image_ext); ?>" target="_blank"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], stripslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT); ?><br /><span class="smallText"><?php echo TEXT_CLICK_TO_ENLARGE; ?></span></a>
</noscript>


I don't know the logic behind php to know what the trigger point is for the "Click to Enlarge" text to appear. Can someone tell me the trigger point for this to happen?

Thanks,
Barb
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 03-28-2008, 08:09 AM
Member
 
Join Date: Aug 2004
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
basnyd
Default Re: click to enlarge product photo

On this page - I don't see the click to enlarge option --

osCMax v2.0 : Product C - $0.00

I have two images

http://virt17b.secure-wi.com/~admin2...3601_72dpi.JPG

http://virt17b.secure-wi.com/~admin2...3601_72dpi.JPG

Big images directory is set to images_big/

What am I missing? jpg is entered for big image types.

Barb
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 03-28-2008, 08:12 AM
Member
 
Join Date: Aug 2004
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
basnyd
Default Re: click to enlarge product photo

Ok, I figured out the answer to my last question. I need the file extension to be lower case for the large image to be found. It can't be uppercase letters.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 03-28-2008, 08:33 AM
Member
 
Join Date: Aug 2004
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
basnyd
Default Re: click to enlarge product photo

I've gone on to follow these instructions so that I only have to upload 1 image instead of 2, but I doesn't work for me:

How to disable Dynamic MoPics altogether

The dog photo was uploaded after I changed the settings and it still is not working for me.

test : osCMax v2.0

Thanks,
Barb
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 03-28-2008, 12:46 PM
Member
 
Join Date: Aug 2004
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
basnyd
Default Re: click to enlarge product photo

Ok, what I've found is that it is working for any category, but my "test" category. How strange?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 04-13-2008, 07:32 PM
pdr pdr is offline
New Member
 
Join Date: Nov 2007
Location: Lebanon, PA.
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
pdr is on a distinguished road
Default Re: click to enlarge product photo

if you install the oscmax with ultrapicture intergrate all you have to do go the configuration on your osmax and change the aabox to fallback them you will be able to see the enlarge picture bottom. the aabox template is not the default template in oscmax. anyother question or step by step let me know here. I will help you i have all working on my site Delgado s Computers : if you like to see what it suppost to look like.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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
Click photo or name for more information? mcilpuf osCommerce 2.2 Modification Help 7 02-01-2005 05:05 PM
click to enlarge crujones osCMax v1.7 Discussion 7 04-25-2004 02:37 PM
Add click to enlarge in new product box Anonymous osCMax v1.7 Discussion 0 03-30-2004 02:17 PM
Click to Enlarge msmull osCMax v1.7 Discussion 1 03-22-2004 09:19 AM
Click to Enlarge? sheikyerbouti osCommerce 2.2 Modification Help 5 10-21-2002 03:18 PM


All times are GMT -8. The time now is 04:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax