Preloading images using PHP

Hi,
I am trying to pre-load a few images on a page to save the loading time but seems to be not working in IE7. Here is my code:
<SCRIPT LANGUAGE="JavaScript">
top1 = new Image();
top1.src = "./1.jpg";
top1 = new Image();
top1.src = "./2.jpg";
</script>
This is declared in the HEAD section. But onmouseover still takes a second or two, but once loaded, mouseover is instant. I have an image name called top1, is it because i am loading the same object with 2 different images so will the first image not finish loading?
Also, if I was to include filenames which are dynamic, is there anything stopping me from using PHP code in the HEAD section? or is there a better way to do this?
Thanks in advance.

What you are trying to do has very little to do with PHP, except the generation of the image names in the JavaScript. Once the web page is sent from the server, everything relies on JavaScript. I have created a simple demo on my website at http://foundationphp.com/test/preload.html.
The following script in the head of the page preloads the image:
<script type="text/javascript">
(new Image()).src = "/images/9781430210115.jpg";
</script>
In the body of the page, the rollover is created like this:
<p><img src="/images/9781430216100.jpg" width="130" height="160" alt="Book cover"
onmouseover="this.src='/images/9781430210115.jpg'"
onmouseout="this.src='/images/9781430216100.jpg'" /></p>
Note that the <img> tag has the original image assigned to its src attribute, and the replacement images are specified in the onmouseover and onmouseout event handlers. You cannot do it simply by assigning the preload image to a variable in the head and then assigning that variable name to the image, because the image tag has not been created at the time the script runs.
It sounds to me as though you want to rotate the images. If so, Google "JavaScript image rotator". You should find plenty of solutions.

