Welcome to TalkGraphics.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2009
    Posts
    4

    Post How to force XWD to reuse the same image

    I have an image that reoccurs on multiple pages. XWD makes a PNG for each image, and gives them each a different name, even though I've pulled them all from the same file in the Bitmap Gallery. This also happens if I reuse the same Xara vector object (using cut and paste).

    For the best performance I would like the image to transfer to the users browser once, then access it from the browser cache for the other pages.

    Anyone know how I can force this without editing each HTML page manually?

    Thanks!
    Iboy
    IP

  2. #2
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: How to force XWD to reuse the same image

    Make sure that all your copies of the same object are exactly pixel aligned.
    John.
    IP

  3. #3
    Join Date
    Mar 2009
    Posts
    4

    Thumbs up Re: How to force XWD to reuse the same image

    Thanks John. That did the trick.

    Since I have different size Web pages, and since XWD's default is to show the zero Y coordinate at the bottom of the page, I had to:
    • Page Options
    • Grid and Ruler
    • Check mark 'Coordinate directions' 'Y increases -- Downwards'


    I had to do it for each page, but it only took a minute. I set the graphic to the same X & Y coordinate like you said, and Voila -- I just decreased my site size by a lot.

    Thanks!
    Iboy
    IP

  4. #4
    Join Date
    Mar 2005
    Location
    Andover, Massachusetts, USA, Earth, Milky Way, Universe
    Posts
    427

    Default Re: How to force XWD to reuse the same image

    Does using REPEATABLE OBJECTS use the same image as well?
    -h
    ===============
    (a.k.a.) Bobby Harris
    IP

  5. #5
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: How to force XWD to reuse the same image

    Quote Originally Posted by dogbertbh View Post
    Does using REPEATABLE OBJECTS use the same image as well?
    Yes.
    John.
    IP

  6. #6

    Default Re: How to force XWD to reuse the same image

    What about using the same small image in numerous positions?
    Normally this is simple. <img src=blob.png> for each position.
    With WD if I use blob.png 20 times on a page, but in different positions, I get 20 exported images.
    IP

  7. #7
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: How to force XWD to reuse the same image

    Quote Originally Posted by sledger View Post
    What about using the same small image in numerous positions?
    Normally this is simple. <img src=blob.png> for each position.
    With WD if I use blob.png 20 times on a page, but in different positions, I get 20 exported images.
    If your image has a whole pixel size and is pixel aligned in different positions you should get one copy exported.
    John.
    IP

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •