Using SE friendly urls - Broken Images and other questions

Im trying to find a workaround for an issue caused when I create SE friendly URLS and i have a few questions too.
I am making www.mydomain.com/itemid=114
into www.mydomain.com/shirts/red/114
question, is keeping the 114 still in the url ok?
does it matter if its at the beginning or the end?
like the above or like this www.mydomain.com/114/shirts/red
and the biggest issue is - how do i work around the image references.
www.mydomain.com/itemid=114
on this page, i have an image named LOGO.jpg
and the reference is just i/logo.jpg which is relative to the page url and the real location is www.mydomain.com/i/logo.jpg
HOWEVER
when i use the SE friendly url, its looking for the image in the relative folder - (which is a fake folder of course)
www.mydomain.com/shirts/red/114
so on this page its looking for www.mydomain.com/shirts/red/i/logo.jpg
SO - my question is - how do I override this and force it to ignore the folders references in the url? I still need it to look for www.mydomain.com/i/logo.jpg. I do realize that I could of course reference the images using a full url ....
meaning instead of using i/logo.jpg i could use www.mydomain.com/i/logo.jpg
but i would rather not go this route since there are about 20 image references within the template. so if there is a better way to scoot around this I would love to know what it is.
Thanks in advance
Sam

I bet you are using a relative path for your css include
instead of a root path. So if you have the following in your
http://localhost/demo/index.cfm
<link href="../styles/main.css" rel="stylesheet"
type="text/css" />
then it will look in the next folder up for a folder called
styles with a file called main.css
If you have the same line of code in
http://localhost/demo/index.cfm/about-our-company
then it will look for a folder in the root called demo with a
folder in called index.cfm with a folder in called styles with a
file in called main.css.
To solve this you need to reference your style sheet as
follows:-
<link href="/styles/main.css" rel="stylesheet"
type="text/css" />
Notice how the href begins with a forward slash (/) this
means to always access it from the webroot. You will need to do
this for all your internal links as well because they will not
work, this means links and image references the works.
HTH

