Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

IMG alt from image not from title

  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 2600:1017:a410:a771:4cee:cb75:918a:48eb 2 years 3 months ago - 2 years 3 months ago #6096 by syw
Hello,

I wanted to include it in the release but I had to come up with 7.2 as soon as possible so I did not get the chance to include the fix to 'alt' in it.
I made it a priority for the next release.
I am sorry I could not fulfill my initial plan.

Olivier.
Last edit: 2 years 3 months ago by syw.
  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 75.214.20.245 2 years 3 months ago #6100 by syw
I have implemented the feature for 7.3. However, this required major changes in the code and needs to be tested thoroughly.
The use of the original 'alt' attribute for an image is going to be an option, turned off by default. Some users may want to keep the article title as default. If no 'alt' attribute is present for the original image, or the 'alt' was tagged as 'not descriptive', the title is used instead.

The changes also allowed me to implement a feature I meant to add a long time ago: opt-out images that have a size under a specific threshold. So that, for instance, the extension would not pick an image that has less than 10 pixels in width or height, considering the threshold being 10.

If you are interested in testing it, please drop me an email at [email protected].

Olivier.
  • waro
  • waro's Avatar Topic Author
  • New Member
  • New Member
More
IP: 77.65.53.162 2 years 3 months ago #6101 by waro
Great news to start new week. Sure if possible i would like to take it for testing so i will send you an email :)
  • waro
  • waro's Avatar Topic Author
  • New Member
  • New Member
More
IP: 77.65.53.162 2 years 3 months ago #6102 by waro
btw. the feature to opt-out images looks also nice. Tell me if I understand correctly. If I have text with emoji in it and I have an image under the content. So the header image will be the image below the content and not the emoji?

my header image setting are: intro -> full -> image from content

and when i place emoji in text i have to add intro or full image because if not there will be stretched emoji in blog view :)
  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 75.214.20.245 2 years 3 months ago - 2 years 3 months ago #6103 by syw
That is exactly it! There is a caveat though: the emoji image needs to have a width or height attribute. To remain performant, I can't really load every image and test it, it only checks attributes.

Olivier.
Last edit: 2 years 3 months ago by syw. Reason: typo