Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-03-08 16:52:31

wijnand
Xinha Community Member
Registered: 2005-07-13
Posts: 17

Newbie in problems

I want to use Perl with HTML::Template and Xinha with ImageManager to let users make there own (foto)albums on my genealogy-site. A lot of the possibilities of Xinha works verry wel, my compliments. But... afther reading a lot of messages in this forum and a lot of testing, I have still some problems.

Xinha:

1. I tried to pas images_dir and images_url via HTML::Template and then use the WIKI method to pass those parameters. No succes. Is there somebody with a working example?

2.Xinha saves the document only in HTML-mode. Is this normal?

ImageManager:

1. No Thumbnails for images larger then "Thumbnail dimensions". There is made a dir "thumbs" but no thumbnails. Do I need extra software to convert the images or does GD all the work?

2. I can upload images but I can't make a subdir?

3. When I try to edit images, the default image comes up but I can't rotate and so on. Saving isn't possible.

Thanks and greetings...
Wijnand

Offline

#2 2006-03-11 05:30:31

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: Newbie in problems

@Xinha 2: How do youz submit the form? In case you use javascript form.submit(), you have to call form.onsubmit() beforehand .
@ImageManager 1: Normally GD should do the job
@ImageManager 2: That's an old bug, search the tickets

Offline

#3 2006-03-11 12:46:25

wijnand
Xinha Community Member
Registered: 2005-07-13
Posts: 17

Re: Newbie in problems

Hallo Ray,

Thanks, 2 steps more to perfection. I still have to look why GD not works but and why I can't pass images_dir and images_url pars.

Do you know how to make maximum as default for the FullScreen plugin?

Thanks and greetings...
Wijnand

Offline

#4 2006-03-11 17:52:05

wijnand
Xinha Community Member
Registered: 2005-07-13
Posts: 17

Re: Newbie in problems

@ImageManager 1 and 3: I find out (a litle late) that GD is part of PHP (php_gd2.dll). It was not enabled.

Offline

#5 2006-03-14 04:59:42

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: Newbie in problems

as for fullscreen: I still couldn't figure to do this, I instead took the code from the plugin that gets the dimensions and put it in my config

var x,y;
    if (self.innerHeight) // all except Explorer
    {
      x = self.innerWidth;
      y = self.innerHeight;
    }
    else if (document.documentElement && document.documentElement.clientHeight)
      // Explorer 6 Strict Mode
    {
      x = document.documentElement.clientWidth;
      y = document.documentElement.clientHeight;
    }
    else if (document.body) // other Explorers
    {
      x = document.body.clientWidth;
      y = document.body.clientHeight;
    }


    xinha_config.height = y + 'px';  
    xinha_config.width = x + 'px';

Last edited by ray (2006-03-14 05:10:42)

Offline

Board footer

Powered by FluxBB