PDA

View Full Version : Tag Clouds



junior84
04-14-2007, 03:05 PM
hello,

does anyone have any good links to tutorials for making tag clouds?

ultimately i want to make photo tag clouds..

so making a cloud made up of photos, there size depending on their popularity with tags, done dynamically, not through prewritten values.

any clues?

Cheers all!:(

pcbrainbuster
04-14-2007, 03:06 PM
Whats a tag cloud ?

junior84
04-14-2007, 03:12 PM
some new craze

haha

i know its lame

mburt
04-14-2007, 03:13 PM
I think junior here wants an image collage...

pcbrainbuster
04-14-2007, 03:28 PM
LOL :) - Then why not just use img tag to place all the images...

junior84
04-14-2007, 03:48 PM
i could do img tags..

then use javascript to give the images the name and size from tags.

any tips for that?

its been so long since ive coded properly and tested myself ive forgotten what i know!!:D

mburt
04-14-2007, 03:50 PM
Depends on where the rank is coming from. Is it a property of the image?
eg.

<img rank="4" ...>

Twey
04-14-2007, 03:51 PM
No, not quite. A "tag cloud" is something like this (http://www.b3ta.cr3ation.co.uk/upload/cloud/).

junior84, you can't do this client-side. You need to use a server-side language such as PHP.

junior84
04-14-2007, 03:54 PM
right (cheers for bearing with an idiot btw)

this is the start of a project, therefore not got a lot to work with..

i want to be able to convert this

http://icant.co.uk/articles/24ways/

so that i can adjust the img sizes that come through depending on certain variables that i will bring it later..

ta

Twey
04-14-2007, 04:52 PM
And what server-side language(s) are you using?

junior84
04-14-2007, 06:45 PM
the example i gave, which i didnt write, is using javascript strangely.

no php or asp

mburt
04-14-2007, 06:47 PM
This is impossible client-side (said before). You need to be able to use ASP or PHP.

thetestingsite
04-14-2007, 06:50 PM
the example i gave, which i didnt write, is using javascript strangely.

no php or asp

The example you gave uses AJAX (a form of javascript) to access this script:



http://flickr.com/services/feeds/photos_public.gne


Then display the results in real-time (using the javascript part). So long story short, it does use a server-side language as you will need to as well.
Hope this helps