Author Topic: Active MAPs of JPGs?  (Read 1469 times)

Pesonen

  • Newbie
  • *
  • Posts: 3
Active MAPs of JPGs?
« on: May 05, 2009, 08:42:14 am »
I would like to create some easy book where each page would be made by only small JPG (preview mode) + hires JPG (zoom mode). Is there some easy way to make active <A> some parts of JPGs in zoom mode? I mean something like HTML tags <IMG USEMAP> <MAP> <AREA COORDS>... Thanx for reply and sorry for bad English.

marison

  • Jr. Member
  • **
  • Posts: 42
Re: Active MAPs of JPGs?
« Reply #1 on: May 05, 2009, 01:42:43 pm »
Take a look and "area" attribute in the tutorial. There you can set several links on a page
http://megazine.mightypirates.de/xml/?l=en

Pesonen

  • Newbie
  • *
  • Posts: 3
Re: Active MAPs of JPGs?
« Reply #2 on: May 06, 2009, 11:42:47 am »
Probably I do something wrong and it doesn't work.
And there is written about element area: "Used to overlay pages with areas to provide tooltips and links based on areas, not on images." So probably it doesn't work with images. Any another idea?


marison

  • Jr. Member
  • **
  • Posts: 42
Re: Active MAPs of JPGs?
« Reply #3 on: May 06, 2009, 01:18:47 pm »
I'm using it to create link areas over images and it worked very well.
example below:

<page  id="id283" anchor="anch283" >
 <img src="image.jpg" hires="image_big.jpg" gallery="pages" showbutton="false" />
<area  left="237"  top="112"  width="52"  height="14"  url="http://www.google.com"  title="Website"  overlay="0xBFE9F195" />
</page>

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Active MAPs of JPGs?
« Reply #4 on: May 06, 2009, 07:44:23 pm »
The "not on images" just means the area doesn't load an image, not that it's incompatible with images ;)
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

Pesonen

  • Newbie
  • *
  • Posts: 3
Re: Active MAPs of JPGs?
« Reply #5 on: May 07, 2009, 08:04:54 am »
Thanx much for your replies.
Now it works well but only with links to another pages (<area ... url="anchor:anch283"> + <page anchor="anch283">).
Links to web (<area ... url="http://www.google.com">) don't work.
Probably I do still something wrong. Any idea what?

And another question - is there any possibility to make these active areas also in zoomed (resize) mode?

marison

  • Jr. Member
  • **
  • Posts: 42
Re: Active MAPs of JPGs?
« Reply #6 on: May 07, 2009, 12:51:57 pm »
Maybe that's because you are testin in your own machine? Upload your application to a server, then external links may works

About links at zoom mode, I guess it was already asked to Florian.. and a lot of people would appreciate it too. If we think about marketing and sponsors market, a megazine would want to create some sponsors spaces on the page with these links, and it doesn't make sense for them trying to sell a space only on reduced image.

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Active MAPs of JPGs?
« Reply #7 on: May 12, 2009, 09:47:40 am »
Regarding the links in zoom: please keep in mind that the current zoom is actually more of a gallery function, so that's not really possible. You can still create links in the swfs you use as the hires image, though, and start out fully zoomed in to have them clickable (when zoomed out the dragging takes precedence).
I did an implementation of a different kind of zoom (actually scaling the whole book, loading hires variants directly into the pages) for someone, but that is rather specific to their environment, so I can't simply port it. I may add something like it to the engine some day, but no promises...
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.