Similar Messages

  • IPhoto book: Can I use less than 20 pages? and other questions...

    Is 20 pages the minimum? I have just eleven photos. Is there a workaround for this? Also, the iPhoto preview looks fine, but I'm wondering what the file specs need to be. My original files are approx. 15 MB TIFF. Should they be jpeg? Resized? Does iPhoto (or Kodak) do this automatically? Thanks for any help.

    TW3:
    Welcome to the Apple Discussions. 20 pages is the minimum. I think it's due to the minimum number of pages that can be bound. I really doesn't matter about the tiff files as iPhoto creates a PDF file for uploading and printing. Just be sure they are RBG and not CMYK.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

  • Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?

    Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
    I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
    I have attached the VI.
    Thanks for the help
    Attachments:
    new_control_and_acquisition_program.vi ‏946 KB

    Take a look at this document that discusses how to monitor IMAQ memory usage:
    http://digital.ni.com/public.nsf/websearch/8C6E405861C60DE786256DB400755957
    Hope this helps -
    Julie

  • Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisitio​n VI to predict when it is time to cease the acquisitio​n to prevent the program crashing?

    Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
    I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
    I have attached the VI.
    Thanks for the help
    Attachments:
    new_control_and_acquisition_program.vi ‏946 KB

    got these vi's off ni site a while ago - see if they help
    Attachments:
    Memory_Monitor.zip ‏132 KB

  • Jdeveloper visual editor do not show images and other component shapes

    I used jdeveloper(10.1.3.3.0) to create an ADF BC application, I create a jsf jsp file and drag and drop components from ADF Faces Core to this file visual editor, but jdeveloper visual editor do not show images and other component shapes.
    Could you tell me how I can fix this problem?
    Thanks,
    Mike

    Actually, I need to make a dummy change to the jsp file and then it will display boxes representing the objects in the visual editor whereas I get an exception in the log:
    javax.servlet.jsp.JspException: Cannot find FacesContext
    This does not talk much to me !
    Thanks

  • Is there a way to do a spelling quiz in captivate using images and not questions as reference.

    Is there a way to do a spelling quiz in captivate using images and not questions as reference. Specifically i want have blank lines underneath an image, where the user looks at the image and types the correct letters to fill in the blank. For example a picture of a dog, with this _ _ _ underneath for the user to fill in, or in some cases perhaps having them fill in the vowel like so "d_g".I must have audio with this , as the students will be able to listen to the audio sound out the word phonetially to help them be able to type it!
    Appreciate any advice! Cheers!

    Hello everybody!
    This widget is great!! Thank you for that!!
    I searched for something like that earlier and made an other workaround:
    http://forums.adobe.com/message/1912430#1912430
    The Javascript did not work in my test. I brought to the "if you reach this slide" feature but it failed.
    Regards,
    Markus

  • Whenever i open internet it shows untrusted connection....and in google images it shows few images and other quite white.....what to do?

    whenever i open internet it shows untrusted connection....and in google images it shows few images and other quite white.....what to do?

    Hello,
    please check you system Date and time and make sure they are correct .
    Moreover
    A common problem recently is Firefox not being set up to work with your security software. Some security suites include a filtering feature. In order to filter secure connections (HTTPS URLs), the security software presents a fake certificate to Firefox so it can intercept and stand in the middle of the secure connection. To have Firefox trust these certificates, you may need to do something such as import a root certificate, or click something in your security software's settings.

  • I need to inventory software on my corporate Macs.  What software can I use?  If it includes Antivirus, and other corporate resource management tools, that woudl be a plus.

    I need to inventory software on my corporate Macs.  What software can I use?  If it includes Antivirus, and other corporate resource management tools, that woudl be a plus.
    I have 50-60 Mac OSX devices on my corporate network.  I woudl like to install an "agent" on them that would allow me to report on how many have X copies of this or that software.
    I also need a corporate Antivirus solution.
    For PC, we have used things like MAAS360, Kaseya, Dell eSmart, etc....
    What is a comparable Apple product for small business?

    Scott if you are trying to install the Adobe Creative applications included with your Creative Cloud Membership then please see Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • Any setting to use alt+tab for switching adobe and other file ?

    any setting to use alt+tab for switching adobe and other file ? instead of opening a adobe file agin and agin?
    thanks.
    really hate using win8...........................

    i mean ..can adobe fild open it in a normal way like win7 did...
    so i can use alt+tab to switch task easily..

  • Manually PLACE images and other files in illustrator

    I see a tutorial of Infographics by Nigel French, In this tutorial when the Mr Nigel use place option to import images or other illustrator files the illustrator not auto put images at center but ask where to place images or how much area to be covered by this image or file.
    I search about this but not found anything relating to this topic, I don't know whether this is plugin or illustrator function/feature.
    I hope you would answer,
    Here are the pictures to ellaborate

    Thanks Monikia for answering
    Yes I mean place gun with 1/1 symbol besides the arrow but how to enable this in CS6 version 16.2.1. I haven't seen any option in preference or in place window.

  • Trying to download songs on iTunes and it's asking for "my 1st car I owned" and other questions that I never answered. It won't let me download anything til I answer them. Can you help me?

    Trying to download songs on iTunes and it's asking for "my 1st car I owned" and other questions that I never answered. It won't let me download anything til I answer them. Can you help me?

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (94816)

  • PDF with hyperlinks to images and other PDFs.

    Hi, All.
    I would like to create a small booklet with approximately 12 to 16 pages as a PDF document but wish to have images and text in the document set as hyperlinks so that they can launch other images and/or documents. In other words, a viewer could click on an image or text and then see an enlarged image open on the center of his computer screen or see another document open over the original PDF. This would work in a similar fashion to what one can do with interactive books on the iPad created with iBook Author.
    The questions I have are:
    Where can I find more material to read on how to create PDF with these features?
    I have seen PDFs that open with an application on screen that makes them 'feel' more like a real magazine. They are not a typical Acrobat or similar PDF viewer but rather an application that 'flips' the pages in a similar manner to what one would do holding a real magazine. Is it possible to do this with the PDF documents launched by hyperlinks on my PDF document?
    Can these hyperlinks open enlarged images in the center of the screen while the remaining area around the image (background) become darker to place emphasis on the image?
    How can I learn more about these features and how to use them with Acrobat and PDF documents?
    In case the information is relevant I am currently running Acrobat 9 Pro version 9.5.3 on a Mac.
    This is sort of an urgent project so any help you can share will be very appreciated.
    TIA,
    Joe.

    hi
    flash.net is the package you need on flex, inside it you
    several methods that can help you, 2 of them are:
    URLVariables and navigateToURL
    look at them and if you can't do it, just hire me, i'll be
    glad to do it :D

  • How to send images and other colored text in email body

    Hi
    We are using SAP CRM 4.0 and we would like to send email to our customers using actions configured for activity. Our objective is to send Marketing Emails containing <u>Images and Color texts</u> in the BODY OF THE email and not as a PDF attachment.
    The only relevant provision we could see in SCOT is either Text or PDF. On using text , we are loosing all images and color. The PDF option works , but the email generated is a blank email with PDF document as attachment.
    We want the matter to be inserted in the body of the email and not as attachment.
    Please do let us know if any one has faced similar situation and is there a resolution.
    Thanks and Advance.
    Regards
    Sachi

    Are you pasting in the HTML code?
    You can't use the formats in the CRM editor to set bold text, etc.  You have to use the HTML code and have set the Form up as Internet mail
    http://help.sap.com/saphelp_crm40sr1/helpdata/en/82/dbfd38ccd23942e10000000a114084/content.htm
    Here's the first screen setting for my test email:
    Form          Y_TRADE_SHOW_INVITATION        / Trade Show Invitation (Test)
                                                                                    Form Usage              1 Internet Mail (SMTP)                        
        Text Type               1 HTML                                        
        IBU Scenario                                                          
        Customer Scenario                                                                               
    Page Format             DINA4         Status    Created                                                                               
    Characters Per Inch     10.00                                         
        Lines Per Inch          6.00                                          
        Style                   SYSTEM SAP Smart Forms Default                                                                               
    Created By         MANECITO            Changed By         MANECITO   
         Date               01/16/2007          Date               05/22/2007 
         Time               09:49:12            Time               18:01:51   
    then, your email has to have the HTML tags
    A bare minimum is your email has to have the <HTML> tag at the top, but it's advisable to be sure you have a more complete setup like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    .style1 {
         font-size: x-large;
         font-family: Verdana, Arial, Helvetica, sans-serif;
         font-weight: bold;
    .style2 {
         font-family: Verdana, Arial, Helvetica, sans-serif;
         font-weight: bold;
    .style5 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small; }
    -->
    </style>
    </head>
    <body>
    ENTER YOUR HTML MESSAGE HERE
    </body>
    </html>

  • Internal links in portal (CSS, images, and other struts actions)

    Good morning gurus! I have another question regarding Struts Portlets. We have an application that builds a page with an image that comes from the database. The application is composed of two Struts actions. One that's in charge of drawing the page and the other action is in charge of bringing the image from the database. The second action is called from a JSP (img src="/getImage.do"). In portal, once the portlet rendered the JSP it doesn't recongnize the other links inside the JSP (the call to the second action). Also, other links suchs as images, CSS, and others Struts actions are not recognized. How can I access images, links, and CSS from the main application (the actual application).
    Best regards,
    Marcelo Oliva
    Message was edited by:
    molivas08

    Hi Andrew -
    This is a pretty big topic for one thread ... I will try to provide some pointers on where to look for more information.
    1. Need ability for non-html literate authors to update text, images and links on their portion of a shared web page
    In the following whitepaper, see the section: Associated Funtion for Item Display
    http://www.oracle.com/technology/products/ias/portal/pdf/oow_10gr2_1336_fender.pdf
    This will allow you to prompt your non-HTML literate users for the "parts" to display and you worry about the UI.
    2. Need ability to enforce common look and feel on content provided by non-html literate authors.
    Create pages based on Templates. Templates can force the style on users. Again - do not use text items and the RTE for users, you control the display with an Associated Function.
    3. Prefer ability to approve content before it goes live.
    Grant content contributors "Manage with Approval" access
    5. Need advanced search capabilities
    Check out the search section on Portal OTN
    http://www.oracle.com/technology/products/ias/portal/content_management_10gr2.html
    Hope this helps,
    Candace

  • Can jpdk portlets deliver images and other binary files?

    From my understanding, portlets can only return text content (html).
    Images and pdf files would be impossible to deliver via portlets.
    So if you portlet has a link to a pdf or a image, this URL would be a direct reference to that application or file resource, and not be tunnelled through portal?

    Q. From my understanding, portlets can only return text content (html).
    A. Portlets can return html or mobile content
    Images and pdf files would be impossible to deliver via portlets.
    Q. So if you portlet has a link to a pdf or a image, this URL would be a direct reference to that application or file resource, and not be tunnelled through portal?
    A correct
    You may wish to look at the lotto sample which renders gif's

