Multiple GD images in one page

GD and GD2 are useful libraries for creating graphics on-the-fly. Discuss your PHP GD and GD2 scripts here.

Moderators: onion2k, General Moderators

Post Reply
investorhive
Forum Newbie
Posts: 3
Joined: Fri Oct 20, 2006 4:56 pm

Multiple GD images in one page

Post by investorhive »

Hello,

I have a page with multiple bar charts, which are generated by php GD lib.
If I display only 1 or 2 charts, then the charts look good. But if I start to display 5 or more,
then I see images are not displayed correctly. The width of the bar charts shrink. Text is illegible.

This problem only happens with IE. Firefox does not have this problem.

Here is the display:

http://www.investorhives.com/portfl.php

Can anybody help? I've have suffered enough!!!

Thanks so much.
Scott
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

It looks fine to me, I'm not sure what you're referring to. :?
investorhive
Forum Newbie
Posts: 3
Joined: Fri Oct 20, 2006 4:56 pm

Try the following parameters

Post by investorhive »

Thanks for the reply, feyd.

Try the following:
http://www.investorhives.com/portfl.php?core=1&period=2

Take a look at the 2nd graph. You will see the problem.
If you click on it, then it looks ok (no problem with 1 or 2 images)

Thanks.
Scott
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

They look the same to me:
Image
clickie
investorhive
Forum Newbie
Posts: 3
Joined: Fri Oct 20, 2006 4:56 pm

Problem only happens with Internet Explorer

Post by investorhive »

Hello,

I noticed that you are using firefox. With firefox, I don't see the problem either.
It only happens with Internet Explorer ;(

Scott
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You might want to take a closer look. Firefox is on the left, IE is on the right.
Post Reply