I just transferred my domain name to iPage?

Click Here To View All Answers...

First of all I just transferred my domain name to iPage? Hoping for any response. Another question on my mind: I would like to be able to use larger images for the pop up window, but I don’t know how to go about it. I assume it is done on product_info.php but that is about it..

I know I have to adjust the JavaScript to display larger that 50 x 50 but what else?.


Comments (108)

That's a good question. I'm not sure what is the right answer. I'll do some research in Google and get back to you if I discover an anything. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Thanks Jimmy,.

I have already done that part with the image values. I should explain better..

I am sure this is easy but I am new to php. I have gone over the code and I can’t figure it out. I know I can change the values for the JavaScript from 50 and 50 to whatever but I do not know how to point to the 2 different sizes..

Have a look here and you will see what I mean..

Novelex example "zoom in".

I want to do the same thing for the Medalta Giftshop. As to the Euro $’s I think I am going to take out US and Euro and leave it as Canadian to start with. This shop is not going to be live for a while. I have to figure out how I am going to handle shipping first. It has been poorly handled so far..



Comment #2

OK, so I take it we both talk about the standard images for the products. I checked out novelex' website, and it seems my reply is still valid..

If you go to the admin part of osCommerce and choose My Store setup, you will have the choice of changing the values for small image height and width..

This is how the product image will display, both under News, Product etc..

If you want the "zoom" to work standard, you just choose a larger image when adding the products..

I did this myself to test and it works like a charm..

I will look into the php code to see if something pops up....

This post has been edited by.


: 21 February 2004, 00:05..

Comment #3

Actually...the height=50 width=50 in the javascript for the popup, refers to the original size of the popup window...not the dimensions of the image it is referencing..

Normally...the way it works is that you upload an image when you add a product to the database. This is your original image, with original dimensions. OSC thumbnails the image automatically and calls it thumb_imagename, and includes that thumbnail (in the size you specify in admin) on the product_info page. When you click the "Click to emlarge" text, it opens a small popup window, calls the original uploaded image (imagename), and then resizes the popup window to 30 pixels larger than the full size image once it has finished loading..

If your original image was small, the popup is going to be small also..

You don;t actually have to alter any code, or upload separate images to have the popup reference a larger image. The popup calls the original image you uploaded when you added the product. If that image is not big enough...upload a bigger one!..

Comment #4

The novelex example you linked to, apparently is one of your projects..

If you managed to get the popups to work correctly on that site, how come you are having trouble with the other site?..

Comment #5

First Novelex is a project I work on but only as a member of a larger team..

From there we use whatever size fits whatever dynamic environment..

I will go over the posts here and try out things again. Like I said before this is an easy fix I just don't quite understand yet..

Maybe my biggest problem is a fear of messing with php code and I am overlooking the obvious..

It's not like that has never happened before..

Plus it is kind of nice having the quality of community support available here..

I am not being lazy I just don't want to screw up the work I have done so far..

Thanks peoples..

Comment #6

That doesn't happen to the default 2.2 install.

After you browse, select an image and add the product the original image is saved directly in the /catalog/images folder, at the size you specify in admin, and under it's original name. No thumb_ is appended ?

Comment #7

It is trivial to add in more images, there are quite a few contributions that enable you to do exactly that..

I have 3 size images on a site:.

Image: 100 x 100 (used in "new products" listings etc).

Med_image: 250 x 250 (used in "product_info.php" etc).

Large_image: any size, used in popup_image.php.

However on most sites I run, two sizes of image is sufficient..

You need to change some code to do it, but it is relatively easy..


Comment #8

Could you reference some of the easier image addition contributions. I only need 2 image sizes, one thumbnail for general use and a larger image for the popup window.Thanks..

Comment #9

I just found this:.

FAQ regarding image sizing.


Seems it could be what you wanted...

Comment #10

I would like to be able to use larger images for the pop up window, but I don’t know how to go about it. I assume it is done on product_info.php but that is about it..

I know I have to adjust the JavaScript to display larger that 50 x 50 but what else?.


Comment #11

I just removed the width/height restrictions (set to blank) and the images where shown in original size..

You could also try to just "blank" one of the options, like width=100 and height=(blank)..

Btw. Your Euro currency needs to be updated.

This post has been edited by.


: 20 February 2004, 12:06..

Comment #12

This question was taken from a support group/message board and re-posted here so others can learn from it.