Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2002
    Location
    Canada
    Posts
    3,340

    Default Clarification on image ALT tag

    How can I give an image a name so that it would be useful in SEO? So far by naming it under image > Image Caption (Alt Text) or using the name tag option it does not export as the name but rather as a number in HTML export.

  2. #2
    Join Date
    May 2002
    Location
    Canada
    Posts
    3,340

    Default Re: Clarification on image ALT tag

    Also why my images saved as numbers(name)?

  3. #3
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,918

    Default Re: Clarification on image ALT tag

    To give your image a name, select it and hit the Name icon (Like a luggage label) Name:  export.jpg
Views: 119
Size:  1,004 Bytes and name it 'filename=behzad' without the quotes.

    But beware don't do this if your using variants
    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

  4. #4
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,776

    Default Re: Clarification on image ALT tag

    Quote Originally Posted by Egg Bramhill View Post
    But beware don't do this if your using variants
    Could you explain why? Pretend I'm a 5 year old.

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,827

    Default Re: Clarification on image ALT tag

    Xara HTML rendering steps through all objects, shapes and images in the order they are stacked in their layers, giving each a unique numeric reference.
    When you distort,scale, copy tint or add an effect to these, they are no longer the same thing, so Xara reworks its numbers.

    If you are really sure that a thing is unique or repeated on all pages, you can give that a Name, specifically filename="uniqueObject".
    To force it to be a JPEG or PNG you pick either from Web Properties > Image > Web image type.

    Over the years, I have suggested keeping the image filename intact. To achieve uniqueness, Xara could append a number or indicate the changes on each instance...

    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

  6. #6
    Join Date
    Aug 2010
    Posts
    533

    Default Re: Clarification on image ALT tag

    Quote Originally Posted by Chris M View Post
    Could you explain why? Pretend I'm a 5 year old.
    Just say you have an 800px wide image on the desktop variant and the same image is 400px wide on the mobile variant. Then Xara will overwrite the 800px image with the 400px one when you use filename.

  7. #7
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,776

    Default Re: Clarification on image ALT tag

    Got it. Thank you both.

  8. #8
    Join Date
    May 2002
    Location
    Canada
    Posts
    3,340

    Default Re: Clarification on image ALT tag

    Thank you guys, so basically it is useless giving names because nowadays every website has a mobile version. Assigned a name to the image. Results were, the desktop kept its name but mobile had a number. I wonder if Google engines check desktop first and avoid rechecking names for the mobile version in xara?

    I gave the picture a name like suggested above in desktop and also the same name in the mobile version. The results after exporting the HTML is that there is only one image output with that name. Is this correct?
    Last edited by behzad; 06 March 2019 at 01:23 PM.

  9. #9
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,827

    Info Re: Clarification on image ALT tag

    Quote Originally Posted by behzad View Post
    I gave the picture a name like suggested above in desktop and also the same name in the mobile version. The results after exporting the HTML is that there is only one image output with that name. Is this correct?
    Not quite as the mobile version will try to occupy the same WxH as the original.

    What I would do is:

    1. Xara method: use Name, filename="picture_m" for the mobile variant. You end up with an image per variant but you do have a meaningful name
    2. Placeholder method: For the Main, use Name, filename="picture". For the mobile, create a box with code (body):
      Code:
      <img src="picture.jpg" width="100%" height="100%" />
      If you just scale the box, it renders a smaller version, using just one source image. Equally you can stretch or squish the box as you see fit. You only have one named image across all copies/variants thereafter.

    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

  10. #10
    Join Date
    May 2002
    Location
    Canada
    Posts
    3,340

    Default Re: Clarification on image ALT tag

    Acorn your an encyclopedia of knowledge.

 

 

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
  •