Home > Ask the Domino Experts > Lotus Instant Messaging/Sametime Questions & Answers > How can I adjust the size of images after they are uploaded?
Ask The Domino Expert: Questions & Answers
EMAIL THIS

How can I adjust the size of images after they are uploaded?

Hans van der Burg EXPERT RESPONSE FROM: Hans van der Burg

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 14 April 2003
I have a database with a form and this form has the basic Notes upload control for images. I need to be able to control the size of the images users upload AFTER they're uploaded so that they all fit nicely within the form from their Notes client and don't push all the other fields to the right. We run our intranet from Notes clients, not the Web -- at least not yet. So how can I add this functionality? Does SearchDomino.com have this answer?

>
It is very difficult to answer this question, as I do not know what you are doing with the images after they are uploaded. Are they stored in the document? Are they stored in an image repository in your database, etc.?

My best guess for you is to not directly refer to an image when displaying it on your page, as then indeed you will display the image in its original state. Instead, use pass-thru HTML, like the following:

<img src="/mydb.nsf/viewname/docid/$file/imgname.gif?openElement" border="0" width="10" height="10">

By hiding the attached images, you can refer in your document to the image in this way and control the size to your needs. Each part of the URL can be dynamically created based on the document you opened, making it a formula that will work in any document. Hope this helps.


Feedback from questioner:

The images are stored in the document and I am not doing Web development. I'm doing Notes development so passthru will not solve the problem. Do you know how to do this in Notes using LotusScript or some other method?


Hans' answer:

Unfortunately this not possible using LotusScript or any other front language. It can be done using API Calls; however, the method would take too long to explain here.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Lotus Instant Messaging/Sametime
How to enable communication between multiple Lotus Sametime servers
Lotus Sametime users with different 'home' servers cannot see each other online
Resources for deploying Lotus Sametime on the Internet
No one can see Lotus Sametime user is online
Meeting windows won't appear on Sametime 7 with Sametime Connect 3 client
Saving and archiving Lotus Sametime Web conferences
Collaborating with clients who don't have Sametime
Unable to log into Sametime through Notes with SSO
Can Lotus Notes leverage domain authentication?
Updating local location documents for Sametime users

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts