Image previews in "View the most recent posts on the forum"

  • 4 Replies
  • 286 Views

0 Members and 1 Guest are viewing this topic.

Offline Softology

  • *
  • Fractal Phenom
  • ****
  • Posts: 47
« on: May 29, 2018, 12:49:54 AM »
Why do only some images in threads show up in the "view most recent posts on the forum" list and others do not?

It used to be all images within the new posts would show up.  If I saw something interesting I could then click to open the thread for more info.  Now, unless I open every thread in a new tab I do not know if there is an interesting image with it.

Having all the images makes checking for new content a quick scroll through a few pages rather than individually opening threads.

It would be nice to have the old way back.


Linkback: https://fractalforums.org/discuss-fractalforums/5/image-previews-in-view-the-most-recent-posts-on-the-forum/1377/

Offline 3DickUlus

  • *
  • 3f
  • ******
  • Posts: 1656
    • Digilantism
« Reply #1 on: May 29, 2018, 05:48:15 AM »
I've just been looking at the "recent posts" page at FF1 and it seems the same as FF2 ??? images in BBCode tags [img]...[/img] and vid links [vimeo]...[/vimeo] show up but I think attachments don't.

Can you point me at an example in "view most recent posts on the forum" list? ie:one that shows the image at FF1 and the same type not showing at FF2 where both are links or both are BBCode or attachments ?

Offline Softology

  • *
  • Fractal Phenom
  • ****
  • Posts: 47
« Reply #2 on: May 29, 2018, 06:32:56 AM »
OK, my mistake then.  I assumed all the images showed up no matter how they got attached/linked.

It must be the case that more people use the attachment now rather than linking.

You can ignore this request (unless there is a way to enable attached images to be previewed)?

Jason.

Offline Fraktalist

  • *
  • Administrator
  • *******
  • Strange Attractor
  • Posts: 1164
« Reply #3 on: May 29, 2018, 10:58:57 AM »
indeed, attachements don't show in the recent posts list. doesn't work currently.
3d, if you have an idea how to change this, feel free to give it a try.

Offline 3DickUlus

  • *
  • 3f
  • ******
  • Posts: 1656
    • Digilantism
« Reply #4 on: May 30, 2018, 03:27:07 AM »
Pseudo code ;)

...find the bit of php code that displays "recent posts" list ;
...scan posts for attachments ;
...if image file extension exists, locate the thumbnail(s) for (all) attachment(s) that is(are) image(s) ;
...inject thumbnail references into each item in the  "recent posts" list  ;

something like that, not terribly complicated but every time I customize the source the chance that the install/uninstall routines of some mod/package will break :(

...but it is a good idea...thinking about it :)
« Last Edit: May 30, 2018, 06:18:28 AM by 3DickUlus »