Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 03:28 am EST

Geeklog Forums

thumbnails in plugin


Status: offline

rgelbman

Forum User
Newbie
Registered: 01/08/04
Posts: 7
I'm writing a plugin and would like to include screen captures. I'd like to display the screen captures as a thumbnail but only store fullsize images on the server. The thumbnails will be linked to the fullsize images so if you want to see more detail you can. I know that geeklog uses functionality like that for user photos and was wondering how I would go about integrating that functionality into my plugin. I have netpbm installed and functioning.

Rob
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The actual scaling of the image is handled by the upload class (system/classes/upload.class.php). Since thumbnails are only supported for images in stories (not for userphotos), you should have a look at admin/story.php to see how it's done.

bye, Dirk
 Quote

All times are EST. The time is now 03:28 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content