Display Images as a Percentage of Page

I have added an image to my page, however I can't get it to
display as a percentage of the entire page instead of pixels.
I am incredibly new to Dreamweaver, I'm teaching myself as I
go along so any help will be much appreciated.
Thanks

> I have created a page whereby the main table is a
percentage of the
> viewers
> screen. When I add images, they appear to be a
completely different size
> and
> ratio in the browser, to how they appear in Dreamweaver.
Can you post a link to the page? Images don't just resize
like that.
> Is it best to just set out table layouts as a proper
measurement instead
> of
> percentage and if so, what would you recommend to be
best size to make the
> main
> table?
That would depend entirely on what you want to accomplish
with the layout.
Resolution is not the critical issue. Browser viewport width
is. To make
your decision you need to have some ideas about the following
issues -
1. What is the primary target demographic for this site?
2. What are the browsing habits of that demographic? Do they
normally have
their browser window maximized on the screen?
3. If they usually have their browser maximized, what is the
typical screen
width?
4. If they usually do NOT have their browser maximized, what
is the MINIMUM
screen width in that demographic.
5. How do I want to build the page?
a. Fixed width and left aligned?
b. Fixed width and centering?
c. Flexible to fill whatever width from left to right?
d. Flexible (within limits) and left aligned?
e. Flexible (within limits) and centering?
As you can see, this decision is probably much more complex
than you
thought, and will require that you know quite a bit about
your intended
target visitor and their browsing habits.
If you elect to go with 5a, or 5b, then your decision would
be - 'what is
the mimimum browser width I want to support without
horizontal scrolling?'.
Once you have determined that minimum supported width, all of
your decisions
are made. That's how wide you want your page to be.
If you elect to go with 5c, then you just build your page
within a flexible
container (the simplest example - although an obsolet one -
would be to use
a 100% width table to hold the entire page). Be aware that
pages with
limited text content can look VERY sparse and empty on wide
viewports when
built in this way.
If you elect to go with 5d, or 5e, then you would add this
sophistication to
your decision matrix -
'what is the greatest width I want to allow the page and its
contents to
become?'
In this case, you would use the CSS styles - 'min-width' and
'max-width' on
the primary page container. Just so you'll know, although
these styles are
well supported *now*, earlier versions of IE (and some other
browsers) will
not support them so reliably.
So - which is it? 8)
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
==================
"Nic26" <[email protected]> wrote in message
news:[email protected]...
> Thanks for your reply.
>
> I have created a page whereby the main table is a
percentage of the
> viewers
> screen. When I add images, they appear to be a
completely different size
> and
> ratio in the browser, to how they appear in Dreamweaver.
>
> Is it best to just set out table layouts as a proper
measurement instead
> of
> percentage and if so, what would you recommend to be
best size to make the
> main
> table?
>
> Thanks
> Nic
>

