Welcome to Geeklog, Anonymous Sunday, March 23 2025 @ 07:38 am EDT
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
Rob
7
11
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
bye, Dirk
9
7
Quote
All times are EDT. The time is now 07:38 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