Similar Messages

  • Best way to update images using PHP / MySQL?

    HI
    I want to update images using PHP/MySQL, so users can update their images and maybe some other files but mainly images.
    thanks

    How messed up is this code?!
    <?php
    //connect to database
    $con = mysql_connect("testhost","testuser","pass");
    // file properies
    $file = $_FILES['image']['tmp_name'];
    if (!isset($file))
    echo "please select an image";
    else {
        $id = $_REQUEST['id_display'];
        $image = ($_FILES['image']['tmp_name']) ? file_get_contents ($_FILES['image']['tmp_name']) : '';
        $image_name = ($_FILES['image']['name']) ? addslashes($_FILES['image']['name']): '';
        $image_size = ($_FILES['image']['tmp_name']) ? getimagesize($_FILES['image']['tmp_name']): '';
        if ($image_size == FALSE)
        echo "You have not selected an image.";
        else {
            mysql_select_db("test_display", $con);
            mysql_query("UPDATE testtable SET image = '$image', imagename = '$image_name' WHERE id_display='$id'");
    ?>
    And the upload page....
    /*Update code */ /*End update code */                            

  • Is it possible to extract the text and images using PHP

    Hi friends,
    Is it possible to extract the text and images using PHP, in the same order as it is in the PDF?
    Else is it possible extract the same as XML using PHP, or ASP
    I googled it but its in vain, any help is appreciated.
    Thanks in advance.

    Dear Mike,
    Thanks for your quick reply,
    I mean is it possible to parse the PDF line by line using the PHP.
    I extracted the whole text but couldn't the images. Since the PDF's images are decoded using various methods like DCTDecode, JPXDecode, etc.
    The text is decoded with FlateDecode, which i breaked using a function in PHP.
    Thanks,

  • J2me send image using php as server

    hii all,can you help me give me a souce code for send image in j2me to server(i'm using php)????????? cause i need for my final projects
    thanks

    The reason i want to use gmail because i can't use smtp university's mail server( looking to the apple server error log is say something about IsSMTP(); function. today, i had discussion with them(ICT dept) and they can't solve it as there's no apple server used before/now and no one familiar with it. they give me other alternative by using a "secret server", a subdomain name were given with no smtp authentication. no username or password were used, not even using any ssl or tsl security. they give me this last solution when i install joomla on the other windows server and try to use university smtp server with email account. error saying cannot connect to smtp server. i did try also using joomla on my apple server still with the error. so what i understand now is that its related to university global networking security/policy setting(correct me if i'm wrong). so for the SL server, its should be super easy to setup if you are yourself configuring the internet direct to your ISP. thanks very much to Camelt for quick answered. So i should not facing any problem with apple server if i bought and connect it direct to my ISP, right Camelot?

  • How use PHP to read image files from a folder and display them in Flex 3 tilelist.

    Hello. I need help on displaying images from a folder dynamically using PHP and display it on FLEX 3 TileList. Im currently able to read the image files from the folder but i don't know how to display them in the TileList. This is my current code
    PHP :
    PHP Code:
    <?php
    //Open images directory
    $imglist = '';
    $dir = dir("C:\Documents and Settings\april09mpsip\My Documents\Flex Builder 3\PHPTEST\src\Assets\images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "filename: " . $file . "\n";
    $dir->close();
    ?>
    FLEX 3 :
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="pic.send();">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.rpc.events.ResultEvent;
    public var image:Object;
    private function resultHandler(event:ResultEvent):void
    image = (event.result);
    ta1.text = String(event.result);
    private function faultHandler(event:FaultEvent):void
    ta1.text = "Fault Response from HTTPService call:\n ";
    ]]>
    </mx:Script>
    <mx:TileList x="31" y="22" initialize="init();" dataProvider = "{image}" width="630" height="149"/>
    <mx:String id="phpPicture">http://localhost/php/Picture.php</mx:String>
    <mx:HTTPService id="pic" url="{phpPicture}" method="POST"
    result="{resultHandler(event)}" fault="{faultHandler(event)}"/>
    <mx:TextArea x="136" y="325" width="182" height="221" id="ta1" editable="false"/>
    <mx:Label x="136" y="297" text="List of files in the folder" width="182" height="20" fontWeight="bold" fontSize="13"/>
    </mx:Application>
    Thanks. Need help as soon as possbile. URGENT.

    i have made some changes, in the php part too, and following is the resulting code( i tried it, and found that it works.):
    PHP Code:
    <?php
    echo '<?xml version="1.0" encoding="utf-8"?>';
    ?>
    <root>
    <images>
    <?php
    //Open images directory
    $dir = dir("images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "<image>" . $file . "</image>"; // i expect you to use the relative path in $dir, not C:\..........
    //$dir->close();
    ?>
    </images>
    </root>
    Flex Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute"
    creationComplete="callPHP();">
    <mx:Script>
    <![CDATA[
    import mx.rpc.http.HTTPService;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    [Bindable]
    private var arr:ArrayCollection = new ArrayCollection();
    private function callPHP():void
    var hs:HTTPService = new HTTPService();
    hs.url = 'Picture.php';
    hs.addEventListener( ResultEvent.RESULT, resultHandler );
    hs.addEventListener( FaultEvent.FAULT, faultHandler )
    hs.send();
    private function resultHandler( event:ResultEvent ):void
    arr = event.result.root.images.image as ArrayCollection;
    private function faultHandler( event:FaultEvent ):void
    Alert.show( "Fault Response from HTTPService call:\n " );
    ]]>
    </mx:Script>
    <mx:TileList id="tilelist"
    dataProvider="{arr}">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Image source="images/{data}" />
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    </mx:Application>

  • Using PHP to generate images in alternate colors

    I have a PNG image of a black silhouette graphic with
    softened edges against a transparent background.
    Can I use PHP to generate this image in alternate colors
    (allowing the black graphic to be displayed in a color other than
    black)?

    AngryCloud posted in macromedia.dreamweaver:
    > I have a PNG image of a black silhouette graphic with
    softened
    > edges against a transparent background.
    >
    > Can I use PHP to generate this image in alternate colors
    > (allowing the black graphic to be displayed in a color
    other than
    > black)?
    I have no experience with this, but I was just poking around
    in the GD
    references and found a comment on imagefill() that might
    help:
    http://us.php.net/manual/en/function.imagefill.php
    Comment:
    http://us.php.net/manual/en/function.imagefill.php#81873
    Or you may need to work with some of the other alpha
    functions.
    Mark A. Boyd
    Keep-On-Learnin' :)

  • How to display image in database using php

    i've try search all hope that you all can give me some guidance how to display data that is in image or BLOB using PHP. just a query and php code that will make display of the image. hope that you all show me the example or give me reference that i need to solve my problem.

    Hi,
    Have a check on these Google results, you might find something there...
    http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&q=%22display%20image%22%2Boracle%20%2Bphp

  • Instruction on how to work with images and videos in the storage azure using php

    Dear Sirs
    I followed below instruction to make video and image storage on Azure using PHP:
    http://azure.microsoft.com/en-us/documentation/articles/storage-php-how-to-use-blobs/
    Whenever I record an image on Azure storage and download stored image there is no format
    in the stored image. and end up becoming like any other regular file. Othe problem is that I cannot see the concerned image in the browser. I already have checked recipient access and it is defined as public reading. 
    Could you also please provide me with an article instructing how to make upload,  download,
    show up on the browser and remove video and images from the azure storage area?
    Thanks & Regards,
    Pedro

    Hi Pedro,
    Thanks for your posting!
    I am not familiar with PHP. But from your description, I think your need pay attention to those points in your code:
    1.When you store file or download file, please write the file name and
    suffix, for example, you need store image as blob name "image.png".
    2.When you download file from Azure blob, you need set the content type.
    if your file is image, you could set the content type as image type.
    3.You could get the blob URI, and set your image URL as blob URI. Do this, you can show the picture.
    Please see this similar issue thread:
    http://phpazure.codeplex.com/discussions/472840
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using PHP to display semi-random images?

    Hello,
    I'm looking for help using PHP and MySQL to generate semi-random images on my web site. Here's what I'm trying to do: I have 60 images, but I only want to display 16 at a time (for examlpe http://artisdead.net/antelopegardens.php).
    The way I imagine this is, the design has 16 image placeholders. I want Placeholder 1 (the first image) to randomally pull record ID 1, 2, or 3 from the SQL database, while Placeholder 2 pulls record ID 4-6, etc. It's important that one of the first 3 images displays first, while one of the second 3 images displays next, etc.
    I've found various ways to randomize all the images, but I'm not understanding how to constrain the randomization the way I'm looking to. Any help would be greatly appreciated. Thanks in advance.

    Alamo_Melt wrote:
     The way I imagine this is, the design has 16 image placeholders. I want Placeholder 1 (the first image) to randomally pull record ID 1, 2, or 3 from the SQL database, while Placeholder 2 pulls record ID 4-6, etc. It's important that one of the first 3 images displays first, while one of the second 3 images displays next, etc.
    Before offering a possible solution, I should point out that your plan has a minor flaw. If you display only 16 images, and want the random choice to come from incremental sets of three, the maximum number you can have in your set is 48. The final 12 images will never be selected. For 60 images, you need 20 placeholders. The alternative is to have a total set of 64 images, and make the random choice come from incremental sets of four images.
    With that caveat, here's how I would do it. The primary keys of your records might not be consecutive, particularly if records are deleted and new ones added, so it might be a good idea to have a separate column with consecutive numbers from 1 to the the maximum. To select random numbers from incremental groups of three, use the following:
    $id = array();
    $min = 1;
    $max = 3;
    for ($i = 0; $i < 16; $i++) {
      // generate random number from current set
      $id[$i] = mt_rand($min, $max);
      // increment the minimum and maximum numbers for the next set
      $min += 3;
      $max += 3;
    // join the selected values as a comma-separated string
    $vals = implode(',', $id);
    $sql = "SELECT image FROM images WHERE id IN ($vals)";
    // excecute the SQL query

  • Windows 8.1 and Lenovo preloaded image - update to be available?

    Hi,
    I work for an organisation that buys a fair few  Lenovo machines. We get them with whatever OS they are bundled with at the time and then install our own image. However, recent Lenovo machines seem to have had significant optimisations which can't be reinstated if you do a clean install, so we have been using the preloaded OS image as a base an deploying our applications on top.
    Windows 8.1 looks like it may become suitable for wider use here, so I am wondering if an optimized Windows 8.1 preload will start to ship with Lenovo machines soon? And if the preload image might be available for customers who have a Windows 8 machine, to allow for a clean install without losing all the optimisations, so that we don't have to wait for the first Win8.1 machine to be delivered.
    Thanks,
    Richard

    I think it's safe to say you'll start seeing Windows 8.1 preloaded system from Lenovo as soon as Windows 8.1 becomes generally available.  And I think Microsoft has said this will happen sometime in October.
    However Lenovo will not provide Windows 8.1 preloads for existing systems such as T430, W530, X230, etc.  These systems will soon go end-of-life with the coming Haswell refresh.  The Haswell systems will get Windows 8.1 preloads, but existing Ivy Bridge systems will not.
    Having said that, I really don't understand what you mean about "significant optimisations which can't be reinstated if you do a clean install".  Off the top of my head I can't think of anything that is preloaded that isn't available for download on our support website, except for some 3rd-party trial software like Norton, MS Office, and Absolute.  Is there anything specific that you need help with recreating/reinstalling in your own image?

  • How do I search a word document stored in a BLOB using PHP?

    I have been successful at saving files in a blob field using oracle.
    I need to search through the word document, how can I do it using PHP?
    Please help!

    You're going to want to look at the Text Application Developer's guide.
    9i - http://otn.oracle.com/pls/db92/db92.show_toc?partno=a96517&remark=drilldown&word=microsoft+word
    10g -
    http://otn.oracle.com/pls/db10g/db10g.show_toc?partno=b10729&remark=drilldown&word=text+application+developer%27s+guide
    Give this a read and it'll give you what you need in order to search CLOB and BLOB fields for text data.
    It all works around a particular type of index which is then referenced using a CONTAINS clause in your SQL... eg:
    SELECT id FROM documents WHERE CONTAINS( document_body, 'Oracle' ) > 0
    Once you've got your head around the basic priniciples you're going to want to look at the document filters. This should allow you to index MS Word documents (warning: I've never used this for Word).
    It's not something that you can just pick up from reading a 20 line reply on a forum, but it sounds like what you're looking for.
    We use it here in order to look up on HTML documents, and it works a treat. We converted our Word documents to HTML so we could mark them up and then display them inline on pages.
    We wrap up the SQL that actually does the CONTAINS clause in a PL-SQL function, but I don't image there's a problem issuing a CONTAINS over OCI. Let me know if it works!
    Might this be an option for you?
    Blog at http://robertbaillie.blogspot.com

  • A Fluid Gallery from MySQL using PHP and various column widths

    I have decided to try the new Fluid Layout option in Dreamweaver. I pull information from a database (MySQL) and use php to present it.
    To show a gallery, I would pull the info and use the repeater code, and something like Tom Muck's horizontal repeater script to create a gallery. The images need to be shown with other text-based information (not just a caption). However, the HR script is a set amount of columns - and I want the number of columns to change depending on the width of the browser.
    So it's more than just a gallery - pulling images from a database with Title = "x" these would be a repeated stylised DIV with multiple texts fields and styles within.
    Let's take the example of a car dealership website it must show the car image, year, prices, description etc all in different style fonts so it can just be a caption to the image.
    So the options are:
    A fixed number of columns for each width: Monitor 5, Tablet 3, Mobile 1. Can this be achieved by having a "IF" statement in the actual code, if width = x use this version of the Horizontal Repeater?
    A fluid version that has 6 columns and as you slide the browser's width you can see the gallery's width has less columns until it reaches 1 for mobile.
    The fluid version would be better.
    Any links to a tutorial or example would be most appreciated.
    Many thanks
    HVR

    The only issue with using <divs> instead of a table to create your grid columns is that you will have to set a minimum height on the <divs> to keep them all at the same depth,much like a table cell construction looks and behaves. If you don't set a minimum height the grid will look all ragged PLUS the very big drawback is the <divs> won't clear if another <div> has more content in it which is going to happen if you include a 'description' of the car as this will never be the same length unless you are prepeared to edit the text.
    See fluid sample below: You can just populate the <divs> from your database and loop through them
    <!DOCTYPE HTML>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
    body {
        font-family: verdana;
        font-size: 13px;
    #pageWrapper {
        width: 98%;
        max-width: 980px;
        margin: 0 auto;
        overflow: hidden;
    .imageDetails {
        width: 22.5%;
        float: left;
        margin: 0 0 15px 2%;
        background-color: #CCC;
        padding: 8px 0;
        min-height: 200px;
    dl {
        margin: 0 8px;
        padding: 0;
    dt {
    float: left;
    width: 50%;
    padding: 0 0 5px 0;
    dd {
    text-align: right;
    padding: 0 0 5px 0;
    h3 {
        font-size: 13px;
        margin: 0;
        padding: 8px 8px 5px 8px;
    p {
        margin: 0;
        padding: 0 8px;
    @media screen and (max-width: 760px) {
    .imageDetails {
    width: 30%;
    float: left;
    margin: 0 0 15px 2%;
    background-color: #9F3;
    @media screen and (max-width: 480px) {
    .imageDetails {
    width: 45%;
    float: left;
    margin: 0 0 15px 2%;
    background-color: #FC9;
    @media screen and (max-width: 320px) {
    .imageDetails {
    width: 100%;
    float: none;
    margin: 0 0 15px 0;
    background-color: #9CC;
    </style>
    </head>
    <body>
    <div id="pageWrapper">
    <div class="imageDetails">
    <img src="cars/car_1jpg" alt="">
    <dl>
    <dt>Price</dt>
    <dd>&pound;8500</dd>
    <dt>Year</dt>
    <dd>2009</dd>
    </dl>
    <h3>Description</h3>
    <p>This is a description about the car</p> 
    </div>
    <!-- end imageDetails -->
    <div class="imageDetails">
    <img src="cars/car_1jpg" alt="">
    <dl>
    <dt>Price</dt>
    <dd>&pound;8500</dd>
    <dt>Year</dt>
    <dd>2009</dd>
    </dl>
    <h3>Description</h3>
    <p>This is a description about the car</p>
    </div>
    <!-- end imageDetails -->
    <div class="imageDetails">
    <img src="cars/car_1jpg" alt="">
    <dl>
    <dt>Price</dt>
    <dd>&pound;8500</dd>
    <dt>Year</dt>
    <dd>2009</dd>
    </dl>
    <h3>Description</h3>
    <p>This is a description about the car. This is a description about the car. This is a description about the car.</p> 
    </div>
    <!-- end imageDetails -->
    <div class="imageDetails">
    <img src="cars/car_1jpg" alt="">
    <dl>
    <dt>Price</dt>
    <dd>&pound;8500</dd>
    <dt>Year</dt>
    <dd>2009</dd>
    </dl>
    <h3>Description</h3>
    <p>This is a description about the car</p>
    </div>
    <!-- end imageDetails -->
    <div class="imageDetails">
    <img src="cars/car_1jpg" alt="">
    <dl>
    <dt>Price</dt>
    <dd>&pound;8500</dd>
    <dt>Year</dt>
    <dd>2009</dd>
    </dl>
    <h3>Description</h3>
    <p>This is a description about the car</p> 
    </div>
    <!-- end imageDetails -->
    </div>
    </body>
    </html>

  • Bordercontainer into .jpg file using php

    hi
    i have done one bordercontaine using flex 4.
    that bordercontainer contain one image and label
    i want to store that bordercontainer into jpg using php file
    I give my mxml file and php
    newflexphp.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.graphics.codec.JPEGEncoder;
                import mx.rpc.events.ResultEvent;
                import mx.utils.Base64Encoder;
                //import com.adobe.images.JPGEncoder;           
                import flash.utils.ByteArray;
                import flash.system.System;
                private var bmSave:BitmapData;
                public function resultHandler( event: ResultEvent ):void
                    Alert.show( "Result "+String(event.result) );
                public function saveImg():void{
                    var jpgSource:BitmapData = new BitmapData (bcont.width, bcont.height);
                    jpgSource.draw(bcont);
                    var jpgEncoder:JPEGEncoder = new JPEGEncoder(85);
                    var jpgStream:ByteArray = jpgEncoder.encode(jpgSource);
                    var header:URLRequestHeader = new URLRequestHeader("Content-type", "application/octet-stream");
                    var jpgURLRequest:URLRequest = new URLRequest("http://localhost/jpg_encoder.php?name=sketch1.jpg");
                    jpgURLRequest.requestHeaders.push(header);
                    jpgURLRequest.method = URLRequestMethod.POST;
                    jpgURLRequest.data = jpgStream;
                    navigateToURL(jpgURLRequest);
            ]]>
        </fx:Script>
        <s:BorderContainer x="369" y="171" width="232" height="216" id="bcont">
            <mx:Image x="44" y="14" width="151" height="87" source="images/3.jpg"/>
            <s:Label x="44" y="132" text="Best wishes" width="94" height="44"/>
        </s:BorderContainer>
        <s:Button x="163" y="182" label="Button" click="saveImg()"/>
    </s:Application>
    jpg_encoder.php
    <?php
    if (isset($GLOBALS["HTTP_RAW_POST_DATA"]))
        // get bytearray
        $jpg = $GLOBALS["HTTP_RAW_POST_DATA"];
        // add headers for download dialog-box
        header('Content-Type: image/jpeg');
        header("Content-Disposition: attachment; filename=".$_GET['name']);
        echo $jpg;
    ?>
    now i get the result seketch.jpg file
    but the link is redircted to php
    just i want to convert my bordercontainer into .jpg file using php.
    how can i do .
    regards
    athi

    Try this possible workaround:
    1.— Take your original file (before any edits) and duplicate it.
    2.— Work on the duplicate (exact clone) only.  Do all your Photoshop edits to your heart's content.  (Optional step: save the file, but don't close it so you don't compress the JPEG and deteriorate its quality.)  Do a select all (Command+A on the Mac, Control+A on Windows) to select the entire pixel content of the duplicate, and COPY that.  Now you have your edited image on your clipboard.
    3.— Open the original file, and do a select all on it, but don't copy that!  Instead, DELETE all the pixel content of the original.  Now you have a blank image with only the metadata of the original.
    4.— Paste the contents of your clipboard (the pixels of the edited clone) into the blank original.  Save.
    With any luck, you'll have the edited pixels with the metadata of the original.
    It should work, but there are no guarantees.

  • Center thumbnail in an image using show thumbnail behaviour

    Hi there everybody
    Still having some trouble and no replies from other post so will simplify my question.........
    Is it possible to center a thumb in the middle of an image ?
    or the center of a table cell?
    A thumb that is dynamically generated using the 'show thumbnail' server behavior
    Or..... an image using the ' show image server behavior
    Any help would be great
    Have a nice day

    Hi there Gunter
    thanks for your reply.
    The one site I remember is a jewelry site http://www.mongaglobalexports.com/index.php?cPath=54
    the thumbs they list are surrounded by a colorful frame/border that I think is dynamic...... but I could be wrong... But that is the kind of effect I am looking for ...... instead of a plain thumb floating on a
    background.....
    Hi Sean
    Thanks for your advise
    I have no idea about CSS. It is one of the mannnnny things I am trying to learn at the moment.
    If you could go into a little more detail that would be great or have any link to similar tutorial would be good... but is ok I will get it happening thanks again
    So....anyway this is what I came up with to cheat to get the same result I want
    First I thought about creating a site background in fireworks with all the frames already there and apply it as a background to a table or cell in dreamweaver... and then trial and error with the horrizontal scroller (using transparent spacers to set the gap between the images)
    But I tried a little and quickly figured out is was a nightmare to align the looped images centered in the frames.... So......
    Then I came up with a better way... I hope
    So...... first I get the site happening a 'list product page' that has nine horizontal looped thumbs with a plain background and I upload test pictures (making sure they all exactly the same size) and preview in the browser once I have the site with all the thumbs in the right place I use a screen capture camera to take a photo of my site then I open that file in fireworks and use it as a guide to create a new background image for the site then I send to Dw and apply as background to the site table. then when I preview in browser all the thumbs should be inline with the frames I drew in the background
    the only drawback is that...... I cant take a full screen picture of the site with my screen capture camera because you have to scroll down to see the bottom row of thumbs and that when you upload a new pic that starts a new page ( say every tenth picture, as I display nine thumbs in each record page) the page would only have one pic in a frame but eight empty frames around it .......
    Hm....... and sounds like a really long way go about doing what I thought was a simple thing
    And.... I cant get it to work yet
    SO what do you think of that approach?
    Thanks for your help again
    have a great day

  • Preloading images to browser's cache

    Hi,
    I'm working on a flash gallery project where images are
    loaded through xml file.I have some buttons in the gallery for
    different categories of images to be shown. Is there a way to
    preload images to browser's cache prior to them being called.?,I'm
    using AS2.
    Thanks in advance...

    You can simply load images into an empty movieClip, off
    stage.
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

Maybe you are looking for

  • Cannot print with authentication from acrobat pro on osx

    My company has a printer that requires authentication in the form of a 5 digit "account code", which is entered into the print driver installed on my laptop (OSX 10.9).  My printer service company has saved the account code in my print driver so that

  • Re: Satellite A305-S6872 media control buttons driver?

    Ok, so I just got this laptop on Sunday. It has the media control buttons on it, but they won't work. I've read a few posts about it, saying that I need to download the Control driver.. Well, I spent hours last night looking for it. :\ Anyone have th

  • Downloaded itunes 5 but quicktime doesnt seem to be there.

    OK please help, this has been driving me crazy for about 2 hours! I recently downloaded the newest version of itunes and it said that quicktime 7 would automatically download. I have installed itunes, however whenever I try to open the program an err

  • Unique constraint error on delete/insert

    Hi, I am using Jdeveloper 11.1.1.3.0. I have a ADF table where we can copy lines and delete lines. I get unique constraint error when I save. Looks like the insert operation in happening before the delete operation. Is there a way to set the executio

  • Regd:  Mail delivery whenever we give a Print in SAP.

    Dear All, i have one Query...  we Configured  Mail using  SCOT  t-Code and it is working fine. Now the Requirement is : when ever  end users  create purchase order or invoice creation the  mail should go to the respective  | Authorized Users. Is ther