spooky2280 wrote: BigDaddy96 and Fr0zen, the File Attachment MOD has a thumbnail feature for images:
http://www.opentools.de/docs/user_guide.html#howthumbs
If you want to make thumbnails for offsite images posted with BBCode, you should look into these server-side MODs:
http://www.phpbb.com/phpBB/viewtopic.php?t=224522
http://smartor.is-root.com/viewtopic.php?t=3021
The first one will show you how to get the size of offsite images and the second one will show you how to make a thumbnail out of them with the GD library. The source code of the File Attachment MOD can also teach you how to make thumbnails with the GD library.
You can also look up the source code of Gallery:
http://gallery.sourceforge.net/
You will learn everything you need in there.
spooky2280 wrote: Cryomenace and SweetLou read this this post:
Code: Select all
#
#-----[ FIND ]------------------------------------------
#
<!-- start mod : Resize Posted Images Based on Max Width -->
<script type="text/javascript">
//<![CDATA[
<!--
var rmw_max_width = 600; // you can change this number, this is the max width in pixels for posted images
var rmw_border_1 = '1px solid {T_BODY_LINK}';
var rmw_border_2 = '2px dotted {T_BODY_LINK}';
var rmw_image_title = '{L_RMW_IMAGE_TITLE}';
//-->
//]]>
</script>
<!-- fin mod : Resize Posted Images Based on Max Width -->
#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- start mod : Resize Posted Images Based on Max Width -->
<script type="text/javascript">
//<![CDATA[
<!--
if (window.screen && window.screen.width)
{
var rmw_max_width = window.screen.width - 250; // you can change this number, this is the max width in pixels for posted images
} the max width in pixels for posted images
var rmw_border_1 = '1px solid {T_BODY_LINK}';
var rmw_border_2 = '2px dotted {T_BODY_LINK}';
var rmw_image_title = '{L_RMW_IMAGE_TITLE}';
//-->
//]]>
</script>
<!-- fin mod : Resize Posted Images Based on Max Width -->
Code: Select all
if (window.screen && window.screen.width)
{
var rmw_max_width = window.screen.width - 250;
}
Jerry Seinfeld wrote: The thing I don't understand about the suicide person is the people who try to commit suicide, for some reason they don't die, and that's it. They stop trying. Why don't they just keep trying? What's changed? Is their life any better now? No. In fact, it's worse, because now they've found out here's one more thing you stink at. And that's why these people don't succeed at life to begin with. They give up too easy. I say, pills don't work? Try a rope. Car won't start in the garage? Get a tune-up. There's nothing more rewarding that reaching a goal you've set for yourself.
Code: Select all
Removed due to problem with long subject titles.
Code: Select all
Removed due to a problem with long subject titles. Will replace when I discover a fix.