Portlet image type and size

Hi
Are there any particular iamge types and size required for portlet banner, header,
footer, etc...?
Thanks a lots

No. It all depends on what type of images your browser can render and
the real-estate you have on the browser.
Subbu
david wrote:
Hi
Are there any particular iamge types and size required for portlet banner, header,
footer, etc...?
Thanks a lots

Similar Messages

  • TYPE and SIZE, 2 more columns to the variable in the Command behavior?

    DW 8.02 added 2 more columns to the variable in the Command
    behavior, TYPE and SIZE. What do you put in here?
    What is the difference for Access text, Date/Time, number and
    Memo columns.
    The Dreamweaver DOCS don't cover this update and you can't OK
    the COMMAND without these two columns

    This will be of some help:
    http://www.w3schools.com/ado/ado_datatypes.asp
    You should be able to gather the column size from the
    database's table
    definition. Typically, columns that hold text are one byte
    per character
    (two for Unicode), whereas integers are 4 bytes. Other
    numeric types and
    date types vary among database systems.
    "lovewebdev" <[email protected]> wrote in
    message
    news:ec0it5$h20$[email protected]..
    > DW 8.02 added 2 more columns to the variable in the
    Command behavior, TYPE
    > and
    > SIZE. What do you put in here?
    > What is the difference for Access text, Date/Time,
    number and Memo
    > columns.
    >
    > The Dreamweaver DOCS don't cover this update and you
    can't OK the COMMAND
    > without these two columns
    >

  • Set default font type and size in formcreated using Acrobat X Pro

    I have a word document that I used Acrobat X Pro to create a PDF and then a Form.  The Form has over 200 text fields.  Is there a way to globally set the font type and size to one type, for instance Arial 10 so that when someone opens the Form and fills it in, the global font type and size is preset         

    Are you talking about fields that you create manually or field created with the Form Wizard? Exactly what version of Acrobat are you using? What OS?
    In any case, using a script is a quick and easy approach:
    for (var i = 0; i < numFields; i++) {
        var fName = getNthFieldName(i);
        var f = getField(fName);
        if (f.type === "text") {
            f.textFont = font.Times;
            f.textSize = 9;
            // Other properties go here
    I use this type of thing all the time to quickly alter a form. Such a script isn't added anywhere, just executed (e.g., JavaScript console). Over time a developer can build up a collection of utility scripts that can do all sorts of things to dramatically speed up development. It would be bad if this option were not available.
    If there is a bug, it should certainly be addressed, so don't think I'm arguing against that, but I'm not seeing it on any of my systems. I can successfully set the default field properties by selecting "Use Current Properties as New Defaults". The Form Wizard does not use these defaults, but that's a different matter.

  • Show columns for song "Type" and "Size" in v8 list view?

    I often sort songs and audio files by either type (mp3 / aif / AAC), or size (how many MB.)
    I can't find how to reveal these columns in v8 -- in 7 i would use command-J to reveal the "view options" dialog, then simply check the boxes to display "type" and "size"
    The new View Options dialog only has a few options for columns.
    Where did they go?
    Thanks.

    Try right clicking at the top of any column and choosing from the list that appears. If you what to display the file format/type (MP3, AAV etc.)choose "Kind".

  • Changing default picture viewer via GPO without changing image type and icon (Windows 7)

    Hello,
    I am trying to change the default picture viewer for some file extensions (.bmp, .jpeg, .png and .tiff). Actually Windows Photo Viewer is the default viewer and we need to replace it with Microsoft Office Picture Manager.
    I managed to do that change via GPO using the 'open with' preference under User Configuration\ Preferences\Control Panel Settings\Folder Options. So now the files are opened with Microsoft Office Picture Manager (office 2010). The problem is that the image
    type became 'OIS.EXE' for all the specified file extensions. Moreover the icon is now the same (Microsoft Office 2010).
    When I change manually the associated program for a file extension, the icon change but no the image type... this is different using GPO.
    Is there a solution in order to change the default program but keeping the image type and associated icon ?
    I tried to do that modification using the 'new file type' preference under Computer Configuration\Preferences\Control Panel Settings\Folder Options. I specified the 'open' action for OIS.exe, selected file extension BMP with associated class 'Bitmap Image'.
    It solves the problem for image type, Microsoft Office Picture Manager opens the files ... but I have to specify the icon file path and icon index and I don't know where I can find the default icons for the file extensions ...
    What is the best solution ? Am I right ? Am I doing something wrong ?
    Thank you in advance !

    Hello,
    thank you very much for your answers.
    For the rollback, I will reimport the original/default keys for all the image types, this should be ok.
    Here are the problems I have trying to pu Microsoft Office Picture Manager as default picture viewer (I just want  .bmp, .jpg ... files to be opened with Microsoft Office Picture Manager by default).
    1 Using new file type under Computer Configuration\Preferences\Control Panel Settings\folder options. : I define a new file type (BMP for example), associated class Bitmap Image, I configure the icon (imageres.dll,65) and an open action where OIS.EXE
    is the application used to perform the action.
    Result : Icon is correct, file type is correct, image files are opened with OIS.EXE (correct) ... BUT now Microsoft Office 2010 appears twice in open or open with menu
    2 Using new open with under User configuration\Preferences\Control Panel Settings\Folder Options : new open with preference, action (update or replace same result), file extension BMP, associated program (path to OIS.EXE), i check set as default.
    Result : Office 2010 opens image files (correct) but icon is Office 2010 one and the file type is now 'OIS.EXE' for all image file extensions I have specified ... so it won't be possible to sort the file by image type if I select that method...
    3 Using ftype : OIS.EXE doesn't open the file when I double click on it but Microsoft Office 2010 appears twice in the open or open with list ...
    I am a bit lost ... what is the best method to put Microsoft Office Picture Manager as default picture viewer, keeping the image type (Bitmap image, JPEG image etc) and without having Microsoft Office 2010 twice in the open or open with list ??
    Last question : by default an image file is opened and previewed with Windows Photo viewer and edited with Paint. I would like just to open images with Office 2010 but keep Windows Photo viewer for preview and Paint for edit ... Is it possible ??
    Thank you in advance for any help and support !!

  • Saving multiple file types and sizes

    I design logos using Illustrator. After the design is approved I need to save it in multiple different file types and sizes. (ie. Jpg Hi, Med, Lo; tif; eps; pdf)
    Does anyone know of a script that can do this?
    Thanks,
    Mark

    I don't know of an existing script that does exactly this. You could make one though. Saving an Illustrator document to both 'eps' and 'pdf' formats is very straight forward once you know which options you want. Personally I would use Photoshop to create the required 'jpegs' Illustrator does not export to any given resolution only scaling at 72dpi… Open either the 'eps' or 'pdf' in Photoshop resize and save 3 times.

  • Webdynpro to limit MIME types and size

    Hi,
    I need to write an web dynpro application to limite the file type and size using IWDFileUpload API, does anyone has some suggestion ?
    Thanks a lot.
    Kind regards
    Ben.J.

    Hi Ben,
    I think you can restrict the file type and and also check the file size before uploading the file. You need to write the logic to check out the file type.
    Use the following code to check restrict the file upload of only txt file...
              IPrivateTestView.ITestElement pf =
                   wdContext.nodeTest().currentTestElement();
              IWDMessageManager mgr = wdComponentAPI.getMessageManager();
              if (pf.getFileResource().getResourceType().getFileExtension() != null
                   && pf
                        .getPatchResource()
                        .getResourceType()
                        .getFileExtension()
                        .equalsIgnoreCase(
                        "txt")) {
    // Check if file size is in valid range.. call getFileSize()
    mgr.reportSuccess("File can be uploaded");
              } else {
                   mgr.reportException("Kindly upload ont TXT files", false);
    And use following code for calculating File Size:
         private String getFileSize(IWDResource resource) {
              InputStream stream = null;
              DecimalFormat myFormatter = new DecimalFormat("###.##");
              double size = 0;
              String unit = "";
              try {
                   stream = resource.read(false);
                   size = stream.available();
                   if (size < 1024) {
                        unit = " Bytes";
                   } else if (size < 1048576) {
                        size = size / 1024;
                        unit = " KB";
                   } else if (size < 1073741824) {
                        size = size / 1024 / 1024;
                        unit = " MB";
              } catch (IOException e) {
                   wdComponentAPI.getMessageManager().reportException(
                        e.getLocalizedMessage(),
                        true);
              } finally {
                   if (stream != null) {
                        try {
                             stream.close();
                        } catch (IOException e) {
                             wdComponentAPI.getMessageManager().reportException(
                                  e.getLocalizedMessage(),
                                  true);
              return myFormatter.format(size) + unit;
              //@@end
    This way you can restrict the users. As far as I know there is no standard way of restricting the same
    Hope it helps
    Regards
    Abhinav

  • Add font types and sizes to ICWC HTML e-mail editor

    Hi,
    I'm working with ICWC e-mail component and I'm wonder to know how can I add more font types and sizes to HTML e-mail editor. At the moment i just have 5 font types and a few font sizes.
    Thanks a lot in advance,
    Nuno Moreira

    Hello Nuno,
    Just try this:
    First you have to upload your .ttf font by using se73 transaction.
    Then you must map it, using this tables:
    SAP: TBTFFONTMAPDEF
    Customer: TBTFFONTMAP
    Just add a line in customer table TBTFFONTMAP with your font (or existing one), and the language that will be used by the users (It accepts wildcard * for all languages)
    And it's done.
    Best Regards,
    Bruno

  • Modifying Java font type and size

    Hi! I'm not sure if this is the right forum for this but I might as well try. I play a lot of Yahoo Chess which uses a java software to launch its program. I'm a new Macbook user and before when I was in Windows/PC, the font type and size setting was okay. Now I barely can read the font whenever I launch Yahoo Chess (using Java) in my Macbook.
    Any help would be appreciated. Thanks!
    Macbook Core 2 Duo with 2 GB Ram   Mac OS X (10.4.9)  

    Hi,
    Which font and font size did you use in your applet? Do you have sample code that could demonstrate the problem? This may have to do with the difference in font aliasing between MS VM and Sun JVM.
    Stanley Ho
    Java Deployment Tech Lead
    Sun Microsystems

  • Limit file type and size in Solution Manager

    Dear gurus,
    I'm writing an inquiry about the possibility of specifying file extension type and the size the user can upload to solution manager, for example in roadmap / configuration.
    I.e, we need to limit the user not to upload *.avi extension type, and limiting the size to 5MB.
    Thanks for help.
    Regards,

    Hi Bobby,
    Once you insert a file extension in table SADOCGENERIC,  after that, all documents with this file extension will be open and
    should be editable out-of-place with no edit restrictions. You'll just need to have a way to edit it in your computer.
    Kind regards, Fabricius

  • Exporting image coordinates and size

    I'd like to be able to export image position and percentage size for all pictures in a document (the purpose is to import this information into a database to facilitate autocreation of the douments later on), I've done this before for Quark files by processing the report files but InDesign doesn't have this information. I'm working with InDesign CS5 on OSX and have very little experience of AppleScript - I've had quite a good browse around but to no avail, any help would be greatly appreciated.

    Generating a report for images has been done hundreds of times before But of course, never exactly the way you want it to.
    This Javascript is based on one I wrote for a similar request; it only needed minor tinkering to fit your purpose.
    app.activeDocument.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN;
    list = [];
    imgs = app.activeDocument.allGraphics;
    unitname = getCurrentUnit();
    for (i=0; i<imgs.length; i++)
    h = imgs[i].parent.geometricBounds[2] - imgs[i].parent.geometricBounds[0];
    w = imgs[i].parent.geometricBounds[3] - imgs[i].parent.geometricBounds[1];
    left = imgs[i].parent.geometricBounds[1];
    top = imgs[i].parent.geometricBounds[0];
    scale = roundMe(imgs[i].horizontalScale,1);
    // some fair rounding
    switch (unitname)
      case 'in':
       w = roundMe(w, 3);
       h = roundMe(h, 3);
       left = roundMe(left, 3);
       top = roundMe(top, 3);
       break;
      case 'cm':
       w = roundMe(w, 2);
       h = roundMe(h, 2);
       left = roundMe(left, 2);
       top = roundMe(top, 2);
       break;
      default:
       w = roundMe(w, 1);
       h = roundMe(h, 1);
       left = roundMe(left, 1);
       top = roundMe(top, 1);
    list.push (imgs[i].itemLink.name+'\t'+'('+left+','+top+')'+'\t'+w+' x '+h+' '+unitname+'\t'+scale+'%');
    // alert (list.join('\r')); exit();
    defaultFile = new File (Folder.myDocuments+"/"+app.activeDocument.name.replace(/\.indd$/i, '')+".txt");
    if (File.fs == "Windows")
    writeFile = defaultFile.saveDlg( 'Save report', "Plain text file:*.txt;All files:*.*" );
    else
    writeFile = defaultFile.saveDlg( 'Save report');
    if (writeFile != null)
    if (writeFile.open("w"))
      writeFile.encoding = "utf8";
      writeFile.write (list.join("\r")+"\r");
      writeFile.close();
    function roundMe(val,to)
    var t = 1;
    while (to-- > 0) t *= 10;
    return Math.round(val*t)/t;
    function getCurrentUnit ()
    switch (app.activeDocument.viewPreferences.horizontalMeasurementUnits)
      case MeasurementUnits.POINTS: return "pt";
      case MeasurementUnits.PICAS: return "pt";
      case MeasurementUnits.INCHES: return "in";
      case MeasurementUnits.INCHES_DECIMAL: return "in";
      case MeasurementUnits.MILLIMETERS: return "mm";
      case MeasurementUnits.CENTIMETERS: return "cm";
      case MeasurementUnits.CICEROS: return "c";
      case MeasurementUnits.AGATES: return "ag";
      default: alert ("Oh, come on!"); exit(0);

  • How to filter the file type and size when uploadind files into APEX

    Hi,
    I was wondering how I can do to validate the size of a file, before moving it to my table ? I'd like to filter the file type, but for this one, I think I can use regular expressions in a validation process.
    I don't know if there is a way to read the file size even before sending it into the temporary file table.
    Thank you
    Leinad

    Hello Leinad,
    AFAIK, you have to create an APEX validation (PL/SQL returns Boolean or Returns error text), which will query the file details from apex_flow_files table. Here you can get filetype and size etc.
    So just validate and if any validation fails, then delete the file from apex_flow_files and riase error message.
    Regards,
    Hari
    P.S. Please note that, if there are other apex validations on your page and if they fail, still apex will load the file into apex_flow_files table. So it's good idea to create a validation (PL/SQL) which will fire (condition) when inline validation errors occured. Make sure that this is the LAST validation on your page in sequence. And here you can write code to delete the file from apex_flow_files table.
    Edited by: Hari_639 on Sep 20, 2012 10:09 PM

  • Batch Replace Smart Object With Different Image Quality and Sizes

    Hi there,
    I need help. I have this template that is in 1000x1000pixel and 300 dpi. I'm trying to replace the smart object inside with various JPEG that I have. These JPEG comes in large image sizes but lower than 300dpi. The issues is, when I run the script that I have, some of the pictures become really pixelated. Beforehand, I resized them to fit into the empty place in sizes that I find fit the best (8 cm x 6 cm). Some of them work okey, but then some of them just pretty bad. I'm wondering if you can help me fix the script that I have so I didn't have to resized the images before running the script, and for all of them to automatically fit into my template without altering the quality of the image that I put in.
    below is the script that I am using and the screenshot of my template:
    #target photoshop
    if (app.documents.length > 0) {
    var myDocument = app.activeDocument;
    var theName= myDocument.name.match(/(.*)\.[^\.]+$/)[1];
    var thePath = myDocument.path;
    var theLayer = myDocument.activeLayer;
    // psd options;
    psdOpts = new PhotoshopSaveOptions();
    psdOpts.embedColorProfile = true;
    psdOpts.alphaChannels = true;
    psdOpts.layers = true;
    psdOpts.spotColors = true;
    // check if layer is smart object;
    if (theLayer.kind != "LayerKind.SMARTOBJECT") {alert ("selected layer is not a smart object")}
    else {
    // select files;
    if ($.os.search(/windows/i) != -1) {var theFiles = File.openDialog ("please select files", "*.psd;*.jpg;*.jpeg;*.tif", true)}
    else {var theFiles = File.openDialog ("please select files", getFiles, true)};
    if (theFiles) {
    // work through the array;
    for (var m = 0; m < theFiles.length; m++) {
    // replace smart object;
    theLayer = replaceContents (theFiles[m], theLayer);
    var theNewName = theFiles[m].name.match(/(.*)\.[^\.]+$/)[1];
    //Raise color picker for Back cover;
    try {
    app.activeDocument.activeLayer = app.activeDocument.layers[app.activeDocument.layers.length - 1];
    // =======================================================
    var idsetd = charIDToTypeID( "setd" );
    var desc7 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
    var ref2 = new ActionReference();
    var idcontentLayer = stringIDToTypeID( "contentLayer" );
    var idOrdn = charIDToTypeID( "Ordn" );
    var idTrgt = charIDToTypeID( "Trgt" );
    ref2.putEnumerated( idcontentLayer, idOrdn, idTrgt );
    desc7.putReference( idnull, ref2 );
    var idT = charIDToTypeID( "T " );
    var desc8 = new ActionDescriptor();
    var idClr = charIDToTypeID( "Clr " );
    var idsolidColorLayer = stringIDToTypeID( "solidColorLayer" );
    desc7.putObject( idT, idsolidColorLayer, desc8 );
    executeAction( idsetd, desc7, DialogModes.ALL );
    } catch (e) {};
    //save jpg;
    myDocument.saveAs((new File(thePath+"/"+theName+"_"+theNewName+".jpg")),psdOpts,true);
    ////// get psds, tifs and jpgs from files //////
    function getFiles (theFile) {
    if (theFile.name.match(/\.(psd|tif|jpeg|jpg)$/i) != null || theFile.constructor.name == "Folder") {
    return true
    ////// replace contents //////
    function replaceContents (newFile, theSO) {
    app.activeDocument.activeLayer = theSO;
    // =======================================================
    var idplacedLayerReplaceContents = stringIDToTypeID( "placedLayerReplaceContents" );
    var desc3 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
    desc3.putPath( idnull, new File( newFile ) );
    var idPgNm = charIDToTypeID( "PgNm" );
    desc3.putInteger( idPgNm, 1 );
    executeAction( idplacedLayerReplaceContents, desc3, DialogModes.NO );
    return app.activeDocument.activeLayer

    Thank you for your answer.
    I was resizing it before from bigger image size to a smaller one (121 cm to 8 cm) which fit my template size. But the dpi remains in 72 which makes the picture pixelized.
    I am wondering if I can find a script that will keep the size of the first image that I put on the template for other images that I place, regardless the size they are imported to. Basically, how to make them all fit into the template regardless the size.
    Thank you for the info about the scripting forum. I will write there too.
    Sorry, I'm so new to this

  • How can I reset the font type and size on my email. It changed after I updated to Firefox 5.0 and I can't get it back.

    After updating to Firefox 5.0 the font changed on my email. I checked, and the default setting is what I had put in before the update but it's not working. How can I get my email to use the font and type size that I chose? The one that's currently being used (since after the update) is so tiny one can hardly see it. My email program is through yahoo but there doesn't seem to be a way to change it at the email site. I'm not terribly PC savvy so please respond with a detailed/explicit answer. Thanks for any help you can give me with this. I have Windows XP and use Firefox as my browser.

    Hi again...,,yes, I did try the "reset zoom" on the email compose message page and nothing happened. I'm not familiar with add-ons. Went to the address you suggested (DefaultFullZoomLevel) but don't know how to use it. Also, I don't want to enlarge the text on all web pages.....just the email page. By the way, if it makes a difference, I think I forgot to mention that I use AT&T/Yahoo webmail....not Outlook Express or Thunderbird or any other email program. I'm not familiar with those and don't want to change email programs. Thanks again for trying to help with this. I'm beginning to think this problem is "unfixable" and considering changing back to a previous edition of Firefox (IF that's even possible).

  • File Type and Size for Video iPod

    I have the latest ipod that does it all, but I am a little concerned about the lack of control on the file type size. I can export a mp4 file with my own settings so it isn't such a large file but it won't load or play. I can convert the file but it makes it the standard file size which is larger than I want it to be. Isn't there a way to save my own settings and still have it play video?
    Thanks for any info from anyone.

    I want to save a higher and better compression and not such high quality settings as the ipod standards settings are.
    You can't.
    http://www.apple.com/quicktime/tutorials/creatingvideo.html
    Video formats supported:
    H.264 video up to 768 Kbps, 320 x 240, 30 frames per sec., Baseline Profile up to Level 1.3 with AAC-LC up to 160 Kbps, 48 KHz, stereo audio in .m4v, .mp4 and .mov file formats;
    MPEG-4 video up to 2.5 Mbps, 480 x 480, 30 frames per sec., Simple Profile with AAC-LC up to 160 Kbps, 48 KHz, stereo audio in .m4v, .mp4 and .mov file formats

Maybe you are looking for

  • Mail sending, picking up many times (but not really)

    We are a school running about 100 Macbook Pro laptops running OS 10.7.5.  For a couple of our users we've had the experience that their Mail program seems to go a little bit crazy and makes a whole bunch of picking up (bong) and sending (whoosh) soun

  • Memory leak when creating new thread.

    Hi, Each time i create a thread, it causes 8 bytes memory leak. The testing code is as below and you can see mem usage increasing in Windows Task Manager. But if i don't call ::OCIEnvCreate(), no memory leak. Memory validator shows the following call

  • EBook setting up service.

    Would anyone know of a service whereby a finished novel in pdf format could be fully prepared in all other aspects to the point of acceptance in the Apple book store?

  • Why is the first character typed delayed and showing up as the 3rd or 4th character?

    For about 2-3 weeks now, I've been running across this problem. It shows up all over the OS. I can be typing something into Spotlight or Safari and a lot of other apps and the first initial character typed doesn't show itself until the 3rd or 4th let

  • Contacts and Speed Dial issue

    This evening I went to call someone on my Pre Plus and my contacts were gone.  Rebooted, they came back.  Tried the speed dial again and it does not work.  The contacts DO have the speed dials assigned.  They worked yesterday....Anyone know what the