Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 701 of 806  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  917   Tue Feb 8 12:39:53 2005 Warning Emiliano GabrielliAlberT@SuperAlberT.itRequestLinux2.5.6Re: images attached shown as inline
> > uhm ok .. can I expect to get a release with this feature in the near future ?
> 
> I checked how I would do that and did not find a good solution. If I put a
> 
> <img width=300 ...> 
> 
> for example, this scales down a big picture to only 300 pixels width. But if you submit a small
> picture, like just an icon, it blows it up to 300 pixels as well, which does not look nice.
> Unfortunatle I don't know of any option like "maxwidth=x" which only scales pictures down if they
> are larger than x. Do you know?

the following should do the job:

<table><TR><TD width="200">
<img src="IMG_3133.jpg" width="100%">
</TD></TR></table>

or (better I think)

<div style="width: 200px">
<img src="IMG_3133.jpg" style="width: 100%" />
</div>

the configurable parameter should be with obviously :-)
  916   Tue Feb 8 11:04:18 2005 Entry Rob de Bruinrdbruin@zernike.nl Linux2.5.6.1Re: Page not found after login or create useraccount
As you can see the password is also visable in the addressbar??


> best all,
> 
> I'm having trouble with redirecting after creating an account or login.
> For example when i create an account with an Admin user when i click on 
> Save i recieve the following error:
> Error finding page!
> And this is what de browser address tels me.
> 
> http://192.168.71.26/ZC004/?
> cmd=Save&new_user_name=zcpvenema&new_full_name=Peter+Venema&new_user_email=p
> venema@zernike.nl&email_notify=all&newpwd=123456&newpwd2=123456
> 
> But when i remove the line frome the ? and than press enter then i'll while 
> be able to just elog again.
> 
> here is my Global cfg file setting.
> 
> What did i do wrong??
> 
> ########################################
> 
> Port = 80
> Grp = elog 
> Usr = elog 
> Password file = /usr/local/elog/elog-2.5.6/passwd
> User login = /usr/local/elog/elog-2.5.6/passwd
> Admin user = rdbruin
> Resource dir = /usr/local/elog/elog-2.5.6/
> Logbook dir = /usr/local/bin/logbooks/
> time format = %d %B %Y %H:%M
> SMTP host = smtp.xs4all.nl
> Main tab = Startpagina
> Page Title = Logboeken Zernike College 
> IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif, 
> icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
> Submit page = /usr/local/elog/elog-2.5.6/bericht
> Attributes = Author, Type, Category, Subject, Owner, Email
> Group Zernike college = Desktops, Servers, Printers, Ribox, Switches, 
> Routers, Algemeen, Documentatie, XafaX
> Options OS = Windows XP, Novell, Windows 2003, Windows 2000, Windows 98
> Options Type = Software, Hardware, Besturingssysteem, Monitor
> Group Desktops = Harmjan, Helperbrink, Julianalaan, Rummerinkhof, 
> Westersedrift
> Group Helperbrink = ZC004, ZC006, ZC026, ZC155, ZC209, ZC241, ZC246, ZC247, 
> ZC248, ZC267, ZC288, ZC307, ZC308, ZC446, ZC475, ZC600, ZC601, ZC602, 
> ZC603, ZC604, ZC605, ZC606, ZC607, ZC608, ZC609, ZC610, ZC611, ZC612, 
> ZC613, ZC614, ZC615, ZC616, ZC617, ZC618, ZC619, ZC620, ZC621, ZC622, 
> ZC623, ZC624, ZC625, ZC626, ZC627, ZC628, ZC629, ZC630, ZC631, ZC632, 
> ZC633, ZC634, ZC635, ZC636, ZC637, ZC638, ZC639, ZC640, ZC641, ZC642, 
> ZC643, ZC644, ZC645, ZC646, ZC647, ZC648, ZC649, ZC650, ZC651, ZC652, 
> ZC653, ZC654, ZC655, ZC656, ZC657, ZC658, ZC659, ZC660, ZC662, ZC708, 
> ZC712, ZC707, ZC711, ZC900, ZC901, ZC902, ZC903, ZC904, ZC905, ZC906, 
> ZC907, ZC908, ZC909, ZC910, ZC911, ZC912, ZC913, ZC914, ZC915, ZC916, 
> ZC917, ZC918, ZC919, ZC920, ZC921, ZC922, ZC923
> Group Servers = HJZ1, HPB2, HRN1, HRN2, RHF1, ZDL1, ZC-ROOT1, ZC-ROOT2
> Group Ribox = HPB, HJZ, HRN, WD, ZDL
> Group Printers = HP, Canon
> Group HP = 4L, 6L, 2100, 4000, 4050, 4550 kleur, 8000
> Group Documentatie = Administratief, Educatief, Systeembeheer, Software, 
> Hardware
> Group Xafax = Pasjes, Chipnet, Smartprinter, Docs
> 
> ###################################################
  915   Tue Feb 8 10:38:39 2005 Entry Rob de Bruinrdbruin@zernike.nl Linux2.5.6.1Page not found after login or create useraccount
best all,

I'm having trouble with redirecting after creating an account or login.
For example when i create an account with an Admin user when i click on 
Save i recieve the following error:
Error finding page!
And this is what de browser address tels me.

http://192.168.71.26/ZC004/?
cmd=Save&new_user_name=zcpvenema&new_full_name=Peter+Venema&new_user_email=p
venema@zernike.nl&email_notify=all&newpwd=123456&newpwd2=123456

But when i remove the line frome the ? and than press enter then i'll while 
be able to just elog again.

here is my Global cfg file setting.

What did i do wrong??

########################################