Similar Messages

  • Displaying image in custom OA framework page

    Hi,
    i am devlopeing one custom page in oracle jdevloper9i
    in that page,i need to display the image while clicking the button.
    How to do that one can any one help me?
    Regards,
    Jayakumar

    Hi Reetesh,
    As per the requirement i need to display the customer signature on that page.
    once the user select the customer number,customer details will come automatically,after customer verified his details he will click a button then customer details wants to display on image item.
    The customer details ia already stored in some other table.
    Regards,
    Jayakumar

  • How to display images on a servlet generated page???

    Hi, I am developing an app in which I must display some messages, each message may have an image. The images are saved in the database. I do not want to save the image on the filesystem but instead of that I want to send the image as an attribute to the page but I dont know then how to display it. I have no idea about how to do that! Any help on this would be very appreciated!

    mmm yes I know that the img tag displays an image but I am asking how to display the image without saving the file into the server filesystem, I mean something like:
    1.- getting the bytes from the Database
    2.- getting an Image object
    3.- pasing it to the request as an attribute
    4.- getting that attribute from the request
    5.- displaying it on somehow directly from the image var or something.
    the src parameter of the img tag takes as a string the path of the image, but i dont want to save it.

  • Display image in Smart camera web interface

    Hi!
    I need some assistance with LV-RT. 
    What I have succeeded is to enalble the web server on NI 17XX camera and successfully displayed a VI with Image Display on it. I thikn I got the hang of it. 
    What I would like to know is there another way to display images on the camera web page. I really do not need the whole VI up there just an image and a string with serial number. One way I know would work is to write an image file to the system memory and then embed that image to the web page, but I am not sure that is the best solution as writing process takes time and it is not recommended to write too often to the program memory (am I right?).
    So, is there some way to assign some object to say a memory bank and display it (without having to install the runtime maybe) on the page?
    Thank you for your attention,
    Mart

    Hey Mart,
    Going back to your original question; are you looking to stream images to a web page from your smart camera or simple see what your camera is seeing when you go to a particular site? Take a look at the sample project below. It is sort of a work around, but it posts an image to a web service. Essentially it snaps an image, saves it, and then posts the saved image to a web service. You will have to change the file path for the image, then build and deploy the webservice from the project view. Also, it would be beneficial to take a look at the webservice build specifications. The webbing to view the snapped image from your local machine would then be viewable from your web browsers at the address : "http://localhost/Stream_Service/ShowImag"
    Let us know if you have trouble getting this example working. Also, perhaps another visit to what your end goal is would be helpful. What was it that you had working?
    Hope this helps
    -Ben
    Message Edited by BCho on 04-10-2009 02:27 PM
    Hope this helps.
    -Ben
    WaterlooLabs
    Attachments:
    SnapWebService.zip ‏14 KB

  • Displaying image from database table.

    Hi All,
       I am very new to Web Dynpro ABAP.
      I am developing an application to display an image in "Image" UI Element.
      For this I have one table consisting of fields image id, image data and image name. here image id is primary key field.
    Now i want to display an image from that table in "Image" UI Element. For this i am using "Filedown load" UI element.
    But by using filedownload ui element i can diaplay image in another new page.
    But my requirement is to display image in the same web page without creating a new one.
    (I want to display the image in "Image" UI element without storing that image in MIME objects.)
    Can anyone help me.
    Thanks in Advance!
    Regards,
    Sreelakshmi.

    What you describe is completely possible.  Since you have the image data (XSTRING) in the context you have everything you need.  You don't need to store the content into the MIME Repository, but you do need to get it somewhere where it has an externally accessible URL.  Remember you need to supply image UI element with a URL.  This URL is processed on the client side by the web browser.  Therefore just giving it a path to the context won't work as that isn't externally accessible.
    I would suggest instead that you place the image content into the ICM cache temporarily.  This lets you basically generate a temporary URL for the image that can be used by the Image UI element. 
    Here is some example code that pushes images into the ICM Cache:
    ****Create the cached response object that we will insert our content into
      DATA: cached_response TYPE REF TO if_http_response.
      CREATE OBJECT cached_response
        TYPE
          cl_http_response
        EXPORTING
          add_c_msg        = 1.
       try. " ignore, if compression can not be switched on
          call method cached_response->set_compression
            exporting
              options = cached_response->co_compress_based_on_mime_type
            exceptions
              others  = 1.
        catch cx_root.
      endtry.
    ****set the data and the headers
      DATA: l_app_type TYPE string.
      DATA: l_xstring TYPE xstring.
          cached_response->set_data( me->gx_content ).
          l_app_type = me->gx_mimetype
      cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = l_app_type ).
    ****Set the Response Status
      cached_response->set_status( code = 200 reason = 'OK' ).
    ****Set the Cache Timeout - 60 seconds - we only need this in the cache
    ****long enough to build the page and allow the Image on the Client to request it.
      cached_response->server_cache_expire_rel( expires_rel = I_CACHE_TIMEOUT ).
    ****Create a unique URL for the object
      DATA: guid TYPE guid_32.
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_32 = guid.
      CONCATENATE i_path '/' guid '.' i_format INTO r_url.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = r_url
                                           response = cached_response ).

  • Displaying images from url connection

    I'm working on an application that extracts information from html content (textual, colors, images...) and evaluates rates of emotion and personality.
    I need to access and display images contained in a web page.
    How can I add an image to a pane and display it knowing its url,
    for example I want to display image.jpg knowing http://www.website.com/image.jpg

    The ImageIcon class in javax.swing can accept a URL in the constructor:
    public ImageIcon(URL location)

  • Having trouble displaying images on a page in APEX through IE.

    I'm trying to conditionally display images (used as toggle buttons) in a tabular report in APEX. This is for our Benefits application where an employee can include or exclude his/her dependents from the plan. For each row, in one column I want to show only 'Include' button if an individual is not already a member, and in another column show only 'Remove' button if already included. I'm using the button images as links and passing information to a page process.
    I was able to come up with the SQL query which works perfectly fine in Firefox. But the images won't display in Internet Explorer. Does anyone have any idea how to make this work in IE?
    Below is my query. This code will display 'Include in plan' image only if the member is not already added to the plan. If 'Y' is the result of the query, then the member is already included and no image is displayed. Otherwise display the image. Pass the member_id to an application item and process the record in a Before Header process.
    select elected_member_id, member_type, last_name, first_name, middle_name, gender,date_of_birth,student_flag,trunc(months_between(sysdate ,date_of_birth)/12) AGE,
    decode((select 'Y'
    from eben_elected_plan_info epi
         where plan_name not in ('Delta', 'Vision', 'HEALTH_FLEX', 'DEP_FLEX')
         and epi.elected_member_id = emi.elected_member_id
         and transaction_type <> 'END'), null,'<a href="f?p=&APP_ID.:70:&SESSION.::::F_APP_MEMBER_INCLUDE:'||elected_member_id||'<img src="&WORKSPACE_IMAGES.include.png"></a>') elected_member_id_include,
    elected_member_id elected_member_id_exclude
    from eben_elected_members_info emi
    where emp_person_id = :f_app_person_id
    and member_type <> 'Employee'

    I was able to resolve this issue by creating the SQL statement from scratch in IE. It then recognized the images.

  • Display image on jsp page

    I have to display image on jsp page with some text output. This image is already saved at a location parallel to web-inf and is generated dynamically using a servlet. I have used img tag html to display the image. Other outputs are taking their values from database.
    First problem is that image will be taking time to display in comparision of other outouts from database. I have to refresh the page to get imageon my page.
    Second is that if I save image in a folder parallel to web-inf in my project then it will not be displaying the image.
    Can I use any jsp functionality to display image with other outputs from database. I have used "*include*". but it shows only that image and other outputs.

    Best way is to use a servlet for this.
    <img src="path/to/imageservlet?id=someidentifier">
    <!-- or -->
    <img src="path/to/imageservlet/someidentifier">In the servlet's doGet() just write code which gets an InputStream of the image (either directly generated, or just read from the local disk file system, if necessary with help of ServletContext#getRealPath(), or even from the DB by ResultSet#getBinaryStream()) and writes it to the OutputStream of the response. That's basically all. Don't forget to buffer the streams properly to speedup performance and to save memory.
    You can find here a basic example: [http://balusc.blogspot.com/2007/04/imageservlet.html].

  • Safari not displaying images on web pages

    My Safari was working fine and then all of a sudden the images stopped displaying in the web pages. I thought maybe it was because my browser needed an update. I installed Safari 5 but i'm still having the same problem. I read in another forum that one should clear the cashe and trash the Safari preference file (com.apple.safari.plist)). i cleared the cashe but i'm not sure where to find the safari preference file. can someone please help??

    On Vista, the plist file is in a hidden folder, but I don't immediately associate that particular plist with trouble displaying images on Windows systems. (Especially not on Safari 4.0.x installations, when the issue started for you.)
    Can you check something for me? (This isn't going to be a cure in itself, but it will point us towards the most profitable lines of further troubleshooting.)
    Create a new Windows User account with full administrative rights. Log out of your usual account and log into the new account. (Don't use fast user switching to move between accounts.)
    Launch Safari in the new account. Do images display in web pages in the new account?
    (If they do display, we'll focus on preferences and settings files in the usual user account. If they don't display, we'll check on damaged Apple Application Support and Safari program files.)

  • Admin screen will not display images - error on page

    We are one step closer to a successful installation but not quite there yet. When we got to htmldb_admin the username/password boxes appear but the images do not display and it states error on page no matter what you try to do. Any suggestions?

    Please see errors below from the log file. It appears that it is looking in the wrong directory for the images. Does anyone know where I can set this? I put an alias in htttp.conf but it must be pulling the info below from somewhere. Please help - I am so close (I think!!).
    Fri Feb 25 10:45:51 2005] [error] [client 164.156.73.176]
    [ecid: 1109346351:164.156.73.176:1660:2092:5,0] File does not exist: c:/oracle/product/10.1.0/client_2/apache/apache/images/htmldbins.small_button_right2.gif
    [Fri Feb 25 10:45:51 2005] [error] [client 164.156.73.176] [ecid: 1109346351:164.156.73.176:1660:2268:5,0] File does not exist: c:/oracle/product/10.1.0/client_2/apache/apache/images/htmldbins.small_button_left2.gif
    Fri Feb 25 10:14:17 2005] [error] [client 164.156.73.176] [ecid: 1109344457:164.156.73.176:1552:1708:70,0] File does not exist: c:/oracle/product/10.1.0/client_2/apache/apache/htdocs/i/htmldbins.htmldb/oracle_htmldb_logo.gif
    [Fri Feb 25 10:14:17 2005] [error] [client 164.156.73.176] [ecid: 1109344457:164.156.73.176:1552:1712:74,0] File does not exist: c:/oracle/product/10.1.0/client_2/apache/apache/htdocs/i/htmldbins.htmldb/builder/1px_trans.gif

  • JSP pages not displaying images in Jdeveloper

    HI
    I am using lot of images in the JSP page.But the JSP pages are not displaying images in Jdeveloper in Design preview.
    Do I need to install Apache for that?I have not installed Apache yet.
    If so then what are the configuration or settings I have to do in Jdeveloper for Apache.
    Thanks in Advance.
    Apps user

    Which JDeveloper version? where are the images stored? can you share the code you are using to show such an image?
    Try this - create a JSP page and drag an image from your desktop onto the JSP page - this will add the image to your project - does this work?

  • Refresh display image item without reload page

    hi all, is a way to refresh (requery) a display image item to change the image via botton and do not reload page ?
    thanks
    Edited by: Reza.Gh. on Sep 24, 2012 11:56 AM

    I create a sample app :
    https://apex.oracle.com/pls/apex/f?p=9310:1
    code of item  P1_CAPTCHA_IMG :
    SELECT captcha_img FROM captcha WHERE response = :P1_CAP_V;
    item P1_CAP_V  code (computations) :
    SELECT *
    FROM (
    SELECT response
    FROM captcha
    ORDER BY
    dbms_random.value
    WHERE rownum = 1 ;
    Refresh botton code :
    action 1 :
    SELECT * into :P1_CAP_V
    FROM (
    SELECT response
    FROM captcha
    ORDER BY
    dbms_random.value
    WHERE rownum = 1;
    action 2:
    refresh item P1_CAPTCHA_IMG

  • Displaying image in html page

    hi one and all!!
    how can i display an uploaded image in same html page??
    i have uploaded that image using file input...but i couldn't able to make this image visible in the page where i want.plz write ur snippet..
    thanks!!

    A few things (also referring to the other topics in your topic spree):
    1) Chill down.
    2) Please write normal human readable English sentences.
    3) Show your effort in your problems.
    4) Ask specific coding problems. What have you written so far and what is failing exactly?
    5) Bookmark http://www.google.com and learn how to use it.
    To get straight on your initial question: you can display images in a HTML page using the <img> tag.

  • I have selected not to load images automatically in OPTION of firefox, and i want to keep this option as it is. now can i display images of particular page without changing DONT LOAD IMAGE AUTOMATICALLY?

    i have selected not to load images automatically in OPTION of firefox, and i want to keep this option as it is. now can i display images of particular page without changing DONT LOAD IMAGE AUTOMATICALLY? for example if i trust that image on particular page doesnot contain any adult material and safe to see that page from home, can i temparory view image on page?

    -> Tap '''ALT''' key or press '''F10''' to show the Menu Bar
    -> go to Tools Menu -> Options -> Content -> click '''Exceptions...''' button infront of '''Load images automatically''' -> type the address of the website on which you want to load images e.g. yahoo.com and click '''Allow''' button -> click Close
    -> Click OK on Options window -> Restart Firefox
    Check and tell if its working.

  • How do you display images relative to a Portlet JSP page?

    For Welblogic Portal 7.0, I want to display a simple image (.gif) on a JSP page.
    The problem is that I need to use a 'hard coded' url to the image such as the following:
    <img src="portlets/test/images/test.gif" border="0" alt="Test 1">
    - OR -
    <img src="<webflow:createResourceURL resource="/portlets/test/images/test.gif" />"
    border="0" alt="Test 2">
    This makes the portlet less portable.
    My goal is to display an image relative to the current JSP Portlet page (in the test
    directory).
    Does anyone know how to accomplish this?
    In WL Portal 4.0 I used:
    <img src="<%=fixupRelativeURL(pathFromRequest(request) + "images/test.gif", request)%>"
    width=24 height=22 border=0 alt="test">
    This does not work anymore as fixupRelativeURL does not seem to exist in the 7.0
    API.
    Your help would be greatly appreciated!
    Thanks,
    Matt

    Exactly what I was looking for!
    Thank you Subbu.
    Subbu Allamaraju <subbuATBeaDOTCom> wrote:
    Matt,
    There is an indirect way to achieve this.
    (a) In your portlet JSP, get the PortletState. There is an example in
    /framework/portlet.jsp.
    (b) Get the content URL for this portlet by calling
    portletState.getUrl(Portlet.URL_CONTENT).
    Depending on where your image is (with respect to the content URL), you
    can construct a new URL to the image. For example if your content is at
    at /portlets/myportlet/foo.jsp and your image is in at
    /portlets/myportlet/images/myimage.gif, you can reconctruct the latter
    from the first one.
    Once you do this, prepend the constructed URL with the web app context
    root (request.getContextPath()).
    Hope this helps.
    Subbu
    matt wrote:
    For Welblogic Portal 7.0, I want to display a simple image (.gif) on aJSP page.
    The problem is that I need to use a 'hard coded' url to the image suchas the following:
    <img src="portlets/test/images/test.gif" border="0" alt="Test 1">
    - OR -
    <img src="<webflow:createResourceURL resource="/portlets/test/images/test.gif"/>"
    border="0" alt="Test 2">
    This makes the portlet less portable.
    My goal is to display an image relative to the current JSP Portlet page(in the test
    directory).
    Does anyone know how to accomplish this?
    In WL Portal 4.0 I used:
    <img src="<%=fixupRelativeURL(pathFromRequest(request) + "images/test.gif",request)%>"
    width=24 height=22 border=0 alt="test">
    This does not work anymore as fixupRelativeURL does not seem to existin the 7.0
    API.
    Your help would be greatly appreciated!
    Thanks,
    Matt

Maybe you are looking for

  • ICloud syncing to wrong Apple ID

    Somehow my husband's Apple ID got on my IPhone.  Now everthing syncs to his computer and devices instead of mine.  I go into my phone/settings/phone-calendar and his ID is there but there is no way to put my ID in.

  • Reprocess Process Order

    Dear Experts Please explain step by step procedure for Rework of a Process Order . Problem is related to rework of an order, where payment has been completed and the material is returned and some rework has been done and returned to customer free of

  • Migrate or Restore?

    Hi, I currently have a MacBook air running 10.6.2. I just got a new 13" MacBook Pro (unibody) and I'm switching machines. (needed more hard drive space/speed). I have a complete back up on my Time capsule. Am I better off using the restore function f

  • How do I get other team members to review and mark footage who don't have CS6

    Hi I'm using Premier Pro CS6 and and need to get sign off for 4-6 videos a day. In older versions of Premier Pro I used to be able to export a PDF with video embedded, that worked great. I've now found out in CS5 that CS Review replaces this function

  • How to Implement DC and RDS on a single physical server

    Can any one guide me that how to install DC and RDS on a single physical server. It would be highly great full.