Maybe you are looking for

  • Type UI in CS6 in Surface Pro 3 is too small.  Adobe needs to isuue a fix for CS6.

    I don't need to upgrade CS6 for any photography reason.  Adobe should make CS6 UI readable fro surface pro 3 users.  They have a fix for later versions.  Why not make it available in other earlier versions of photoshop.  This is not a question of add

  • Srceen goes gray after the apple goes off then the monitor says no signal..

    srceen goes gray after the apple goes off then the monitor says no signal.. It been working great for 9 months use it everyday for fcp.. would the video card be bad???

  • Time Series Plot

    Is there a standard way to create a time series chart in Apex 4.2? The line chart does not take into account irregular time intervals - it assumes that the data points on the X axis are equally spaced, its just really a bar chart but with a line inst

  • Error when Publishing iWeb Site (iWeb 1.1.2)

    I am consistently unable to publish my website. The following is the most recent error: An error occurred while publishing file "/Web/Sites/iWeb/Site/Worcester, MAfiles/_MG0611.jpg". Before this one, it was a different jpg image that caused the publi

  • Double Clicking on .indd file opens wrong version of InDesign - Windows 7

    Every time I try to just double click on the file to open it opens with InDesign CS5.5. I have CC installed and just went through a whole process online with Adobe Support about removing previous versions using the Cloud tool. I removed all but CC 20