Image URL in the CSS issue

ALL,
I have a problem in URL of images in CSS. in the CSS, URL for the images. so we have checked-in the content server. we have given the url path in the css. URL would would look */idc/groups/public/documents/cp_images/imagename.gif*. offcource I have checked-in the CSS in the content server. images from content server appering in the site studio designer preview as well as the browser.
But when I have published the this site in to specific location, i am facing problem. I am not getting in any ERRORS/warnings while Site crawling & Site publishing. All images paths in the CSS changing including images in the index.htm pages. But problem is images used in css are not appering on pages. other than that css effect like Color/effects are comming on htm pages. Images are also avaible in the published folder.
My question is is there specific way to specify the images paths in the CSS in the oracle site studio designer?
Any help would be much apriciated...
Regards & thanks,
Nirmala Vijaya Sekhar Varre

I cant say for sure is there any standard way to avoid this behavior but here are some      technique's which can be suitable to solve your problem.
- you can place all your site images into constant relative path to yours CSS. So if your css file is included in page like
<link href="<!--$HttpRelativeWebRoot-->groups/public/documents/web_asset/file.css" type="text/css" rel="stylesheet" />then you can place images into groups/public/documents/web_images/ and refer to them in CSS like that
div {
background:url(../web_images/file.gif);
}- next try you can move all CSS definitions requiring urls into page template leaving main pack in CSS set like that
<link href="<!--$HttpRelativeWebRoot-->groups/public/documents/web_asset/file.css" type="text/css" rel="stylesheet" />
<style type="text/css">
div {
background:url(<!--$HttpRelativeWebRoot-->groups/public/documents/web_images/file.gif);
</style>or make a fragment to hold this dynamic css definition and include it in header in standard way
- next try (for a curvy ones, havent tried myself, but seems working) you can create a idoc script with css commands, but include some commands to make it work like css
i mean this very commands setContentType (page-720), setExpires (page-722), setHttpHeader (page-724) (pages are from idoc reference guide)
i'd recommend using 1st method to avoid complexivity.
Edited by: ivanko on Nov 30, 2009 3:20 PM

Similar Messages

  • Custom Image(URL) not showing up in PDF

    Hi,
    We have created a standard webi-report where a company logo is part of the report header.
    We would like to keep the company logo in a database, so we've creáted a simple webapp to retrieve the image from an Oracle database. When we insert the logo into our report we just use the following link as the Image(URL): http://<Servername>/plsqlapp/docs/Company.JPG
    The logo now shows up as expected in the report as long as we view the report through InfoView. However, when we export the report as a PDF document, the logo will vanish.
    If we use boimg://Company.jpg as the Image(URL) instead, it works OK even when exported to a PDF document.
    We would however prefer to keep our images used in reports in a database.
    BR
    Carsten

    From SAP BO support:
    Upon further investigation of the issue, I found that there was a Technical Escalation raised for Enterprise under the Technical Escalation Id 5000072075. However, the product group rejected the TE stating that it is by Design.
    Mentioned below is the Knowledge based Article which supports the above.
    1324404 - Webintelligence report images are lost after save the report as PDF
    Symptom
    Webintelligence report images are lost after save the report as PDF
    Reproducing the Issue
    ·         Create a new WebI report from Infoview using example efashion universe
    ·         Do any query and add a blank cell to the report
    ·         Select the cell and input "http://tomcat.apache.org/images/tomcat.gif"
    ·         Right click on cell and select Properties>Display>Read cell content as-->image URL
    ·         Save the report as PDF
    ·         Open the PDF file. The image is not included in the PDF
    This issue reproduced on both XIR2 & XI3.0 & XI3.1
    Cause
    Presently, we donu2019t support URL picture from the internet for PDF.
    Only embedded images as background cell can be exported in PDF.
    Resolution
    Only embedded images as background cell can be exported in PDF.

  • Tree Table icons not getting cleared even after applying the CSS

    Hi,
    I need to change the tree table expanded and collapsed and the lead node icon.
    Leaf node icon is getting changed properly but the remaining two are appled improperly.
    In the background the old default image is getting redered and on top of that the newly given image is shown.
    These are .css statemets used for changing the icons.
    af|treeTable::expanded-icon{content:url(/org/calwin/ui/superweb/image/yellowBlueMarker-minus_trans.gif);
    background: none ;}
    af|treeTable::collapsed-icon{content:url(/org/calwin/ui/superweb/image/yellowBlueMarker_trans_plus.gif);
    background: none}
    af|treeTable::leaf-icon{content:url(/org/calwin/ui/superweb/image/blueCircleMarker_trans.gif);
                                 background: none}
    Can someone suggest a solution for this.
    Thanks,
    Praveen.

    Hi Frank,
    I tried including -tr-inhibit:all;
    but it didn't work.
    Here's my skin registration tag in trinidaad-skins.xml
    <skin>
    <id>customSkin.desktop</id>
    <family>CustomSkin</family>
    <extends>fusion.desktop</extends>
    <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
    <style-sheet-name>org/calwin/ui/superweb/skin/css/customFusion.css</style-sheet-name>
    </skin>
    Can there be any other reason for not being applied properly.
    The images mentioned in the css are properly rendered but in the background
    default images are still coming.
    Please suggest..

  • ADA Fixes for Robohelp: Frames & CSS Issues

    Fellow Robohelpers:
    I am attempting to resolve a set of major issues within Robohelp 8
    a) Frames are not properly named in Robohelp 8. Is anyone aware with which files to change (post generation or pre-generation of outputs) to rename Frames so the visually impaired user is clearly informed which frame they are on
    b)When you disable CSS, the navigational elements (frames) become a jumble. They do not function correctly (TOC, Index, Search) since Robohelp is heavily CSS dependent and hides objects (text fields, the various left hand navigational elments) behind CSS.
    Any reccomendations how to resolve these, or insights as to how to make Adobe aware of this! I have been reaching out to them about this for quite some time! I am hoping capturing a workaround for at least a) will make the tool one step closer to ADA compliance (screen reader compliance)
    Thanks
    Yaseen

    Hi,
    I guess your output is WebHelp. First, try to create 'Section 508 compliant' output or pure HTML output. This may solve quite a bit of your problems.
    If you don't want that output, this is what I think:
    a) RH nests a lot of frames, but start looking at the launch file, the csh.htm file, whskinfrmset01.htm and whskin_frmset010.htm. Note that if you change the names of frames, this may cause some scripts to stop functioning...
    b) As for the CSS issues, the only way to make that work is to manually sort out all problems and amend the javascripts.
    If you want to let Adobe know your wish, use the wish form: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    Greet,
    Willam

  • PDF and images' URL

    Hello world,
    Let's say I have in my database a table with a column that contains URL to images. If my want to generate it in PDF, I can use an image boilerplate with "source file format" set to "Image URL" and the "source filename" to &my_column_name. Now, I'm discovering that I can't use this in PDF :-(
    I thought I could use a "source file format" of "Image" only, since the URL is in fact a local path. But then, I've discovered that I can't set the "source filename" to a reference to a column. Argh!!!
    I'm sure I'm not the first going thru this. Can someone tell me what are my option now?
    Thanks a lot!
    Frederic

    Hi Timo,
    The URL should be delivered in the form:
    ;http://myserver:myport/filename.fileextension;fileextension;
    Like:
    ;http://www.sap.com:1080/sampleimage.jpg;jpg;
    Alternatively you can just add the MIME URL directly into the CCM schema of the affected catalog which means in the uploads you only need to define the filename and extension.
    Regards,
    Jason

  • How to put a image url to a text field in flex

    I am facing problem when getting
    a image  url  with the help
    of    FileReference ..  Actuallly  i want to display the  image url to a text field after browsing the image location when I press
    a button............. my code is given below
    private function getImageUrl():void {
                   private var fileRef:FileReference = new FileReference();
                   fileRef.browse();
    Any one can help me to solve the problem

    Hi,
    If you use file reference with an AIR app you have access to the file path, with a browser based app security prevents you from having access to the file path you can access the name of the file only.
    this is an example of grab a list of files(images) using filereferencelist and filereference and displaying the image in a list, its a similar process for just getting a list of file names
    http://gumbo.flashhub.net/pagedrop/  sourcecode enabled (right click in the browser and select view source)
    for filereference  the name property will return the file name only not the path
    for filereferencelist you have the .filelist[X].name to get the file name.
    hope this helps
    David

  • How do I copy an image URL?

    Is there a way? Let's say I want to copy the image URL of the Google logo. I hold on the image for about 2 seconds and the options is gives me are COPY or SAVE IMAGE

    I need to generate a graph of specific EHS. I need to put that image in Smartforms. I need to put loads it in se78. url generates a graphic image of the dynamic, then I download and upload in se78
    TYPES: BEGIN OF TEXT,
      LINE(1000),
    END OF TEXT.
    DATA: RESPONSE TYPE TABLE OF TEXT WITH HEADER LINE,
          RESPONSE_HEADERS TYPE TABLE OF TEXT WITH HEADER LINE.
    P_URL(100) TYPE C LOWER CASE DEFAULT 'URL'.
    CALL FUNCTION 'HTTP_GET'
    EXPORTING
      ABSOLUTE_URI          = P_URL
    TABLES
      RESPONSE_ENTITY_BODY  = RESPONSE
      RESPONSE_HEADERS      = RESPONSE_HEADERS
    EXCEPTIONS
      CONNECT_FAILED        = 1
      TIMEOUT               = 2
      INTERNAL_ERROR        = 3
      TCPIP_ERROR           = 4
      DATA_ERROR            = 5
      SYSTEM_FAILURE        = 6
      COMMUNICATION_FAILURE = 7
      OTHERS                = 8.

  • Background image seems to be applied twice Can someone help with this CSS issue....

    Can someone help with this CSS issue....
    http://66.162.81.144/cms400min/default.aspx
    If you view the main page you will see that our background is
    2 shades of
    orange.. if you look at the line that divides those colors to
    the right and
    left you wil notice that the line is higher
    if you notice that it seems that there is another background
    on top of the
    first one..its the only thing i can think of..
    the only place where the image is being referenced is in this
    CSS style
    html, body
    min-height:100%;
    margin-bottom:1px;
    text-align:center;
    background-repeat:no-repeat;
    background-image:url(images/Background-Color2.jpg);
    background-color:#F74902;
    background-position:center;
    background-attachment:fixed;
    Is there something wrong with the above CSS that could or
    would cause this?
    is it because im applying the image to both the HTML and
    BODY?
    ASP, SQL2005, DW8 VBScript, Visual Studio 2005, Visual Studio
    2008

    You've attached the background to both the html and the body.
    I would do this:
    html, body {
    min-height:100%;
    margin-bottom:1px;
    body{
    text-align:center;
    background-repeat:no-repeat;
    background-image:url(images/Background-Color2.jpg);
    background-color:#F74902;
    background-position:center;
    background-attachment:fixed;
    Having said that the image doesn't look any higher on the
    right than the
    left to me in Firefox. Is it just an optical illusion?
    Daniel wrote:
    > Can someone help with this CSS issue....
    >
    >
    http://66.162.81.144/cms400min/default.aspx
    >
    > If you view the main page you will see that our
    background is 2 shades of
    > orange.. if you look at the line that divides those
    colors to the right and
    > left you wil notice that the line is higher
    >
    > if you notice that it seems that there is another
    background on top of the
    > first one..its the only thing i can think of..
    >
    > the only place where the image is being referenced is in
    this CSS style
    >
    > html, body
    >
    > {
    >
    > min-height:100%;
    >
    > margin-bottom:1px;
    >
    > text-align:center;
    >
    > background-repeat:no-repeat;
    >
    > background-image:url(images/Background-Color2.jpg);
    >
    > background-color:#F74902;
    >
    > background-position:center;
    >
    > background-attachment:fixed;
    >
    >
    > }
    >
    > Is there something wrong with the above CSS that could
    or would cause this?
    > is it because im applying the image to both the HTML and
    BODY?
    >

  • After updating to 12.0, I can't copy and paste images from any website; instead of the image pasting, the URL for the image pastes instead; help, please?

    This applies to copying from any website, and pasting to any and all applications. This is exactly coincidental to install of 12.0. This is a basic, common, and essential function of any web browser. I've read various unacceptable "workarounds" in a couple posts, and am respectfully requesting a truly professional response from Firefox re: what exactly can be done to restore this basic, elementary function. I have been a major Firefox fan up until now, and need it to provide this basic functionality in a dependable way - simple right-click, copy image, and paste the image (not it's URL). Thanks for helping (hopefully).

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • The value should be set for Base image URL and Image file directory

    Hi experts
    Now customer has the following issue.
    XML Publisher concurrent request, using RTF layout template with LOGO, does not generate the LOGO for Excel output.
    but in output formats PDF, it is shown normally.
    from the debug log, we can found the following error message
    ======
    [051812_054716051][][ERROR] Could not create an image. Set html-image-dir and html-image-base-uri correctly.
    ======
    so I tell the customer to do the following action plan.
    1. in XML Publisher Administrator resp > Administration expand the HTML Output section.
    2a. enter a value for 'Base image URI'
    2b. enter a value for 'Image file directory'
    Customer set the value as following and retest this issue,but he found the issue is not solved.
    Base image URI: /u01/r12/ebssnd/apps/apps_st/comn/java/classes/oracle/apps/media/XXSLI_SONY_LIFE_LOGO.gif
    Image file directory: /u01/r12/ebssnd/apps/apps_st/comn/java/classes/oracle/apps/media
    I verified 'Base image URI' and 'Image file directory' settings:
    1) Change output type to HTML.
    2) Click the Preview.
    but the image is correctly displayed on HTML, so I think the issue is caused by user's uncorrectly setting of the base image URL and/or image file directory
    but could anyone give me some advice on which value should be set for Base image URL and Image file directory
    Regards
    shuangfei

    First thing to do is to edit the post and use some tags to format the code as it is unreadable and too much!
    Read the FAQ (https://forums.oracle.com/forums/help.jspa) to find out how to do this.
    Next we need to know the jdev version you are using!
    As the code is generated I would first try to generate it again after the db change.
    Timo

  • How to reference background image url from css?

    Hello,
    I have uploaded some images and css files to the "Shared Components > Images".
    How can I reference my images as "background-image:url('XXX.gif')" for a css element?
    Thanks,
    John

    To make what Tyler said explicit: APEX doesn't perform recursive (or indeed any) substitution on static files, Re: Use uploaded images in uploaded CSS, so images in static files can't be referenced using #APPLICATION_IMAGES# or #WORKSPACE_IMAGES# in style sheets that are themselves static files. The Re: Help with STATIC HTML file reference another STATIC HTML/CSS file..

  • Imported CSS - rewriter doesn't rewrite backgroung-image: url(...)

    Hello,
    Has anyone run into this problem? Documentation says
    url() inside CSS gets rewritten but it doens't work. My imported CSS has something like inside:
    background-image:url('/images/all_sites/fade_brown_bkgrnd.jpg');
    and it stays the same when passed through rewriter.
    Tried various rules to no avail. Anybody ran into this and found a work-around?
    Help is appreciated!
    Thanks,
    Alex N.

    Alex:
    We are having the same problem. Do you get the problem solved? and how?
    SUN PTS just told us, there is no such bug fix as mentioned, there is workaround, however. (that is, inline the background-image portion in CSS to HTML BODY). We really don't like such workaround since it involves a lot of code changed in a large web application.
    I appreciate your help. Thanks.
    Joe

  • The latest issue of Pages for iPad: 1. Very slow. 2. Late in reacting to typing. 3. When I go to a specific file, informs me that some images were deleted and therefore file has been changed. Then when OPEN option used, opens file slowly. Please, help!

    What I have to do to correct the following problems with Pages app. For iPad:
    Hesitates to display results of typing, some times for 5-6 characters;
    Very slow in opening files;
    Before opening of a specific file displays message: DOCUMENT DETAILS. SOME CHANGES WERE MADE TO YOUR DOCUMENT. SOME IMAGES ARE MISSING BECAUSE THEY WERE DELETED FROM YOUR DOCUMENT. We'll, nothing is missing. But it takes forever to open this file. The previous issue of Pages worked very good. But they would not let me to go back to it. Please, help!

    Tmobile did the exact same thing to me. So that is customer service at work in general. Nice try though lol.
    To the OP
    I see you said You paid for shipping, did you Insure it? Claim insurance on it. If you did not, It may not be Verizon or your fault in the sense of the phone not making it to the warehouse. There are people out in the postal world that will steal phones that are not insured. It could have been a Verizon employee, i suppose.
    But, if this was to be a bought in court, if you shipped it with out insurance, sadly your at fault.
    Do you still have the Serial number of your old phone? If so, you should be able to track where your phone is (if it is reported as a defect/damaged) If so, you may be able to use that as proof. If it does not show up as a defect or what ever they determine use as a loss, then you know it did not make it to the warehouse to be checked in. I would suspect Apple or Verizon could tell you what the Serial number came up as.

  • Can anyone tell me how to upload a url to an image onto facebook the way you could with a pc. Recently switched over to Mac and this is one thing I can't seem to figure out. Basically in Windows you could right click on an image, click copy the image url

    I've recently switched over to a Mac and before in Windows on a pc if you wanted to post an image on facebook you would right click the image you found on the post you wanted to share, then click copy url. You'd simply take that url and put it into the facebook post when uploading an image and that's all. Can not seem to find a way to do it now, other than saving the image to the computer and then uploading that which is not what I want to do. I've searched and searched but can't seem to find a solution other then posting in Parallels Window.
    Any suggestions??

    Thanks brody, I had been able to do that but on my business fb page I often post images and put in the links myself in the descriptions. In Windows you're able to post images by simply pasting in the url but on the Mac I'd have to download someone's image which I'm not comfortable doing so I find myself switching back and forth between the Mac and Windows.
    This link explains what I'm trying to do on the Mac probably in a less confusing way than I just did: http://howto.cnet.com/8301-11310_39-57496509-285/quickly-upload-photos-to-facebo ok-by-pasting-the-image-url/

  • Way the url of the images are absolute in km?

    Hi!
    I am having some trouble with the url's of the images that I insert in a html page on KM. Specifically, when I insert a new image, the URL of it is absolute!!
    I mean:
    http://<host>:<port>/irj/go/km/docs/documents/imagename.gif
    I edited the url and remove the http://<host>:<port> so I get the relative url
    /irj/go/km/docs/documents/imagename.gif
    but when I save the settings, the system insert the hostname and port.....making the url absolute again!!
    Is this a bug or I making a mistake?
    The real problem arises when I transport the KM Content (using ICE), becouse after the transport, the url of the image in the new system keep being absolute... and keep referencing to the original hostname and port!!!
    could anybody give me a tip or some advice???
    thanks in advace!!!
    best regards
    Marcelo
    pd: I am working on EP 7 SP 11

    Hi Marcelo,
    This is strange. We always insert links to images like "/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/images/test.gif", and it works ok in all environments.  This link dynamically adds the <host>:<port> from the environment where it is being accessed from.
    Are you seeing the <host>:<port> when you look at the source code of the page after it has been rendered?
    Regards,
    Harman

Maybe you are looking for

  • Text Flow in ePUB and Accessible PDF

    I have a newsletter in InDesign.  I have all the text flow marked.  Each article is a separate "story".  Story1 flows onto page 2, with the text flows linked correctly.  On page 2, story2 begins in the text box below the end of story1. So on page 2,

  • Un-reconciled Report within SAP

    Hello, I am wondering if there is a standard report within SAP which shows all un-reconciled transactions for a particular bank as of a certain date? I have tried running the following: Banking  Bank Statements and External Reconciliation  Manual R

  • Funds Transfer from one house bank to another house bank

    Hi How to transfer funds from one house bank to another house bank with in company code. Because i want to transfer funds from one house bank to another house bank. What are the steps required . Please let me know the same Regards ram

  • HT4009 How to pay for in app purchase?

    I dunno where to start when doing an inapp purchase.

  • Is it possible to have a hierarchy of parameters?

    Hi, I need a workbook with 6 or 7 sheets, all showing data for a chosen hospital, specialty, PCT and GP practice. One sheet will show the number of outpatient referrals, another the number of outpatient attendances, another the number of inpatient ad