Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Selecting Specific Part Of Image And Adding Description, Please help
apple
post Nov 25 2006, 01:04 AM
Post #1


Newbie [Level 2]
**

Group: Members
Posts: 31
Joined: 9-August 06
Member No.: 28,049



Many of you would have noticed that on flickr, there's feature that you can select some part of the picture (usually there' a small box) and add description for that part when you upload.
Can someone tell me what kind of feature it is, and how it can be made ? im very keen to learn about that.
I have attached the image below, there' you can see the boxes on the picture.. i want to learn how to make that feature.. please help me.
Thanks.

Sami.

IPB Image
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Nov 25 2006, 03:40 AM
Post #2


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,463
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



Looks like the combination of Tool Tip (jhaslip as written a topic about this) and image layer code to combine two sets of images to form one.

The photo would behave as the background and the Tool Tip overlay acts as the item description.

It would be nice to see if Trap17 master coders can manufacture something similar and post it under Programming section.
Go to the top of the page
 
+Quote Post
jlhaslip
post Nov 25 2006, 06:27 AM
Post #3


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,971
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Hmmmmm.... Image map and the Tooltip Pop-up combination... Might have to have a look at that possibility...
Go to the top of the page
 
+Quote Post
rvalkass
post Nov 25 2006, 09:11 AM
Post #4


apt-get moo
Group Icon

Group: [MODERATOR]
Posts: 2,103
Joined: 28-May 05
From: Hertfordshire, England
Member No.: 7,593
Spam Patrol



Been searching around and by the looks of it no-one has tried anything like it and written a tutorial or any code for it. There are, however, a few similar things that might be of use for some code and ideas.
This uses JS to do a similar thing to Google Maps, so perhaps it could be adapted for any image. I don't have time to go through it, but it might be useful.
This script applies tooltips to the various parts of an imagemap, but there is no box image or indication there is a tooltip there.
Finally, this page goes into a little more detail about applying a fancy tooltip to an imagemap, but again there is no indication that a tooltip is there.
Go to the top of the page
 
+Quote Post
shadowx
post Nov 25 2006, 02:51 PM
Post #5


A clever man learns from his own mistakes, a WISE man learns from those of OTHERS
*********

Group: [HOSTED]
Posts: 939
Joined: 12-April 06
From: Essex, UK
Member No.: 21,719



Using an image map as jlhaslip said you can use the "alt" attribute of a link to display a smal box with text in it but its very uncustomizable. I havent used the tooltip thing so ill leave that for someone else!

The HTML for what i done is simple:

CODE
<CENTER><IMG SRC="hover.bmp" USEMAP="#sitemap" align=center>
<map name="sitemap">
<area shape="rect" coords="85, 160, 325, 190" href="#" alt=Hover>
</map>


Just replace the numbers with the co-ords of the top left and bottom right corner points of the area and the alt message to the text you want. And of course the image SRC needs to be changed. ITs only a very simple example, the tooltip will probably be better
Go to the top of the page
 
+Quote Post
Rap_Speedy
post Nov 25 2006, 03:08 PM
Post #6


Newbie [Level 3]
***

Group: Members
Posts: 49
Joined: 29-October 06
Member No.: 32,450



i bulieve you can do it in many ways. for example in flash or in html coding.

both ways will give a neat effect to a picture. great ideea
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Jan 8 2007, 12:27 PM
Post #7


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,463
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



It's been bugging me how this "effect" didn't have a proper name.

And then this morning, walking down the Vegas Strip, it dawned on me. So I searched. And I think I found the correct term for this effect.

Most commonly used terms is annotating image or parts of image. http://esw.w3.org/mt/esw/archives/000038.html
The correct term, at least I can tell, is Image Region vocabulary http://www.bnowack.de/w3photo/pages/image_vocabs

It's a mixture of XML with coordinates and an image. This is called RDF (Resource Description Framework).

I'm still trying to understand how it is actually achieved but a demo generator in this page is the best I can find:
http://www.kanzaki.com/docs/sw/img-annotator.html

This site selects a region using JAVA script. Then you enter all tags for necessary fields and it generates RDF. And the final image is generated with an ID tag per region previously selected. Then the RDF can be used to describe individually or like the tool tip on the image.

Pretty cool. I hope someone can isolate and strip the source scirpt so that it can be used on anyone's hosting account.

IPB Image IPB Image

A demonstration of page in action: http://www.kanzaki.com/bass/the-giant.rdf
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. My First Image(12)
  2. Image Weaver(0)
  3. For Anyone Who Wants To Have Compact Image Gallery(4)
  4. Move/delete Image On Webpage Automatically?(2)
  5. Image Splicer?(1)
  6. Rollover Image Tutorial(2)
  7. Avoid Image Download(6)
  8. Syndicated Image Feeds(0)
  9. Image Refresh(5)
  10. Image Galleries(10)
  11. Use Cell Background Image On Css?(2)
  12. Making A Scroll Bar In Flash(4)
  13. Help Required Regarding Adding Javascript In A Web(2)
  14. What Is Cms?(13)
  15. Adding Cms To A Website(10)
  1. How Do You Enlarge An Image?(8)
  2. Hoverbox Image Gallery(1)
  3. Adding Second Page Of Cutenews To My Site(2)
  4. My Opinion About Web Design(5)
  5. How Do I Put A Flash Image In My Website(10)
  6. Help With Adding Php Forums On My Site(3)
  7. Image Not Taking The Right Size In Web Page(1)
  8. Adding Drop Down Menus(6)
  9. Image Anywhere(2)
  10. Image Calling Problem Solved(1)
  11. Cascading Windows(5)


 



- Lo-Fi Version Time is now: 30th August 2008 - 05:38 PM