Port = 80
Grp = elog 
Usr = elog 
Password file = /usr/local/elog/elog-2.5.6/passwd
User login = /usr/local/elog/elog-2.5.6/passwd
Admin user = rdbruin
Resource dir = /usr/local/elog/elog-2.5.6/
Logbook dir = /usr/local/bin/logbooks/
time format = %d %B %Y %H:%M
SMTP host = smtp.xs4all.nl
Main tab = Startpagina
Page Title = Logboeken Zernike College 
IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif, 
icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
Submit page = /usr/local/elog/elog-2.5.6/bericht
Attributes = Author, Type, Category, Subject, Owner, Email
Group Zernike college = Desktops, Servers, Printers, Ribox, Switches, 
Routers, Algemeen, Documentatie, XafaX
Options OS = Windows XP, Novell, Windows 2003, Windows 2000, Windows 98
Options Type = Software, Hardware, Besturingssysteem, Monitor
Group Desktops = Harmjan, Helperbrink, Julianalaan, Rummerinkhof, 
Westersedrift
Group Helperbrink = ZC004, ZC006, ZC026, ZC155, ZC209, ZC241, ZC246, ZC247, 
ZC248, ZC267, ZC288, ZC307, ZC308, ZC446, ZC475, ZC600, ZC601, ZC602, 
ZC603, ZC604, ZC605, ZC606, ZC607, ZC608, ZC609, ZC610, ZC611, ZC612, 
ZC613, ZC614, ZC615, ZC616, ZC617, ZC618, ZC619, ZC620, ZC621, ZC622, 
ZC623, ZC624, ZC625, ZC626, ZC627, ZC628, ZC629, ZC630, ZC631, ZC632, 
ZC633, ZC634, ZC635, ZC636, ZC637, ZC638, ZC639, ZC640, ZC641, ZC642, 
ZC643, ZC644, ZC645, ZC646, ZC647, ZC648, ZC649, ZC650, ZC651, ZC652, 
ZC653, ZC654, ZC655, ZC656, ZC657, ZC658, ZC659, ZC660, ZC662, ZC708, 
ZC712, ZC707, ZC711, ZC900, ZC901, ZC902, ZC903, ZC904, ZC905, ZC906, 
ZC907, ZC908, ZC909, ZC910, ZC911, ZC912, ZC913, ZC914, ZC915, ZC916, 
ZC917, ZC918, ZC919, ZC920, ZC921, ZC922, ZC923
Group Servers = HJZ1, HPB2, HRN1, HRN2, RHF1, ZDL1, ZC-ROOT1, ZC-ROOT2
Group Ribox = HPB, HJZ, HRN, WD, ZDL
Group Printers = HP, Canon
Group HP = 4L, 6L, 2100, 4000, 4050, 4550 kleur, 8000
Group Documentatie = Administratief, Educatief, Systeembeheer, Software, 
Hardware
Group Xafax = Pasjes, Chipnet, Smartprinter, Docs

###################################################
  914   Mon Feb 7 21:07:58 2005 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.5.6Re: images attached shown as inline
> uhm ok .. can I expect to get a release with this feature in the near future ?

I checked how I would do that and did not find a good solution. If I put a

<img width=300 ...> 

for example, this scales down a big picture to only 300 pixels width. But if you submit a small
picture, like just an icon, it blows it up to 300 pixels as well, which does not look nice.
Unfortunatle I don't know of any option like "maxwidth=x" which only scales pictures down if they
are larger than x. Do you know?
  913   Mon Feb 7 20:13:28 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportAll2.5.6Re: HTML 4.1 transitional validation fails
> as this url shows http://www.htmlhelp.com/tools/validator/problems.html#amp

> it should be used an HTML entity instead of the ampersand sign.<p> Can you please be a bit more specific? In which URL should the ampersand be replaced?
  912   Mon Feb 7 18:55:02 2005 Warning Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll2.5.6HTML 4.1 transitional validation fails
as this url shows http://www.htmlhelp.com/tools/validator/problems.html#amp it should be used an HTML entity instead of the ampersand sign.
  911   Mon Feb 7 15:59:04 2005 Question Emiliano GabrielliAlberT@SuperAlberT.itRequestLinux2.5.6Re: images attached shown as inline
> > yes I know, but it could be a "placebo" :-P .. we are using the elog in a lan so it
> > could be a good temporary solution ...
> > 
> > can you point me to some documentation I can read to be able to do it? should I edit
> > the css file ?
> 
> No, I would have to add another option to the configuration file, it's not yet implemented. 
> 

uhm ok .. can I expect to get a release with this feature in the near future ?

tnx in advance
  910   Mon Feb 7 14:23:37 2005 Smile Stefan Rittstefan.ritt@psi.chRequestLinux2.5.6Re: images attached shown as inline
> yes I know, but it could be a "placebo" :-P .. we are using the elog in a lan so it
> could be a good temporary solution ...
> 
> can you point me to some documentation I can read to be able to do it? should I edit
> the css file ?

No, I would have to add another option to the configuration file, it's not yet implemented. 

> can be usefull to be able to "optionally" execute some external program (a sort of
> pipe) in order to be (eventually) able to set a "filter program" for attachments.
> The same way an MTA does with procmail I mean.
> 
> in this case one has to be able to access both to the original image and the
> processed one...

Executing and external program is possible via the 

Execute new/edit/delete = ...

command. While you can pass attribute values to the program to be executed, it is not
possible right now to pass attachment names, although this could be easily added. What
would be harder is to reformat the whole entry. If you just downsample an image, that
would be ok. But if you want to keep the original, you would have to modify the logbook
entry to contain n*2 attachments afterwards, which would not be easy.

So I don't see a simple way of achieving what you want. Sorry.
ELOG V3.1.5-3fb85fa6