Naming alt tag

Post Reply
smartstud
Posts: 7
Joined: 14 Sep 2020, 11:09

Naming alt tag

Post by smartstud » 13 Nov 2022, 12:56

Template is:
https://www.webimagedownloader.com/temp ... ownloader/

The code:
<a class="pin" href="pics/Lidia+Nene+nude+boobs+and+hairy+bush+at+La+piel+en+llamas:af01385aa5d572dd27cc4312e62df9ee:L:X">
<img alt="Lidia Nene nude boobs and hairy bush at La piel en llamas" data-src="thumbs/a/f/0/af01385aa5d572dd27cc4312e62df9ee.jpg" src="thumbs/a/f/0/af01385aa5d572dd27cc4312e62df9ee.jpg" height="301"></a>


But alt naming does not work.

Maksym
Site Admin
Posts: 2077
Joined: 02 Mar 2009, 17:02

Re: Naming alt tag

Post by Maksym » 14 Nov 2022, 11:28

This template uses a Custom Parser to create a full-size image URL from a thumbnail URL, so the resulting URL is not a part of the <img ...> tag anymore. That's why naming with the alt="..." tag doesn't work.

But you could modify the Custom Parser to add the content of the alt tag to the end of the resulting full-size image URL to make it look like this:

/images/.../somthing.jpg?filename=CONTENT_OF_ALT_TAG_HERE

Expression: alt="([^"<>]+)"[^<>]+="thumb(s/[^"]+)"
Result: image[#2]?filename=[#1]

and then in the [ Naming ] section of the project properties select [Use query string for file name] option, check the [ Use value of this parameter for file name ] box and enter "filename" in the corresponding field:

Image

Post Reply