Jump to content
TNG Community

Possible to show Default Image thumb in Public person list?


SarahBeth

Recommended Posts

When I search inside the "People" tab in the Admin area, I get a really nice view of the default image thumb on any individuals with media. Like this:

image.png

Is there an option to have the "Thumb" show in the regular public name list? It currently looks like this when a non-Admin is looking:

image.png

Thanks! 

Link to comment
Share on other sites

  • Replies 76
  • Created
  • Last Reply

Top Posters In This Topic

  • Michel KIRSCH

    25

  • tngrlkrz

    12

  • Ken Roy

    9

  • klooster

    7

Top Posters In This Topic

Posted Images

Michel KIRSCH

Hi Sarah,

no option is provided to do that. Must be a Mod...

Michel

Link to comment
Share on other sites

Thanks for the answer. I really like the option of seeing the thumbs. In a long list of the same names (I've got a lot of Johns and Richards), it helps to see the thumbs to lead you to more complete pages and key ancestors. 

Link to comment
Share on other sites

4 hours ago, Michel KIRSCH said:

try this and let me know...

Michel

Michel,

Please, please do NOT add color font to

%name:<font color="Red"><i>Add thumb to search result</i></font>%
%version:<font color="Red"><i>v13.0.4.beta1</i></font>%

Those of us you do not have perfect vision or are visually impaired (color-blind) have a difficult time to read those type of changes

Thanks

Link to comment
Share on other sites

Michel KIRSCH

Hi Ken,

I add color for the beta versions.

Offical versions are not colored, of course.

What color can i Add for you? Certainly depending of the background...

Maybe bold and italic...

 

Michel

Link to comment
Share on other sites

Michel,

There is no reason to add any color if you use beta in the version number and cfg file names. 

I know most users do not understand being color-blind.  I asked and it cannot be corrected during cataract surgery

Link to comment
Share on other sites

Hi Michel,

Thanks for the mod, works fine, BUT when I click on the thump is does NOT show the photo but the TNG login screen (when I am not logged in)??

PS: when I am logged in it shows theTNG admin page for the person

Link to comment
Share on other sites

Michel KIRSCH

Yes Cees,

Actually, when clicking on the thumb, you are redirected to the Edit-media page.

It's why you are asking for log in.

I think it's better for the user's side to redirect to the "View media" page.

If you're ok with that, i'll check and propose another mod.

Michel

Link to comment
Share on other sites

Hi Michel,

From a users viewpoint to redirect to the”view media” page would be a better idea in my opinion.

Link to comment
Share on other sites

Rob Severijns

Hi Michel,

So only the guest and submitter go to the Login or view media page and all others go to the Login or Edit Media page?

Rob

 

Link to comment
Share on other sites

Michel KIRSCH

Hi Rob,

I change the behaviour of the link.

When clicking on the thumb, every connected user goes to the showmedia page.

Administrator goes to the admin_editmedia page via the Administration panel as usual.

I send you he new mod by pm

Michel

Link to comment
Share on other sites

Michel,

Your v13.0.4.1s version of the mod looks good and handles the old style default (treeID.personID.jpg) thumbnails correctly and does not attempt to go to showmedia.php. 

Well done

Link to comment
Share on other sites

Thanks Sarah for making the suggestion.

And Thanks to Michel,  as Captain Picard would say,  'making it so'.  Nice little mod with a few well placed code lines which even work on my modified search page, which includes Scott DuPree's  powerful Expand_Search mod. 😊 

Link to comment
Share on other sites

Michel KIRSCH

Hi Ron,

I just send a new version of Expand search to Scott with small changes to avoid PHP8 notices and warnings... :-)

Michel

Link to comment
Share on other sites

Hi Michel,

Thanks for helping Scott. Yes I noticed the warnings from the mod and look forward it's publication. There are of course numerous other mods that will need changes for PHP8 compliancy.  I have been working on my private changes with PHP 8.07.

BTW...you have an uppercase letter in the cfg file name, which is unconventional, and the download link doesn't indicate the full name, just the version.😉

Link to comment
Share on other sites

20 hours ago, Michel KIRSCH said:

The version 1a of the Mod, showing the media in showmedia.php instead of admin_editmedia.php is downlodable on the wiki
https://tng.lythgoes.net/wiki/index.php/Add_thumb_to_search_result

Michel

Hmm...I'm seeing the page on the wiki say 1a, but the file I'm getting when downloading is still 13.0.4.1?Screen Shot 2021-06-28 at 5.39.15 PM.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...