Forums / Templates, Stylesheets, Page Layout / Pop up image size.. image right size, window too small

Pop up image size.. image right size, window too small

Views: 13,470

Results 1 to 16 of 16
11 Jan 2007, 9:42 PM
#1
grayceworks avatar

grayceworks

New Zenner

Join Date:
Jan 2007
Location:
Atlanta, GA
Posts:
71
Plugin Contributions:
0

Pop up image size.. image right size, window too small

I am trying to get the size of the browser popup window to be larger than the image when it pops up. I think I know what the problem is, I just don't know how to fix it.

Right now, it's defaulting to the small image size, since that's all I use, according to the browser's thinking.

I have all my images one size. Then in zen-cart, I specified that the images for different views would calculate size to the smaller sizes, of 100px wide, and however tall the image is.

So the popup windows, I think, are defaulting to the size of 100px wide, rather than the actual size of the image?

I don't know how to fix this, and I am not going to go in to 1034 different products and create different size images for each one... lol

It seems like there should be a way to have the window check the ACTUAL image size, rather than having the image defined as "large" "medium" or "small" ?

I already tried the idea in this thread... no change...

http://www.zen-cart.com/forum/showthread.php?t=41905

Any help is greatly appreciated!

give me feedback on my home decor store

sleep is a symptom of caffeine deprivation

COFFEE.SYS Not Found: User startup disabled.

~~ if(pot.coffee=EMPTY) {programmer->;brain=OFF}; ~~

11 Jan 2007, 10:16 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Pop up image size.. image right size, window too small

If you only have one image per product, the system assumes that is your "small" image.
It may have been actually changed to the small size when you loaded it. Have you verified the pixel dimensions of the actual files in your /images/ folder?

Also, using large image files for thumbnails is a very bad idea. It will cause your pages to load more slowly (sometimes much more slowly) and may drive customers away if they don't want to wait.

12 Jan 2007, 2:50 AM
#3
grayceworks avatar

grayceworks

New Zenner

Join Date:
Jan 2007
Location:
Atlanta, GA
Posts:
71
Plugin Contributions:
0

Re: Pop up image size.. image right size, window too small

Is there a way to tell it that the large image equals the same file?

Basically this site is a re-do of the customer's old site, and these are the image files that were already in place for over 1000 products, and each image is filed by category, rather than by size, as there is only one size of them. Unless there is a way to automate the conversion of each image to large, medium, and small sizes, and then update the product info to reflect that, then I don't know how I would be able to do that in the timeframe they want it done in.

The images pull up the correct size in the popup window, just the window itself is only 100px wide, so it only shows a corner of the image unless you manually resize the window.

site can be viewed here:

http://villadec.com/

give me feedback on my home decor store

sleep is a symptom of caffeine deprivation

COFFEE.SYS Not Found: User startup disabled.

~~ if(pot.coffee=EMPTY) {programmer->;brain=OFF}; ~~

18 May 2010, 4:37 PM
#4
riky avatar

riky

New Zenner

Join Date:
Dec 2009
Posts:
59
Plugin Contributions:
0

Re: Pop up image size.. image right size, window too small

Hi ,

I get problems with the pop up image .

Here an example:
http://okidoqui.com/index.php?main_page=product_info&products_id=888

You can see the image and if you copy the image link by clicking with the right botton of the mouse(if you use Windows) it is what I want ... but when you click on the image , it will open the pop up image but with image resized .

Can anyone help me ?
I would like the standard function that just open the original image without resizing it.

PS I use external images.

Thanks in advance

7 Oct 2011, 10:33 AM
#5
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Re: Pop up image size.. image right size, window too small

Anyone ever come up with a solution? I have many smaller sites I build and there may only be 5-6 products on a page so I'll put them all up at 300 and let them be scaled to 200 for the product page and 100 for the listing page. Call me lazy. Large sites I do the 3 images. I use photoshop tp size so its easy but for small sites it isn't worth the time or effort as my main image is 300px.

Right now they have to stretch out the window to see the larger pic.. Not losing any sleep over it, but it is annoying.

Have a great day,
Fred McCay
https://www.idsupply.co

7 Oct 2011, 10:43 AM
#6
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Re: Pop up image size.. image right size, window too small

...and you know hat, I just went to one of my larger sites where I have pics in 3 sizes and the larger image opens at 112px

7 Oct 2011, 2:14 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Pop up image size.. image right size, window too small

Curiously enough, standard Zen Cart behavior is for popups to start as small size, then adjust to the actual image dimensions after loading is complete. Not sure why some people are having this problem.

8 Oct 2011, 9:43 AM
#8
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Re: Pop up image size.. image right size, window too small

IE will open the pop-up full size once the image is loaded. Its FF that makes you drag the popup open.

8 Oct 2011, 6:31 PM
#9
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Pop up image size.. image right size, window too small

fredmccay:

IE will open the pop-up full size once the image is loaded. Its FF that makes you drag the popup open.

I ran in to this exact problem with Firefox when I built my first site. I was able to solve it, but I'll be damned if I can remember how. In any event, it became a non-issue when I installed Zen Lightbox.

The best way to learn is to try stuff. But, back it up first.

10 Oct 2011, 4:51 AM
#10
fredmccay avatar

fredmccay

New Zenner

Join Date:
Dec 2010
Posts:
60
Plugin Contributions:
0

Re: Pop up image size.. image right size, window too small

Good Idea, Thanks.

Fred McCay

11 Oct 2011, 8:03 AM
#12
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Pop up image size.. image right size, window too small

IE will open the pop-up full size once the image is loaded. Its FF that makes you drag the popup open. Again, standard ZC behavior is for the popup window to expand to fit the image, in Firefox or any other browser. If it does not do that for you, there is something non-standard about your installation or your computer.

17 Dec 2011, 1:41 AM
#13
donny_bahama avatar

donny_bahama

New Zenner

Join Date:
Dec 2011
Posts:
4
Plugin Contributions:
0

Re: Pop up image size.. image right size, window too small

I was having the same problem. Turned off all my FF add-ons and it worked correctly. Turned them on one by one... Firebug is the one causing this behavior.

17 Dec 2011, 2:31 AM
#14
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Pop up image size.. image right size, window too small

Interesting... I have seen for years that popups opened at the small size, then expanded to fit the fully loaded image. I have had Firebug for a couple of years and the behavior was still the same, but recently (past month or so?) I am seeing popups stay at the original size unless I drag them open. Could this be an "undocumented feature" of a recent Firebug version?

17 Dec 2011, 2:12 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Pop up image size.. image right size, window too small

No ... it is a bug and FireBug is aware of it ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Dec 2011, 5:25 AM
#16
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Pop up image size.. image right size, window too small

grayceworks:

give me feedback on my home decor store

You have greater issues
1030 Got error 28 from storage engine in:

http://shades.villadec.com/index.php?main_page=index&cPath=2191

The fix here


Play with it long enough and you will break it.