Yes but I want to set the image to IMAGE setting in the map file... dejan
> -----Original Message----- > From: Armin Burger [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 09, 2005 6:52 PM > To: Gambin Dejan; [EMAIL PROTECTED] > Subject: Re: [Pmapper-users] New intermediate versions > > > Gambin Dejan wrote: > > Thanks Armin, > > > > That works pretty great, I am interesting in just one thing > regarding > > the reference map...does the size of the reference map has an > > influence on correctly positioning the refbox? I primary > think of the > > width/height (defined as SIZE of reference map in map file) > > proportion..it should have the same proportion as the > original image > > not to be distorted? > > > > I guess it does not make a difference if in the map file you don't > specify the size of the reference map image exactly as it is. > You might > get some slight distortions if the ratio between height and width is > different in the map file settings than it is for the image > itself, but > for smaller distortions you will probably not see very much. The > positioning should be ok. > > > And one thing that I don't know if it is a bug or not...I have > > replaced the original reference image with my own and tried > to show it > > but I couldn't because it is defined in map file as > > "images/reference.jpg" but it is hardcoded in refmap.phtml as > > reference.png? > > Then you should change the image src also in the refmap.phtml file to > "images/reference.jpg". > > > > > regards, dejan > > > > >