Author Topic: Is there a way to disable the zoom icon when using high res images?  (Read 2063 times)

SUSAN

  • Newbie
  • *
  • Posts: 6
Since the mouse cursor changes to the zoom icon anyway when it's over the image, it's not really necessary to show the zoom icon. How do I get rid of it altogether?

Thanks,
Susan

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
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.

SUSAN

  • Newbie
  • *
  • Posts: 6
Re: Is there a way to disable the zoom icon when using high res images?
« Reply #2 on: November 06, 2009, 11:26:15 am »
I suppose I was not clear enough. The icon that appears on the page with the mouseover is fine. I want to remove the big icon that appears in the corner of each page. I know I can control it's position but I don't think it's necessary at all since the mouseover shows that the you can enlarge the image nicely enough! Rightnow I only see ways to change it's position and no matter where I put it, it doesn't look nice. Can I just get rid of it except for the mosue over?

Thanks in advance,
Susan

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Is there a way to disable the zoom icon when using high res images?
« Reply #3 on: November 06, 2009, 01:50:33 pm »
Either we're talking at cross-purposes here, or I suppose you didn't read what I linked ;)

gallerybutton
Type: Boolean
Default: false (or url attribute it Links plugin is loaded)
Determines whether to show the button to open the gallery or not. Hidden per default, unless the Links plugin is loaded, and the element is linked (url attribute set).

I.e. use <img gallerybutton="false" ...>.
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.

SUSAN

  • Newbie
  • *
  • Posts: 6
Re: Is there a way to disable the zoom icon when using high res images?
« Reply #4 on: November 06, 2009, 05:05:12 pm »
I did read the documentation and setting the gallerybutton="false" did not remove it from the page since I am using the hires images. This is my code:

<page>
<img src="img/APage_01.jpg" hires="img/Ab_Page_01.jpg" gallerybutton="false" aa="true" width="424" height="600"/>
</page>

Is there a way to remove the magnify icon from appearing inn the corner of tha page and ONLY appear when the mouse is over the page?

Thanks!

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Is there a way to disable the zoom icon when using high res images?
« Reply #5 on: November 06, 2009, 10:10:24 pm »
I see. The gallerybutton attribute is bugged at the moment. Leave it away and the button should not be displayed (defaults to invisible anyway). Alternatively use gallerybutton="".
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.

SUSAN

  • Newbie
  • *
  • Posts: 6
Re: Is there a way to disable the zoom icon when using high res images?
« Reply #6 on: November 06, 2009, 11:01:18 pm »
At first I did not include gallerybutton and the image still appeared. I tried to use gallerybutton="" and it till appears! It seems that as long as there is a hires image used that it appears. I need to have hires images... And yes, it seems perfectly logical to me that one using the hires option would want this... but my client doesn't... So, the trick is, to have it appear as the default but be able to 'neutralize' it on specific/all pages... Nothing seems to work! I am using megazine3.


Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Is there a way to disable the zoom icon when using high res images?
« Reply #7 on: November 06, 2009, 11:25:33 pm »
That's odd. If you're not linking the image (i.e. the XML is exactly as you posted above) leaving the attribute away or setting it to "" it should most definitely work...

Well, as a last resort you can still remove the definition of the button from the gallery.asul file (remove the tag with  id="btn_open_gallery").
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.

SUSAN

  • Newbie
  • *
  • Posts: 6
Re: Is there a way to disable the zoom icon when using high res images?
« Reply #8 on: November 07, 2009, 10:08:29 am »
Hi,

I AM linking the images to their hires versions - doesn't that count as a link?  I did try what you said and it does not work! I am using V1.38.  I can't find the other files you mentiond so probably something is really wrong... or we are speaking baout using this thing in different ways! Can I send you the files I am using somehow? I can put them on an FTP server for you if you want.

Thanks.


Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Is there a way to disable the zoom icon when using high res images?
« Reply #9 on: November 09, 2009, 02:08:41 am »
Ah, 1.38. It was named the gallerybutton attribute is called "showbutton" there and has the reverse effect :P

Try <img showbutton="false" .../>
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.