Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon3.gif   images attached shown as inline , posted by Emiliano Gabrielli on Mon Feb 7 13:14:41 2005 
    icon2.gif   Re: images attached shown as inline , posted by Stefan Ritt on Mon Feb 7 13:34:17 2005 
       icon7.gif   Re: images attached shown as inline , posted by Emiliano Gabrielli on Mon Feb 7 14:06:48 2005 
          icon7.gif   Re: images attached shown as inline , posted by Stefan Ritt on Mon Feb 7 14:23:37 2005 
             icon5.gif   Re: images attached shown as inline , posted by Emiliano Gabrielli on Mon Feb 7 15:59:04 2005 
                icon2.gif   Re: images attached shown as inline , posted by Stefan Ritt on Mon Feb 7 21:07:58 2005 
                   icon4.gif   Re: images attached shown as inline , posted by Emiliano Gabrielli on Tue Feb 8 12:39:53 2005 
                      icon4.gif   Re: images attached shown as inline , posted by Stefan Ritt on Sat Feb 12 17:08:32 2005 scaling.gif
                         icon8.gif   Re: images attached shown as inline , posted by Emiliano Gabrielli on Wed Feb 16 08:58:47 2005 
                            icon2.gif   Re: images attached shown as inline , posted by Stefan Ritt on Wed Feb 16 09:02:09 2005 
                   icon12.gif   [patch] Re: images attached shown as inline , posted by Emiliano Gabrielli on Tue Feb 8 19:04:25 2005 
                      icon2.gif   [patch] Re: images attached shown as inline , posted by Stefan Ritt on Sat Feb 12 17:48:51 2005 
Message ID: 949     Entry time: Wed Feb 16 08:58:47 2005     In reply to: 931     Reply to this: 950
Icon: Angy  Author: Emiliano Gabrielli  Author Email: AlberT@SuperAlberT.it 
Category: Request  OS: Linux  ELOG Version: 2.5.6 
Subject: Re: images attached shown as inline  
> > the following should do the job: 
> >  
> > <div style="width: 200px"> 
> > <img src="IMG_3133.jpg" style="width: 100%" /> 
> > </div> 
> >  
> > the configurable parameter should be with obviously :-) 
>  
> Unfortunately not. Please find attached the screen dump from such a try, together with the HTML code. 
> As you can see, the little elog icon is stretched to the same width as the upper (large) picture. 
 
you are right ;-( I used a different code in my test and sent you and old test code, *but* also the last 
one does not works on every browser ... the following code would do the job, but it seems to work only 
in gecko-based browsers such as mozilla, firefox and safari ... 
 
<div style="width: 200px"> 
 <img src="IMG_3133.jpg" style="max-width: 200" /> 
</div> 
 
other browsers do not scale the vertical dimention :-( 
ELOG V3.1.5-fe60aaf