Default image resizing on "placing"

Please let me know if there is a way to automatically resize an image when it is placed into a page. For me it would be ideal to specify a default value of height and/or width with constrained proportions.

You don'tmentin the versionof ID, which makes a little difference in behavior. Since CS4 ID has placed images proportionally scaled (but uncropped) if you click and drag while placing.
That said, if you want a frame a particular size with fitting set to fill proportionaly you can either make a frame on the master page and set the fitting parameters, or put such a frame into a library and drag it onto your page wherever you want it.

Similar Messages

  • Image resized when placed in Pages

    Im trying to place a PDF image in pages but it keeps reducing the image down from its original dimensions. How can I place my PDF at its original size without having to spend time resizing it?

    You did not tell us what version of Pages.
    Pages will reduce objects to fit, either on the page or within the document margins.
    Select the pdf and set the object to Original Size.
    Peter

  • Photoshop images resizing when placed in Indesign

    Hi,
    I've created an image in Photoshop whih is 960 px wide and 600 px in length.  I have set up a document in Indesign with the same dimensions.  When I place the .psd file in Indesign, it comes in at 230.4 x 144 px.  Why is it not coming in at 960x600, the size it is in Photoshop?  My rulers and measurements are all set to px, I've checked.
    If anyone can help I'd be most grateful!
    Thanks,
    Omar

    Double click on the image in InDesign and in the top tool bar see if fit says 100% for both the width and height. If not, then change to 100%. Odds are it is autoresizing to fit or fill your frame.

  • Default Image Rendition or resize image automatically

    We use the column Rollup Image and have the blob cache enabled to use image rendition.
    Is it possible to use this publishing image column with a default rendition (not full size) so the user has not to choose the rendition (or cannot choose it)?
    Or what would be the best practise to get automatically resized Images? By publishing Image column or better by JavaScript?

    Hi,
    According to your description, my understanding is that you want to you want to know about how to use PublishingRollupImage Column to display a default image rendition and how to get automatically resized images.
    Firstly, I suggest you can use the automatically resized in the rollup publishing image column. As the image renditions will choose for different device such as mobile phone, if they display as a default rendition, then it can't be enlarge if user want to
    see more clearly.
    About how to get automatically resized images, you can get image with RenditionID using Jquery.
    Here is a code snippert for your reference:
    <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.7.1.min.js" />
    <script type="text/javascript">
    $(document).ready(function() {
    $image = $(".article-content").find("img");
    $image.each(function (i) {
    var imagesrc = $(this).attr("src") + "?RenditionID=5";
    $(this).attr("src",imagesrc);
    </script>
    More information:
    Image Renditions
    Image Renditions in SharePoint 2013
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Images are always placed -2pt below base line - how to change?

    Hi all,
    for small icons that should appear in the text, we use image elements within the paragraph. When I select the placement option at insertion point, then the image is always placed -2pt "above" the base line (thus, actually below the line). If I try to change this then it is reset when I save the topic.
    Can I modify the read/write rules to allow manual chnages, or set this globally to 0pt? We use FrameMaker 9, DITA for this project.
    Robert

    Sorry about the delayed response.
    It would take a script or FDK client to automate the setting while editing within FrameMaker. When working with XML, you can, as Michael noted, use attributes to store the anchored frame properties in XML so that you can round-trip them. If you are willing to use FM's default attribute names and values, you don't even need read/write rules.
    Another approach, if all instances of an element type are to be treated the same way is to specify the necessary settings in read/write rules. In that case, you can edit in FM not caring how the anchored frames look. When you save as XML and open the result, the r/w rules will kick in and you'll get what you want. For example, you might define an element called InlineGraphic and use the r/w rule:
    element "InlineGraphic" {
       is fm graphic element;
       fm property position value is "inline";
       fm property baseline offset value is "0";
    In this case, your DTD would not define attributes for the position or baseline offset properties. Whenever you open an XML document, the InlineGraphic elements will come in At Insertion Point with an offset of 0.0 pt.
               --Lynne

  • Why won't Photoshop revert to earlier history state after image resize when scripted?

    I've written an Applescript to automate watermarking and resizing images for my company. Everything generally works fine — the script saves the initial history state to a variable, resizes the image, adds the appropriate watermark, saves off a jpeg, then reverts to the initial history state for another resize and watermark loop.
    The problem is when I try not to use a watermark and only resize by setting the variable `wmColor` to `"None"` or `"None for all"`. It seems that after resizing and saving off a jpeg, Photoshop doesn't like it when I try to revert to the initial history state. This is super annoying, since clearly a resize should count as a history step, and I don't want to rewrite the script to implement multiple open/close operations on the original file. Does anyone know what might be going on? This is the line that's generating the problem (it's in both the doBig and doSmall methods, and throws an error every time I ask it just to do an image resize and change current history state):
                        set current history state of current document to initialState
    and here's the whole script:
    property type_list : {"JPEG", "TIFF", "PNGf", "8BPS", "BMPf", "GIFf", "PDF ", "PICT"}
    property extension_list : {"jpg", "jpeg", "tif", "tiff", "png", "psd", "bmp", "gif", "jp2", "pdf", "pict", "pct", "sgi", "tga"}
    property typeIDs_list : {"public.jpeg", "public.tiff", "public.png", "com.adobe.photoshop-image", "com.microsoft.bmp", "com.compuserve.gif", "public.jpeg-2000", "com.adobe.pdf", "com.apple.pict", "com.sgi.sgi-image", "com.truevision.tga-image"}
    global myFolder
    global wmYN
    global wmColor
    global nameUse
    global rootName
    global nameCount
    property myFolder : ""
    -- This droplet processes files dropped onto the applet
    on open these_items
      -- FILTER THE DRAGGED-ON ITEMS BY CHECKING THEIR PROPERTIES AGAINST THE LISTS ABOVE
              set wmColor to null
              set nameCount to 0
              set nameUse to null
              if myFolder is not "" then
                        set myFolder to choose folder with prompt "Choose where to put your finished images" default location myFolder -- where you're going to store the jpgs
              else
                        set myFolder to choose folder with prompt "Choose where to put your finished images" default location (path to desktop)
              end if
              repeat with i from 1 to the count of these_items
                        set totalFiles to count of these_items
                        set this_item to item i of these_items
                        set the item_info to info for this_item without size
                        if folder of the item_info is true then
      process_folder(this_item)
                        else
                                  try
                                            set this_extension to the name extension of item_info
                                  on error
                                            set this_extension to ""
                                  end try
                                  try
                                            set this_filetype to the file type of item_info
                                  on error
                                            set this_filetype to ""
                                  end try
                                  try
                                            set this_typeID to the type identifier of item_info
                                  on error
                                            set this_typeID to ""
                                  end try
                                  if (folder of the item_info is false) and (alias of the item_info is false) and ((this_filetype is in the type_list) or (this_extension is in the extension_list) or (this_typeID is in typeIDs_list)) then
      -- THE ITEM IS AN IMAGE FILE AND CAN BE PROCESSED
      process_item(this_item)
                                  end if
                        end if
              end repeat
    end open
    -- this sub-routine processes folders
    on process_folder(this_folder)
              set these_items to list folder this_folder without invisibles
              repeat with i from 1 to the count of these_items
                        set this_item to alias ((this_folder as Unicode text) & (item i of these_items))
                        set the item_info to info for this_item without size
                        if folder of the item_info is true then
      process_folder(this_item)
                        else
                                  try
                                            set this_extension to the name extension of item_info
                                  on error
                                            set this_extension to ""
                                  end try
                                  try
                                            set this_filetype to the file type of item_info
                                  on error
                                            set this_filetype to ""
                                  end try
                                  try
                                            set this_typeID to the type identifier of item_info
                                  on error
                                            set this_typeID to ""
                                  end try
                                  if (folder of the item_info is false) and (alias of the item_info is false) and ((this_filetype is in the type_list) or (this_extension is in the extension_list) or (this_typeID is in typeIDs_list)) then
      -- THE ITEM IS AN IMAGE FILE AND CAN BE PROCESSED
      process_item(this_item)
                                  end if
                        end if
              end repeat
    end process_folder
    -- this sub-routine processes files
    on process_item(this_item)
              set this_image to this_item as text
              tell application id "com.adobe.photoshop"
                        set saveUnits to ruler units of settings
                        set display dialogs to never
      open file this_image
                        if wmColor is not in {"None for all", "White for all", "Black for all"} then
                                  set wmColor to choose from list {"None", "None for all", "Black", "Black for all", "White", "White for all"} with prompt "What color should the watermark be?" default items "White for all" without multiple selections allowed and empty selection allowed
                        end if
                        if wmColor is false then
                                  error number -128
                        end if
                        if nameUse is not "Just increment this for all" then
                                  set nameBox to display dialog "What should I call these things?" default answer ("image") with title "Choose the name stem for your images" buttons {"Cancel", "Just increment this for all", "OK"} default button "Just increment this for all"
                                  set nameUse to button returned of nameBox -- this will determine whether or not to increment stem names
                                  set rootName to text returned of nameBox -- this will be the root part of all of your file names
                                  set currentName to rootName
                        else
                                  set nameCount to nameCount + 1
                                  set currentName to rootName & (nameCount as text)
                        end if
                        set thisDocument to current document
                        set initialState to current history state of thisDocument
                        set ruler units of settings to pixel units
              end tell
      DoSmall(thisDocument, currentName, initialState)
      DoBig(thisDocument, currentName, initialState)
              tell application id "com.adobe.photoshop"
                        close thisDocument without saving
                        set ruler units of settings to saveUnits
              end tell
    end process_item
    to DoSmall(thisDocument, currentName, initialState)
              tell application id "com.adobe.photoshop"
                        set initWidth to width of thisDocument
                        if initWidth < 640 then
      resize image thisDocument width 640 resample method bicubic smoother
                        else if initWidth > 640 then
      resize image thisDocument width 640 resample method bicubic sharper
                        end if
                        set myHeight to height of thisDocument
                        set myWidth to width of thisDocument
                        if wmColor is in {"White", "White for all"} then
                                  set wmFile to (path to resource "water_250_white.png" in bundle path to me) as text
                        else if wmColor is in {"Black", "Black for all"} then
                                  set wmFile to (path to resource "water_250_black.png" in bundle path to me) as text
                        end if
                        if wmColor is not in {"None", "None for all"} then
      open file wmFile
                                  set wmDocument to current document
                                  set wmHeight to height of wmDocument
                                  set wmWidth to width of wmDocument
      duplicate current layer of wmDocument to thisDocument
                                  close wmDocument without saving
      translate current layer of thisDocument delta x (myWidth - wmWidth - 10) delta y (myHeight - wmHeight - 10)
                                  set opacity of current layer of thisDocument to 20
                        end if
                        set myPath to (myFolder as text) & (currentName) & "_640"
                        set myOptions to {class:JPEG save options, embed color profile:false, quality:12}
      save thisDocument as JPEG in file myPath with options myOptions appending lowercase extension
                        set current history state of current document to initialState
              end tell
    end DoSmall
    to DoBig(thisDocument, currentName, initialState)
              tell application id "com.adobe.photoshop"
                        set initWidth to width of thisDocument
                        if initWidth < 1020 then
      resize image thisDocument width 1020 resample method bicubic smoother
                        else if initWidth > 1020 then
      resize image thisDocument width 1020 resample method bicubic sharper
                        end if
                        set myHeight to height of thisDocument
                        set myWidth to width of thisDocument
                        if wmColor is in {"White", "White for all"} then
                                  set wmFile to (path to resource "water_400_white.png" in bundle path to me) as text
                        else if wmColor is in {"Black", "Black for all"} then
                                  set wmFile to (path to resource "water_400_black.png" in bundle path to me) as text
                        end if
                        if wmColor is not in {"None", "None for all"} then
      open file wmFile
                                  set wmDocument to current document
                                  set wmHeight to height of wmDocument
                                  set wmWidth to width of wmDocument
      duplicate current layer of wmDocument to thisDocument
                                  close wmDocument without saving
      translate current layer of thisDocument delta x (myWidth - wmWidth - 16) delta y (myHeight - wmHeight - 16)
                                  set opacity of current layer of thisDocument to 20
                        end if
                        set myPath to (myFolder as text) & (currentName) & "_1020"
                        set myOptions to {class:JPEG save options, embed color profile:false, quality:12}
      save thisDocument as JPEG in file myPath with options myOptions appending lowercase extension
                        set current history state of current document to initialState
              end tell
    end DoBig

    As many others here I use JavaScript so I can’t really help you with your problem.
    But I’d like to point to »the lazy person’s out« – with many operations that result in creating a new file on disk I simply duplicate the image (and flatten in the same step) to minimize any chance of damaging the original file if the Script should not perform as expected.

  • Default image in CSS disjointed rollover

    I have 5 pics that come up as CSS disjointed rollovers with 5 links. How can I make the first one the default, that shows up when the page loads, before the user hovers over one of the links? I tried placing the first pic on the page, just like you would any graphic, but I can't get the rollover pics to line up with it in Safari AND FF. When I get it aligned in one browser, it's slightly off in the other one. I've tried positioning by pixels, percentage and ems with no luck. Shouldn't there be something in the CSS that makes one of the pics the default? Thanks.
    /** rollover change color **/
    #rollover {
        padding: 0 1px 1px;
        margin-left: 0;
        font: bold 10px Verdana, sans-serif;
        text-align: center;
    #rollover li {
        list-style: none;
        margin: 0;
        display: inline;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        text-align: left;
    #rollover li a {
        text-decoration: none;
        background-color: #FFFFFF;
    #rollover li a:link {
        color: #448;
        text-align: center;
    #rollover li a:visited {
        color: #667;
        text-align: center;
    #rollover li a:hover, #rollover li a:active, #rollover li a:focus{
        color: #FFF;
        visibility: visible;
        text-align: center;
        background-color: #000000;
    /**disjointed image rules**/
    #rollover li a span {
        visibility:hidden;
        display:block;
        position:absolute;
        left:27.8%; /**adjust image position in % or px as needed**/
        top:0%; /**adjust image position in % or px as needed**/
        text-align: center;/*color:#666;*/
    #rollover li a:hover span, #rollover li a:active span, #rollover li a:focus span {
    visibility:visible;

    Sorry to be such a pain, but a new problem presents. The nav boxes are cut off at the top in IE 7, or, rather, IE 8 in compatibility mode.
    http://www.paulcbuff.com/pcb2009/rollemover.html
    No significant errors when I validated the CSS and HTML, except for  _height:200px, which I tried commenting out to no avail.
    Thanks!
    #Relative {position: relative; margin:0 auto 14px auto; min-height:200px; _height:200px /**for IE6 Only**/ }
    /**menu**/
    #navlist {
        padding: 0 1px 1px;
        margin-left:0;
        font-family: Verdana, sans-serif;
        font-size: 10px;
        font-weight: bold;
        color: #FFFFFF;
    #navlist li {
    list-style: none;
    margin: 0;
    display: inline;}
    #navlist li a {
        padding: 0.5em 0.5em 0.5em 0.75em;
        text-decoration: none;
        background-color: #ffcc33;
        border-width: 1px;
        border-style: solid;
        border-top-color: #000000;
        border-left-color: #AAB;
        color: #FFFFFF;
    #navlist li a:link {
        color: #448;
        border: 1px solid #000000;
    #navlist li a:visited {
        color: #ffcc33;
    #navlist li a:hover, #navlist li a:active, #navlist li a:focus{
        /**border-color: #FF9900;**/
        color: #FFF;
        visibility: visible;
        background-color: #6633cc;
        border: 1px solid #000000;
    /**Default Image container**/
    #defaultImage {
    visibility:visible;
    display:block;
    position:absolute;
    left:110px; /**adjust position in pixels or % **/
    top:50px; /**adjust position in pixel or %**/
    /**disjointed image rules**/
    #navlist li a span {
    visibility:hidden;
    display:block;
    position:absolute;
    left:110px; /**position same as default image layer above**/
    top:50px; /**position same as default image layer above**/
    /*color:#666;*/ }
    #navlist li a:hover span, #navlist li a:active span, #navlist li a:focus span {
    visibility:visible;}
    a img {border:none}
    /**end menu**/

  • PSE5 Process Multiple Files Image Resize

    I want to batch convert some TIFF files to JPG and make them all 300 ppi. I tried suing the Multiple file processor in the Editor just entering 300 in resolution and leaving width & height blank. I hoped it would perform the same process as going to image resize and and changing resolution with resample and constrain proportions turned off. Instead it has changed the ppi from 72 to 300, but kept the size the same i.e. has added lots of extra pixels making the file enormous.
    The only way I can force it to shrink the image is to enter say 30cm as the width. The problem with this is twofold a) I have to trun all my photos so they are landscape b) if I have cropped a photo such that it doesn't have enough pixels to stretch then again it is getting resampled.
    Is this a limitation of PSE5 that wouldn't be there in CS3 or am I doing something wrong? I only want to print tham out 15x10 but read I should resize everything to 300 ppi. To be honest I never did this before I had PSE and they seemed to come out OK from a Canon that saves the files as default 72 ppi but large dimensions. Maybe someone couldexplain in laymans terms why the photos need to be resized to 300 ppi anyway? Thank you

    Well, you see, Process Multiple files is doing just what you asked it to do: it's
    resizing the photos. But you don't really want to resize the photos, just change the ppi setting. Is there a particular reason you want them to be 300ppi? PPI is a setting that only matters for printing or if you are sending a photo somewhere that requires that marker to be set to 300. Your camera doesn't know anything about ppi, only absolute pixel dimensions (eg 2480 x 1795 or whatever).
    When you go to print, however, your printer may prefer to have a higher pixel density, since it can play your pixels like an accordian: squash them closer together or spread them out thinner, depending on that ppi marker. The pixel density determines the inch/cm size of your print (at 72 ppi you'll get a print that's hugely bigger but less detailed; at 300 ppi a crisper smaller print.)
    I'm wondering why you would want to batch convert a whole big bunch of images at once, though. It would help if you would explain just what you want to do with the photos that requires the 300 ppi.

  • Image resizing in Indesign - should I or shouldn't I?

    I would like to know what the best practice is when Placing an image into an Indesign document and then resizing it (obviously to a smaller size).
    Would the results from a graphic/image resized in Indesign be much worse than an image resized in Photoshop before? or would they be the same? Might the results be fine if it is for screen and not if the output is for print?
    Thank you all in advance.

    If it is drastic size reduction I always use photoshop. Because you have more control. The ability to do sharpening after if needed. If is only 10% reduction I don't bother. Or if its going on newsprint. You need to use common sense as to know when to do something. If the finished product is a coffee table book I would make everything 100% in Photoshop before placing the file.

  • Set default image for no image found

    Hi Folks,
    I have a folder full of images and when en images is called form that directory and not found I would like the default image to show up.
    I have added an HTAccess file with this content:
    ErrorDocument 404 default.jpg
    And added a default.jpg image in the directory.
    I have used this approach successfully on a few other sites but in this instance when I open a page with a missing photo I still get the standard ugly missing image icon. However, if I open that image in a new tab I get a page with the text 'default.jpg' on it.
    NOt sure why that happens but I guess it's something about it being a different hosting set up. Perhaps there is another way to do this that will work on this set up.
    Anyone got an idea how I can fix it?
    Cheers
    Dave

    If I remember well, in the Report Attributes, you should select the linked column. At the link image, there are 2 edit images(the default is the big one), but there is one more image which is smaller.
    Hope it helps.

  • Ways to implement image resizing using plug-ins?

    Hi Photoshop developers,
    I'm a developer with a few Photoshop filter and selection plug-ins under my belt, and I have a good understanding of the SDK and tools and suites it provides. My next project is an algorithm for enlarging/resampling images to different pixel dimensions. I'm wondering if anyone has any suggestions for or experience with the best combination of plug-in types to implement this.
    Clearly, I can't just write it as a filter plug-in, since there is no way to change the image dimensions from within a filter.
    I'd like the resized image to remain within Photoshop (as a new window or in the original one), so an export plug-in on its own is not sufficient.
    Import plug-ins seem promising, since they allow the creation of a new document of the required size. However, as best I can tell from the Photoshop 6.0 SDK documentation, import plug-ins cannot access the image data from other open documents (or even the clipboard), nor do they provide any support for channel ports and the Channel Port suite.
    My best idea at this stage is to create an export plug-in to provide the user interface and calculate the resized image, and then an import plug-in to import the resized image back into a new window. (I'm supposing a further automation plug-in would then be written to perform this export/import sequence.) The difficulty I see with this approach is how to communicate the resized image data between the two plug-ins. Since the resized image will potentially be very large, the ideal solution would be to store it in channels managed by the Channel Ports suite. However, I cannot see how the channel ports created in the export plug-in could be communicated to and used by an import plug-in. The alternative would be for the export plug-in to save the resized image to a temporary file on disk, however this seems unnecessary.
    So, my questions, specifically, are:
    a) Is it possible to create new channels using the Channel Ports suite (sPSChannelPorts->New()) in one plug-in, and have those channels persist to be used in another plug-in?
    b) If so, how would the channel ports be communicated between the plug-ins?
    c) Alternately, are there any alternative architectures available for implementing an image-resizing algorithm using the plug-in types that are available for Photoshop developers.
    Any responses would be greatly appreciated; I know this is a low-traffic forum...
    Thanks,
    Matthew.

    I would make an automation plug-in and a filter plug-in.<br /><br />1) Run the automation which runs your filter to gather current image <br />information<br />2) Create a temp file of the new document<br />3) Make a new document<br />4) Call the filter again to reload the temp data on disk<br /><br /><[email protected]> wrote in message <br />news:[email protected]...<br />> Hi Photoshop developers,<br />><br />> I'm a developer with a few Photoshop filter and selection plug-ins under <br />> my belt, and I have a good understanding of the SDK and tools and suites <br />> it provides. My next project is an algorithm for enlarging/resampling <br />> images to different pixel dimensions. I'm wondering if anyone has any <br />> suggestions for or experience with the best combination of plug-in types <br />> to implement this.<br />><br />> Clearly, I can't just write it as a filter plug-in, since there is no way <br />> to change the image dimensions from within a filter.<br />><br />> I'd like the resized image to remain within Photoshop (as a new window or <br />> in the original one), so an export plug-in on its own is not sufficient.<br />><br />> Import plug-ins seem promising, since they allow the creation of a new <br />> document of the required size. However, as best I can tell from the <br />> Photoshop 6.0 SDK documentation, import plug-ins cannot access the image <br />> data from other open documents (or even the clipboard), nor do they <br />> provide any support for channel ports and the Channel Port suite.<br />><br />> My best idea at this stage is to create an export plug-in to provide the <br />> user interface and calculate the resized image, and then an import plug-in <br />> to import the resized image back into a new window. (I'm supposing a <br />> further automation plug-in would then be written to perform this <br />> export/import sequence.) The difficulty I see with this approach is how to <br />> communicate the resized image data between the two plug-ins. Since the <br />> resized image will potentially be very large, the ideal solution would be <br />> to store it in channels managed by the Channel Ports suite. However, I <br />> cannot see how the channel ports created in the export plug-in could be <br />> communicated to and used by an import plug-in. The alternative would be <br />> for the export plug-in to save the resized image to a temporary file on <br />> disk, however this seems unnecessary.<br />><br />> So, my questions, specifically, are:<br />><br />> a) Is it possible to create new channels using the Channel Ports suite <br />> (sPSChannelPorts->New()) in one plug-in, and have those channels persist <br />> to be used in another plug-in?<br />><br />> b) If so, how would the channel ports be communicated between the <br />> plug-ins?<br />><br />> c) Alternately, are there any alternative architectures available for <br />> implementing an image-resizing algorithm using the plug-in types that are <br />> available for Photoshop developers.<br />><br />> Any responses would be greatly appreciated; I know this is a low-traffic <br />> forum...<br />><br />> Thanks,<br />> Matthew.

  • How do you change the default image at the login screen??

    I want to change my default image that is at the login screen. The image is also in the desktop display(so i can set it as my background), but those are the only two places I can find it. Is there a way I can delete the image from my computer?

    Well quick and dirty is to replace the applelogo.tif file with a .tif of your own.
    Read this site for cool ways to hack your login window:
    http://tinyurl.com/reanz
    Richard

  • Images as Buttons and Image Resizing in mxml

    Sorry for all the questions but I've run into a problem when trying to create buttons that are just an image in mxml. When I first tried this I couldn't find a way to get the border around the button to dissapear so it ended up looking like my image had an extra black border around it. Then someone here suggested I just set the buttonMode property of an mx:Image to true which ended up working fine to a point. The problem I'm having is that even if I make the tabEnabled property of the image (that I'm using as a button) true, I can't tab over to it. Is there a way to either get rid of the black borders of a button or to make it so I can tab over to an image I'm using as a button?
    My second question has to do with image resizing. Lets say I have an image of a horizontal line that I want to put at the top of the mxml page, and I want it to extend the full length of the page, even after the user has resized the browser. Is there a way to do that? I've tried putting the width as 100% or giving the image a "left" and "right" value so that presumably it would be stretched to fit within those but nothing has worked so far. Is there no way to do this or am I doing something wrong?
    Thank you for any help you guys can give.

    Of course, sorry about that. So the following is a barebones example of how I currently implement buttons and images as buttons:
    <mx:Button id="facebookButton" icon="@Embed(source='image.png')" width="30"/>
    <mx:Image buttonMode="true" id="button" source="anotherimage.png" enabled="true" click="{foo()}"/>
    And within the image I've tried making the tabFocusEnabled property true but to no avail.
    The following is how I've tried stretching out an image across the whole page:
    <mx:Image source="yetanotherimage.png" width="100%" scaleContent="true"/>
    <mx:Image source="yetanotherimage.png" left="10" right="10" scaleContent="true"/>
    Is this more helpful?

  • Default image in master detail

    I'm trying to create a thumbnail master detail page. Mostly good so far, works ok. What I'd like to do is set the default image when the page loads to either the last image, or to one I choose. This is a photo of the month page, so I'd like the default to be the current month, which is the last one in the list. Any way to do this? Thanks.

    BTW, the data is in an HTML table, but I'd like the same behavior (defaulting to last or at least a specified master region) in xml if that's easier. I searched the forums, but the only link I found was either wrong or gone.

  • Dynamic image showing default image instead of requested image

    I'm using CR4E v2.0 to incorporate reports into my application which is built into an ear file and deployed with Jboss 4.2.2 at the moment. I have an image in my report that I am trying to set dynamically from a URL in a database,  but when the report is run only the default image shows up. The URL in the database for the logo is http://localhost:8087/module_Reporting/Logo.gif and I verified that exact string is being returned to the report, but the image is not changing from the default placeholder.
    The formula for the graphic location is:
    HdrPictureLogoClient : Graphic Location
    // Return values: Any string value.
    If Not IsNull({REPORT_PARAMETER_FACT.LOGO_URL_PATH})
    Then {REPORT_PARAMETER_FACT.LOGO_URL_PATH}
    Else "";
    I'm using a com.crystaldecisions.report.web.viewer.CrystalReportViewer in my jsp page to display the report and this is the part of the page that handles the viewer
    CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
    // If the report is not saved in the session you just keep getting prompted for parameters
    Object reportSource = session.getAttribute("ReportSource");
    if (reportSource == null)
         reportSource = clientDoc.getReportSource();
         session.setAttribute("ReportSource", reportSource);
    //     set the reportsource property of the viewer
    crystalReportPageViewer.setReportSource(reportSource);
    // setting the optoins in the Crystal Report toolbar
    crystalReportPageViewer.setDisplayGroupTree(false);
    crystalReportPageViewer.setHasToggleGroupTreeButton(false);
    crystalReportPageViewer.setHasSearchButton(false);
    crystalReportPageViewer.setHasRefreshButton(false); 
    crystalReportPageViewer.processHttpRequest(request, response, application, null);
    The viewer is contained in an iFrame and is disposed of in the containing jsp.
    Am I missing something? Any help would be greatly appreciated!

    Thank you very much for your reply, but I am not trying to add an image into the report at run time, I am trying to change the source of the image. There is an image in the report as a place holder (called HdrPictureLogoClient) and the code that handles the source of the image is in the .rpt file also as this formula:
    HdrPictureLogoClient : Graphic Location
    // Return values: Any string value.
    If Not IsNull({REPORT_PARAMETER_FACT.LOGO_URL_PATH})
    Then {REPORT_PARAMETER_FACT.LOGO_URL_PATH}
    Else "";
    {/code}
    I have discovered that it works just fine with a file path name like C:\logo.png in the database but it does not work with my web URL.
    I just find it extra interesting because when the report was originally created in a Crystal Reports Project in myEclipse and deployed as an expanded war directly to jboss running in myEclipse it worked fine, but now that it is being incorporated into an EJB project which is built into an ear file that is deployed in a jboss service running outside of myEclipse it no longer works.

Maybe you are looking for

  • Entry using connection AFW failed

    Hi, I am trying to read an external file and push it in to R/3 by calling RFC using XI. I configured everything. File and RFC adapters are working fine. After processing as per settings it is deleting the file  but it is not pushing in to R/3. In the

  • Why can't I download latest version of premiere through the creative cloud app?

    I just purchased a new computer and synced my creative cloud account.  It didn't download the latest version of premiere and says that I am up to date (which I am not.)  Anyone know why this is? and how to access the update for version 6.0.2?

  • Inconsistent Airport Utility Indicators

    I have two Airport Extremes on my home network, one being bridged off of the other (i.e., Connection Sharing: Off (Bridge Mode).  From time totime, I find that one of the units is showing "Yellow" in the Airport Utilitystatus, noting "Airport Utility

  • Implementing export/import java utility

    Hi all, I am not sure I hit the correct forum but I'll give it a try. I need to write java utility that access table in one db, select some rows and copy them to a similar table in secon db - as either new rows or update to existing rows (if such row

  • 90 day lock out on iTunes with a mac that has shared access

    HI, This is my first iMac and I've never experienced this problem on my older pc's before. I have set up my itunes and signed in to associate my account with the mac. My partner died last year and I still have to use their account to access some of o