TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,993
  • Total Topics: 21,324
  • Online today: 400
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 271
  • Total: 271

Display PIC from respective topic for Picture plus article - front page

Started by vas, August 18, 2009, 04:42:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bloc

There would be no distortion if css background property is used for them - but there will be cropping, which might actually not look so bad.Extracting the first [img] tag is trickier and will slow down the script, likewise adding custom option for every topic - that rather belongs in a better frontpage manager/module for TP where for example caching would be done to minimise this. In addition also mixing in RSS feeds to supply the text/images. As stated elsewhere I have plans for such a module.

I will investigate how much is involved in adding this option for "forum only" for frontpage though, as its already fetching the authors avatar for each topic, adding the first attachment will not mean adding too much overhead I suspect.


This website is proudly hosted on Crocweb Cloud Website Hosting.