Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Specifying the size of am image attachment, posted by Val Schmidt on Mon Apr 6 20:46:42 2009 
    icon2.gif   Re: Specifying the size of am image attachment, posted by Stefan Ritt on Wed Apr 8 12:25:07 2009 
Message ID: 66287     Entry time: Mon Apr 6 20:46:42 2009     Reply to this: 66288
Icon: Question  Author: Val Schmidt  Author Email: vschmidt@ldeo.columbia.edu 
Category: Question  OS: All  ELOG Version: 2.6.2 
Subject: Specifying the size of am image attachment 

 Hello,

I'm curious, is it possible to specify (perhaps by default) the rendered size of an attached image. For example, I'd like all images uploaded to be scaled to 100% of the browser window size so a large image is not most off the screen. What I want is to specify the width="100" attribute of the <img /> tag, but it's not clear 1) how do to this for an attachment and 2) if it might be possible to do this in the config file for all img attachments.

 

Thanks,

 

Val

ELOG V3.1.5-3fb85fa6