Welcome to TalkGraphics.com
Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1

    Default Reducing image size when it's shared across variants

    Hi all,
    Apologies for yet another question. I'm trying to reduce the size of some of the images I have on my pages. These are shared between my 'desktop' and my 'mobile' variants. If I change the image sizes using the 'Utilities>Optimise all images' option, does this change the image size across both variants? Or would I need to be looking at the destktop version and it changes only the image size for that variant? I figure (possibly incorrectly) that I need the larger size for the 'desktop' variant but can ramp down the image quality for the smaller viewing size 'mobile'.

    Or am I better 'unsharing' the image across variants and reducing the mobile variant version accordingly?

    Hope this makes sense. I'm currently getting a Chrome audit of 67 percent on my home page. (Thanks for that tip https://www.talkgraphics.com/showthr...SEO-fo-xara-WD Gary)

    Yours,
    Robert

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,814

    Default Re: Reducing image size when it's shared across variants

    As far as I can determine, you XDA is smart enough not to care that you have shared across variants or that you have optimised all photos.
    The XDA is optimising the image in the Bitmap gallery and then all your instances (e.g., Main & Mobile) are constructed from that.

    The only way to separate this out is to create a Bitmap Copy.

    I therefore believe you are good to go without altering anything.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  3. #3
    Join Date
    Mar 2018
    Location
    Morelos, Mexico
    Posts
    236

    Default Re: Reducing image size when it's shared across variants

    In my experience, “Optimize all” will treat the images in the two variants independently… unfortunately, even if they are not different sizes. Each will be optimized for the size at which it appears in its variant. (as Acorn indicates) So, you’ll end up with two files for the image when you export (one for each variant), and two more (x2) if you select export retina bitmap.

    If the files are identical in size for the two variants, you can give the two copies a shared filename, and it will only export one copy. Be careful, however, because if you use a shared filename, and then you later decide to resize one of them without deleting the name, one of them will overwrite the other, and one of your variants will show the wrong size image.

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,814

    Default Re: Reducing image size when it's shared across variants

    Quote Originally Posted by gcellison View Post
    In my experience, “Optimize all” will treat the images in the two variants independently… unfortunately, even if they are not different sizes. Each will be optimized for the size at which it appears in its variant. (as Acorn indicates) So, you’ll end up with two files for the image when you export (one for each variant), and two more (x2) if you select export retina bitmap.

    If the files are identical in size for the two variants, you can give the two copies a shared filename, and it will only export one copy. Be careful, however, because if you use a shared filename, and then you later decide to resize one of them without deleting the name, one of them will overwrite the other, and one of your variants will show the wrong size image.
    A good answer, which I omitted as it has the stated shortfall.The new XDPXv17.0 Image Filename does get around this difficulty if the images are identical (only scaled) but introduces new images for any crop or rotation.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  5. #5
    Join Date
    Mar 2018
    Location
    Morelos, Mexico
    Posts
    236

    Default Re: Reducing image size when it's shared across variants

    Quote Originally Posted by Acorn View Post
    A good answer, which I omitted as it has the stated shortfall.The new XDPXv17.0 Image Filename does get around this difficulty if the images are identical (only scaled) but introduces new images for any crop or rotation.

    Acorn
    Very good to know. I haven't explored the intricacies of the new filename option yet. I'll keep your advice in mind.

  6. #6
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,916

    Default Re: Reducing image size when it's shared across variants

    Optomizing images has no effect on the produced web image, it merely reduces file size of a saved .xar or .web file.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  7. #7
    Join Date
    Mar 2018
    Location
    Morelos, Mexico
    Posts
    236

    Default Re: Reducing image size when it's shared across variants

    Quote Originally Posted by Egg Bramhill View Post
    Optomizing images has no effect on the produced web image, it merely reduces file size of a saved .xar or .web file.
    Perhaps it has changed. When I began using WDP v10, I didn’t optimize images for the website export that I published the first time. When I accessed the site on line, the images took too long to download. Afterwards, I optimized all images, and the time was more typical.

    I checked the file sizes, and indeed, WDP had exported them much larger before optimization.

    In other words, optimization reduced the size of the bitmap stored with the project (.web / .xar), but it also determined the resolution of the images exported for the internet.

    If that’s no longer the case, Xara must have changed the functioning of the website export tool.

  8. #8
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,814

    Default Re: Reducing image size when it's shared across variants

    Quote Originally Posted by Egg Bramhill View Post
    Optomizing images has no effect on the produced web image, it merely reduces file size of a saved .xar or .web file.
    That is true Egg, until you decide to double the size of the image on the page.

    Always keep a master image for backup.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  9. #9
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,916

    Default Re: Reducing image size when it's shared across variants

    Yes, agree there Acorn so I rarely use the optimise option.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  10. #10
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,916

    Default Re: Reducing image size when it's shared across variants

    If that’s no longer the case, Xara must have changed the functioning of the website export tool.
    I can't recall any changes but I'm of an age were I can't recall much at all these days. The current position is that optimising images within the xar/web file reduces the images resolution to 192 ppi when saving to file to your HD.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

 

 

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
  •