Adding a new image In Masthead

HI all,
i want to add a new image in the masthead par file. note its like logo in the right side of standard masthead i want to add another image in extreme left. i changed the par file and i am getting the image format but not image. i think the image path is wrong.
how to call a image
i placed the image in Dist\images folder and in code url="/dist/images/img.gif"  and tried for /images/img.gif and /img.gif but no use
Need Your help regarding this 
thanks & Regards
Mahesh

Hi,
if you have the IPortalComponentRequest class object, get the image located in "Dist\images\" using:
String imagePath = request().getWebResourcePath() + "/images/img.gif";
Hope this helps,
Romano

Similar Messages

  • Adding customer specific image on Masthead

    Hi ,
    Could someone explain me the way i can add image on masthead.
    Thanks

    hi ,
    You can modify PAR file of masthead and you can change any image or delet image or replace image.
    there is one JSP code for masthead in PAR file and we have to modify that code.
    jayesh talreja

  • DW can't find new image?!

    Hi all,
    I'm making changes in a website using DW, which include
    adding some new images. I edited the image using photoshop and move
    them into the file where all the images for the website are.
    Strange thing is the new images appear in the assets (also other
    places while I was trying to insert them into the page), but
    there's no preview and when I click insert, the image appears
    broken in DW.
    I tried anyway to upload the page, together with all
    dependent files. The new image appear broken online too.
    Weird thing is this seems only affect new images, the old
    ones on the page are unaffected?!
    Can anybody help me?
    Thanks a million!

    > Is it better to insert an image from outside the site
    folder, then DW ask
    > me
    > to save it inside the site folder, or move all the
    necessary images under
    > the
    > site folder and link it in DW from there (as i've always
    done)?
    Makes no difference. If you have defined a default images
    folder, DW will
    copy it there without prompting.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "eidolonx" <[email protected]> wrote in
    message
    news:gp417t$o4v$[email protected]..
    > After hours of trying, I finally 'solved' the problem by
    coverting the
    > .jpg
    > files into .png. I still don't understand why the old
    one (jpg) are fine,
    > but
    > not the new ones.
    >
    > Is it better to insert an image from outside the site
    folder, then DW ask
    > me
    > to save it inside the site folder, or move all the
    necessary images under
    > the
    > site folder and link it in DW from there (as i've always
    done)?
    >
    > Thanks everyone who replied me. :)
    >

  • Photo gallery able to reorganise into subcategories + adding new images via in-browser editing

    Hi,
    I'm looking for a photo gallery which has the ability to reorganise the images displayed based on subcategories or tags. For example I want to add a gallery which contains photos of a clients projects. The client wants site visitors to be able to shuffle the gallery to view only for example "stone walls" or "timber decking". A tagging system would be handy rather than having to load the photos into each subcategory.
    The other consideration is that my client needs to be able to add new images with tags using the in-browser via Business Catalyst. So far I have only succeeded in replacing existing images rather than adding new images.
    Is there such a widget for Muse or are there anyother widgets for wordp-ress or other which could be embedded to tdo the job.
    Thanks in advance,
    Jimmy

    Hi Jimmy
    If I am not wrong, basically you want to provide users an option to select category of images which they want to show up on page.
    From Muse we cannot tag or categorize them , also photogallery module in BC does not provides this option, but there is a workaround with web apps.
    You can create a web app and then web app items as images and then categorize them. On page insert the web app with categories drop down, so when users will select the category those web app items would be displayed on page. Additionally you can add custom fields in web app to search using keyword.
    With editing , clients can login to BC admin and then using photogallery module or web app module ( if used ) to edit the images, add new ones. IBE cannot be used to add new ones but to replace existing ones.
    Helpful Links :
    http://helpx.adobe.com/business-catalyst/partner/web-apps.html
    http://helpx.adobe.com/business-catalyst/partner/building-web-apps-part-1.html
    Thanks,
    Sanjit

  • Slideshow image resizing when adding new images

    I am creating a series of slideshows on multiple pages. I created one slide show using the "basic" slideshow and resized it to the dimensions and settings I wanted. I have many pictures all of different proportion, therefore, I selected the "fill frame proportionally" so they would all fit the dimension I set. I wanted to use this first slideshow as a template for all of the rest. I added images to this first slideshow with no problems. All of my different sized images scaled or cropped to fit within the dimension I set. The problem comes in when I do two things: 1) When I add other images of different dimensions to this same slideshow gallery, they come smaller that the intended dimensions I set previous. I check the setting and it is still on "fill frame proportionally" similar to the first batch of pictures. 2) The second issue is when copy this slideshow as a template to other pages. When I try to replace or add to the slideshow gallery, the images come in cropped or smaller rather than filling the frame. Again, the settings are still the same from my very first slideshow that worked just as i intended.
    I could resize all the images to all the same dimensions using another program like photoshop, but that is another step that is very tedious and it would seem that it should be something built into Muse.
    Is there a way around this?. Am I doing something wrong? Or is this just one of those glitches that happens with Muse? I appreciate any help that I can get.
    Thanks!

    Hi, I got it to work like this:
    Using background colours in Photoshop so that all sizes are the same in pixels. Then manually adjusting thumbnails by double-clicking on them so that a red square appears.
    Cheers,
    Elsemiek
    Op 26 dec. 2014, om 00:50 heeft MediaGraphics <[email protected]> het volgende geschreven:
    slideshow image resizing when adding new images
    created by MediaGraphics <https://forums.adobe.com/people/MediaGraphics> in Adobe Muse Bugs - View the full discussion <https://forums.adobe.com/message/7043933#7043933>
    Hi there Elsemiekagain,
    I had to fiddle around with my slide show to get it to work. That is, it worked at first, then went funky, and I had to fiddle. So much fiddling that I can't possibly know what actually made it start to work again.
    And to some degree, this is the way that I find Muse to be in general. That it requires finessing to get it to work as expected. This adds a good deal of time to every development project, though I am getting better at this with practice and experience.
    Most of it is not even things that could be easily put in words as instructions, as many are nanced. But in fairness, this version of Muse is a complete code re-write this year. So we do need to cut Adobe some slack, and give the team time to iron things out.
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7043933#7043933 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7043933#7043933
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Muse Bugs by email <mailto:[email protected]ftware.com> or at Adobe Community <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=14&container=47 59>
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624 <https://forums.adobe.com/thread/1516624>.

  • Adding New Image and Text to an Existing Page Created with Tables

    Working in DW 5.5
    I'm trying to add a new image/link and small amount of text to an existing web page that was created with tables and centered.  I am using AP Divs. One for the image and one for the text.  Everything functions fine, but I can't get the new items to anchor and re-center with the rest of the page.  I am not able to overide the "Absolute Positioning".  I've tried different solutions from various tutorials but I can't seem to make them work with tables.
    The added items are a Facebook button and text.
    Go to:  http://www.sugarhollowfarms.net/index.html  to see the problem.
    Please help. I'm not that experienced.

    Make a back-up of the page first before you implement the changes below!
    Take the below bit of code from <div id="FBlogo">...... to.......... </div> <!-- end FBlogo -->
    and insert it directly after the opening div tag FWTableContainer and before your opening table tag (see position below):
    <div id="FWTableContainer209091602">
    <div id="FBlogo"><a href="#"><img src="images/fb.png" alt="fb" width="62" height="62" onClick="MM_openBrWindow('http://www.facebook.com/SugarHollowFarms','facebook','toolbar=yes,location=yes,status=yes, menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=800')"></a>
    <p class="bodytext"><strong>Join us<br>
    on Facebook</strong></p></div><!-- end FBlogo -->
    <table border="0" cellpadding="0" cellspacing="0" width="800">
    Then add - position: relative; - to the FWTableContainer css (as shown below):
    #FWTableContainer209091602 {
        /* The master div to make sure that our popup menus get aligned correctly.  Be careful when playing with this one. */
        position:relative;
        margin:auto;
        width:800px;
        height:600px;
        text-align:left;
        top: 20px;
        background-image: url(images/homepage_new3.jpg);
        border: medium solid #336600;
        position: relative;
    Amend the css for FBlogo to as below:
    #FBlogo {
        position:absolute;
        left:700px;
        top:380px;
        width:91px;
        z-index:1;
        text-align: center;
    Amend the css for bodytext as below:
    .bodytext {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11px;
        line-height: 13px;
        margin: 0;
        padding: 0;

  • Adding (new) images to an ongoing Book Project in LR4

    I´m currently working on a book project in Lightroom 4. I´m trying to add pictures (new pictures), but that does not seem to work on an ongoing book project.
    Any tips on this?

    To add images to a saved book, I found that the easiest way is to do as mentioned above. While in Library mode, drag the images you want to add to the saved book (it will be one of the collections in the left panel).
    You will see that the image count increments for that collection.  Click on the collection to see the set of images, you can confirm that the new image(s) were added. Part of my confusion was that the new images were mixed rather than appearing at the end or being flagged in some way.
    When you click on the saved book collection, you will also see a small arrow appear in th collection's name. You can click that to go straight to the book.
    The new images will appear only in the filmstrip at the bottom of the screen, if you haven't opened the filmstrip, you won't see them. From the strip you can drag and drop your added images to available spots in your book layout.   I'm not a fan of the filmstrip and definitely not a fan that this is the only way you can do some things in LR.
    Hope this helps.  Dennis

  • How can I add new images to a saved book in Lightroom 4? Help please!

    As the title suggests, I have created a saved book in LR4. I saved it not because I had finished but because I wanted to protect my work to date. Now I cannot add new images, although I can work with (move and remove) the exisintg images in the book.
    I'm new to LR and can't help but feel that I'm missing something obvious. Any advice would be greatly appreciated!
    Thanks
    Graham

    Graham, switch to Grid view and drag the new photos to the book collection, which you'll find in the Collections panel.  Then flip back to the Book module and you'll find the photos sat there in the Filmstrip waiting to be added to the book design.

  • Can't add new image field in SRM MDM catalog

    Dear Experts
    I have added a new lookup[image] field in Catalog Item table.
    The problem is I cant find it in my
    MDM_SRM_UI_App>Customize Display tab>SRM-MDM Repository fields list
    Can't we add custom fields to repository?
    I also read this SAP Note 1028343 (Changes in repository not reflected in Catalog UI)
    where it is said to restart the mdm connector for the changes to take place.
    However the note is quite old. Is it still applicable?
    Please share your ideas.
    Thank you.
    Regards
    SwarnaDeepika

    Hi SwarnaDeepika
    There is already Images and PDF lookup available for each record in Catalog items table. I am not sure how we can create a new images lookup
    The below links explain the transport configuration process, this may help you identify custom fields in SRM-MDM Repository Fields list
    https://wiki.sdn.sap.com/wiki/display/SAPMDM/OpenCatalogInterfaceinSRMMDMCatalog+2.0
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7246
    Regards
    Goutham Kanithi

  • In browser editing: Can my client add new images with hyper-links to their websites without having to replace images already there?

    My client would like to be able to add new images to their site themselves and use them as hyper-links to external sites without having to replace an old image with the new one (or blank place holding images - far from ideal). Is there ANY way that this is possible? They do not wish to update and add new images/links regularly and it is certanly not intended to be used as a blog or way of being able to constantly keep content new and fresh otherwise I would set them up with a blog account and add that to the site. It is merely a way of adding links to other local businesses every once in a while.
    Please see the page they wish to update... Friends. (Please excuse the layout... the customer will not be able to resize or edit the images themselves and wishes to add them as-is!)
    Thanks in advance for any help. If anybody knows how I can ask an Adobe official mod, that would be great... that, or make a request for a future addition in an update?
    Warm regards,
    Ben Gathercole

    Hi Andria,
    Changing links is currently not possible with in-browser editing.
    Please post this as a feature request in the following feedback form :
    http://feedback.inbrowserediting.com/?url=
    Regards,
    Akshay

  • Setting azure portal icon for new images

    According to the Azure Service Management REST API, one should be able to set the icon to be displayed in the portal using the IconUri and SmallIconUri tags as described here.
    http://msdn.microsoft.com/en-us/library/azure/jj157198.aspx
    I sent this command with these values set to the URLs for publicly available png icon files and created a new image.  The image was created successfully and no errors were returned, however the icons displayed are still the default windows icons.
    Is this feature disabled somehow or is there some other specification that needs to be set or addressed?
    I could continue to try endless possibilities (like different sized icons or URL locations) but it seems like this should have worked according to the API specification since no other restrictions were stated.
    Could someone please tell me how to get this to work?
    Bruce

    Hi
    Sorry for mis-understand your question:
    I think this IconURI feature disabled.
    Because in latest Azure Management Class libraries, this class libraries is based on latest Azure REST API.
    You can't find IconUri property.
    MSDN article always update slowly.
    namespace Microsoft.WindowsAzure.Management.Compute.Models
    // Summary:
    // The List OS Images operation response.
    public class VirtualMachineOSImageListResponse : OperationResponse, IEnumerable<VirtualMachineOSImageListResponse.VirtualMachineOSImage>, IEnumerable
    // Summary:
    // Initializes a new instance of the VirtualMachineOSImageListResponse class.
    public VirtualMachineOSImageListResponse();
    // Summary:
    // Optional. The virtual machine images associated with your subscription.
    public IList<VirtualMachineOSImageListResponse.VirtualMachineOSImage> Images { get; set; }
    // Summary:
    // Gets the sequence of Images.
    public IEnumerator<VirtualMachineOSImageListResponse.VirtualMachineOSImage> GetEnumerator();
    // Summary:
    // A virtual machine image associated with your subscription.
    public class VirtualMachineOSImage
    // Summary:
    // Initializes a new instance of the VirtualMachineOSImage class.
    public VirtualMachineOSImage();
    // Summary:
    // Optional. The affinity in which the media is located. The AffinityGroup value
    // is derived from storage account that contains the blob in which the media
    // is located. If the storage account does not belong to an affinity group the
    // value is NULL and the element is not displayed in the response. This value
    // is NULL for platform images.
    public string AffinityGroup { get; set; }
    // Summary:
    // Optional. The repository classification of the image. All user images have
    // the category User.
    public string Category { get; set; }
    // Summary:
    // Optional. Specifies the description of the image.
    public string Description { get; set; }
    // Summary:
    // Optional. Specifies the End User License Agreement that is associated with
    // the image. The value for this element is a string, but it is recommended
    // that the value be a URL that points to a EULA.
    public string Eula { get; set; }
    // Summary:
    // Optional. Specifies a value that can be used to group images.
    public string ImageFamily { get; set; }
    // Summary:
    // Optional. Indicates whether the image contains software or associated services
    // that will incur charges above the core price for the virtual machine. For
    // additional details, see the PricingDetailLink element.
    public bool? IsPremium { get; set; }
    // Summary:
    // Optional. An identifier for the image.
    public string Label { get; set; }
    // Summary:
    // Optional. Specifies the language of the image. The Language element is only
    // available using version 2013-03-01 or higher.
    public string Language { get; set; }
    // Summary:
    // Optional. The geo-location in which this media is located. The Location value
    // is derived from storage account that contains the blob in which the media
    // is located. If the storage account belongs to an affinity group the value
    // is NULL. If the version is set to 2012-08-01 or later, the locations are
    // returned for platform images; otherwise, this value is NULL for platform
    // images.
    public string Location { get; set; }
    // Summary:
    // Optional. The size, in GB, of the image.
    public double LogicalSizeInGB { get; set; }
    // Summary:
    // Optional. The location of the blob in Azure storage. The blob location belongs
    // to a storage account in the subscription specified by the SubscriptionId
    // value in the operation call. Example: http://example.blob.core.windows.net/disks/myimage.vhd
    public Uri MediaLinkUri { get; set; }
    // Summary:
    // Optional. The name of the operating system image. This is the name that is
    // used when creating one or more virtual machines using the image.
    public string Name { get; set; }
    // Summary:
    // Optional. The operating system type of the OS image. Possible values are:
    // Linux, Windows.
    public string OperatingSystemType { get; set; }
    // Summary:
    // Optional. Specifies a URL for an image with IsPremium set to true, which
    // contains the pricing details for a virtual machine that is created from the
    // image. The PricingDetailLink element is only available using version 2012-12-01
    // or higher.
    public Uri PricingDetailUri { get; set; }
    // Summary:
    // Optional. Specifies the URI that points to a document that contains the privacy
    // policy related to the image.
    public Uri PrivacyUri { get; set; }
    // Summary:
    // Optional. Specifies the date when the image was added to the image repository.
    public DateTime PublishedDate { get; set; }
    // Summary:
    // Optional. The name of the publisher of this OS Image in Azure.
    public string PublisherName { get; set; }
    // Summary:
    // Optional. Specifies the size to use for the virtual machine that is created
    // from the OS image.
    public string RecommendedVMSize { get; set; }
    // Summary:
    // Optional. Specifies the URI to the small icon that is displayed when the
    // image is presented in the Azure Management Portal. The SmallIconUri element
    // is only available using version 2013-03-01 or higher.
    public Uri SmallIconUri { get; set; }
    You can get this class libraries by nuget manage cmd:
    Install-Package Microsoft.WindowsAzure.Management.Libraries -Pre
    My Blog
    Please use Make as Answer if my post solved your problem and use
    Vote As Helpful if a post was useful.

  • This is in the category of "dumb" questions. I am adding a new iMac running

         This is in the category of "dumb" questions. To my home office that includes
    a 2003 power pc G5 running system 10.4.11, I am adding a new iMac running
    Lion. Question - can you share files back and forth (e.g., a Word file, camera images) by simply
    coupling the two computers through USB ports? As opposed, for example, by burning
    a DVD and using that in the other computer.

    Why wouldn't you just use the network to share files, then?  Simply set up a folder on one of your systems (I would recommend the Lion system) for sharing, turn sharing on, and then connect to it from the other system.
    You might find this article useful.

  • Simulate Acquisition does not include new image file created after first call

    For example, I have 5 images in a folder.
    I call Simulate Acquisition.
    It cycles through all 5 images.
    Now If I include 1 more image it does not include this image in the "cycle". I need to reload this step by clicking Main\path\browse button and select any image in the folder and then it cycles through all 6 images.
    Is there anyway to automatically include new images added to the folder after the step has been created?
    Thanks.
    CVI 2010
    LabVIEW 2011 SP1
    Vision Builder AI 2011 SP1

    Here's a sample inspection and VI to illustrate how you could do this. I used an image variable and passed this into the Run LV step so the VI could read the file and update the image variable and then I used the Select Image step to get the image variable into the VBAI script so you can process it. I also added a delete option in the VI so you can delete the previous image when you read the next available image. Make sure to go to the Setup State and initialize the path variable to where your image files will live (to access the Setup State, go to View>>View Complete Inspection and select on the Setup option on the left hand side. I initialized it to c:\Image Folder
    Hope this helps,
    Brad
    Attachments:
    Read Dynamic Image File.zip ‏15 KB

  • Adding/Editing "Old" Images

    A number of DNG images already existed on my HDD prior to installation of LR3. Now I would like to bring them into LR. Only practical way that I have found is, in Library view, to "Move" them from one folder to another folder. Just completed that maneuver for a number of them. I had added five other images, using the "Copy" mode. If I open the catalog called "All Photographs", the five show up as grayed out (already imported).So the following questions suggest themselves:
    Is there a way to import existing images, which does not involve creation of a new folder?
    What could have happened to the catalog created when those were imported?
    Is there a way to re-import an image without duplication?
    tks,
    jwc

    You wrote:
    Is there a way to import existing images, which does not involve creation of a new folder?"
    No, unless you give them different file names. As a general rule, not only for LR, you cannot have 2 files with the same name in one and the same folder.
    If for instance you rename an image file in LR and give it the same name as an already existing one, LR will add the suffix "-1" to the second file.
    "Is there a way to re-import an image without duplication?"
    Why would you want to do that? If it was possible you would replace one image-file with another that has the same name.
    If images are already in the catalog and for some reason you want them twice in LR, you have to do what you did: put them in  adifferent folder.
    WW

  • InDesign CC crashes when i adding a new page

    Hi together!
    When I adding a new page InDesgin CC crashed. I tested it on two PC with Windows 7 and Windows 8. I also created a new document. Always the same problem when adding a new page. Can anyone help me?
    Regards
    Christian

    Having similar problem for second time (different files, different content) in the past two months.
    Using IDCC2014 (10.2.0.69) on Mac OS 10.10.3.
    When inserting a new frame (whether a newly placed image or an empty frame) with text wrap, text reflows (as expected) but InDesign quits (no warning or error, it just quits).
    Inserting a new page and reflowing text also causes ID to quit.
    Finding earliest page in document where the problem begins (similar to above reply; in my two cases that is p. 2 and p. 23) and deleting the text frame on that page causes ID to quit.
    I work on quite a few books with many elements, but the files in question are just straight text with page numbers (not even running heads) and some illustrations to be inserted.
    Saving as IDML does not resolve the issue. Trashing preference does not resolve the issue.
    Dragging pages to a new file does not resolve the issue. But if text is copied-and-pasted into a new file then that new file will work fine.
    The problem is consistent at various work stations across three different locations/networks.
    The only fix has been to delete ALL of the document pages from the affected area on and do the work again, i.e., redraw new pages and apply the chapter opening master pages again. Deleting just the first page where problem is found or the first two pages where problem is found or first four pages where problem is found, etc., causes ID to quit.
    In the case of this second file (I don't have the first file onhand right now), it does not have a long save history; it's not from a legacy template file or something like that. Cracking open the IDML file confirms only four saves beyond the initial creation and all in IDCC2014.
    Anyone else coming across this problem? Any suggestions?

Maybe you are looking for