Home | Community | Message Board


This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Shop: Kraken Kratom Red Vein Kratom   Myyco.com Golden Teacher Liquid Culture For Sale   PhytoExtractum Buy Bali Kratom Powder   Unfolding Nature Unfolding Nature: Being in the Implicate Order

Jump to first unread post Pages: 1
OfflineFeelers
Anti-Myth-Rhythm-Rock-Shocker
Male User Gallery

Registered: 06/18/02
Posts: 1,806
Loc: Land of Oz
Last seen: 5 years, 10 months
HTML code for thumbnails of photos.
    #5986017 - 08/22/06 07:19 AM (17 years, 6 months ago)

Just wondering if there is a way to have thumbnails created for non-shroomery images.

For example - I want to post a picture of say, earth in full size, I dont want to put such a large image in the thread, but I also dont want just a link either.
I see that when you upload a photo into your gallery the shroomery automatically creates a seperate thumbnail. There is also a way to do this with HTML, but HTML has been disabled for everyone other than mods.
Do you think you could make a set of tags - eg; [thumbnail]www.somemassivepicture[/thumbnail] that coud achieve this?
Or is there already another way to do this?

Cheers, you guys do an excellent job btw. :laugh:

Extras: Filter Print Post Top
OfflineAnnoA
Experimenter
 User Gallery

Folding@home Statistics
Registered: 06/17/99
Posts: 24,166
Loc: my room
Last seen: 9 days, 17 hours
Re: HTML code for thumbnails of photos. [Re: Feelers]
    #5986027 - 08/22/06 07:32 AM (17 years, 6 months ago)

In order to do this, you would need a thumbnail image created along the image. HTML has nothing to do with it, the thumbnail image has to exist in order to be able to link to it.

A free image upload that creates thumbnails is www.imageshack.us .

Extras: Filter Print Post Top
InvisibleKrishna
कृष्ण,LOL
 User Gallery

Registered: 05/08/03
Posts: 23,285
Loc: oakland
Re: HTML code for thumbnails of photos. [Re: Anno]
    #5986621 - 08/22/06 12:33 PM (17 years, 6 months ago)

could you use ImageMagick::Thumbnail somehow? i've never tried to get it to do off-server cacheing, but could see some complex system where <img src="https://proxy.mind-media.com/proxy.php?url=http%3A%2F%2Fmydomain.com%2Fimage.jpg%3F100"> calls the thumbnail script, saving a thumbailed copy of the off-site image to your servers.

something like

Code:

#!/usr/bin/perl

use Image::Magick::Thumbnail;

my $src = new Image::Magick;
my $imageLocation="http://mydomain.com/image.jpg";
$src->Read($imageLocation);
my ($thumb,$x,$y) = Image::Magick::Thumbnail::create($src,100);
$thumb->Write('/path/to/cachedir/source_thumb.jpg');




(but of course reading in the $imageLocation, as well as the thumbnail size)


--------------------



Extras: Filter Print Post Top
Jump to top Pages: 1

Shop: Kraken Kratom Red Vein Kratom   Myyco.com Golden Teacher Liquid Culture For Sale   PhytoExtractum Buy Bali Kratom Powder   Unfolding Nature Unfolding Nature: Being in the Implicate Order


Similar ThreadsPosterViewsRepliesLast post
* done but with errors on page backupwards 1,251 3 02/10/06 12:42 AM
by Ythan
* Having problems veiwing site with Mozilla Firefox Lana 3,536 11 10/07/04 12:55 PM
by Lana
* Question about ratings system.
( 1 2 3 all )
Anonymous 8,868 46 12/08/04 09:29 PM
by geokills
* photography forum. kadakuda 2,447 9 12/15/04 11:28 PM
by kadakuda
* Loggin in upon each visit... myndreach 1,073 3 07/06/05 01:55 PM
by myndreach
* login Mindzpore 1,897 8 08/09/05 02:59 PM
by Mindzpore
* Declaration of Intention
( 1 2 3 4 5 6 all )
YthanA 12,644 118 05/21/10 05:00 AM
by teknix
* main forum page changes nonick 1,747 3 12/22/05 08:43 PM
by nonick

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Ythan, Thor, Seuss, geokills
1,011 topic views. 0 members, 0 guests and 1 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2024 Mind Media. Some rights reserved.

Generated in 0.02 seconds spending 0.004 seconds on 12 queries.