It is currently April 19th, 2024, 6:21 pm



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Nfo image template.
PostPosted: March 9th, 2022, 8:49 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
i have video file with .nfo file.

{#nfoImage#} does this keyword using "Video" section =>"Template" => "Preview" tab?

currently i using
Code:
[url={#imageDirectUrl#}][img]{#imageThumbUrl#}[/img][/url]


for nfo i would like to get
Code:
{#imageDirectUrl#}
only

possible to use any regex replacement like

Input
Code:
[nfo][url=https://img69.pixhost.to/images/34/269633883_uf1cp58nj4fk.jpg][img]https://t69.pixhost.to/thumbs/34/269633883_uf1cp58nj4fk.jpg[/img][/url][/nfo]



Output
Code:
https://img69.pixhost.to/images/34/269633883_uf1cp58nj4fk.jpg


i added [nfo] code for starting and end. so preview image link will not conflict


Top
 Profile  
Reply with quote  
 Post subject: Re: .nfo image template
PostPosted: March 9th, 2022, 9:56 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12641
Location: Earth
Yes, it's using the "Preview" template for {#nfoImage#}.

You can do that with replacement.

Search for:
Code:
\[nfo\]\[url=(.+?)\].+?\[/nfo\]


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Nfo image template.
PostPosted: March 10th, 2022, 6:33 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
thanks :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC