• [TUT] Tooltip for Thumbnails 4 0 5 1
Currently:  

Author Topic: [TUT] Tooltip for Thumbnails  (Read 121108 times)

0 Members and 1 Guest are viewing this topic.

Offline uli480

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [TUT] Tooltip for Thumbnails
« Reply #45 on: June 15, 2010, 01:22:43 PM »
Wo kann ich Walter Zorns Tooltip herunterladen?
Seine Hompepage ist leider offline.

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [TUT] Tooltip for Thumbnails
« Reply #46 on: June 15, 2010, 05:39:59 PM »
I was surprised to read your post since I had used the link just two months ago.  After some research on the web, I found some posts that said Walter Zorn had passed away last year and apparently the web hosting had expired.

I found this archive link where you can still download the the tooltip:

http://web.archive.org/web/20080103025045/www.walterzorn.com/tooltip/tooltip_e.htm

If anyone who has enjoyed the tooltip has any idea how we can preserve this knowledge, please speak up!

I still have two unresolved posts (on page 4) in this topc on how to make the tooltip work for:
1. thumbnails that appear in remote images uploaded by url (topic 6921.0) but the image won't preview in tooltip
2. thumbnails that appear in the last comments received MOD (topic 15701.0) but the image won't preview in tooltip

- Brian
« Last Edit: June 15, 2010, 11:55:14 PM by surferboy »

Offline ivan

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.279
    • View Profile
    • Bilder Gallery
Re: [TUT] Tooltip for Thumbnails
« Reply #47 on: June 16, 2010, 09:05:25 AM »
@uli480
Irgendwo habe ich die Version noch auf dem PC ...
Die im obigen Post ist eine alte Version!

Gruss Ivan
greetings / grüsse
ivan

Facebook Fan Page | Follow Twitter

Blog: Reisen Blog
Bilder Gallery: Bilder Gallery

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [TUT] Tooltip for Thumbnails
« Reply #48 on: June 16, 2010, 06:12:53 PM »
Ivan,

If you have a later version, please share! My version is v 5.3.1 from that link even though it says 4.12, and it says it was last modified 07 Nov 2008.

Cheers,

Brian

- see attached -

Offline ivan

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.279
    • View Profile
    • Bilder Gallery
Re: [TUT] Tooltip for Thumbnails
« Reply #49 on: June 16, 2010, 06:54:41 PM »
@surferboy
yes, my Version is the same ...

Greets ivan
greetings / grüsse
ivan

Facebook Fan Page | Follow Twitter

Blog: Reisen Blog
Bilder Gallery: Bilder Gallery

Offline Tino23

  • Full Member
  • ***
  • Posts: 190
    • View Profile
    • LMJ - Motorsport
Re: [TUT] Tooltip for Thumbnails
« Reply #50 on: August 13, 2010, 11:24:48 AM »
@IVAN der Tipp http://www.4homepages.de/forum/index.php?topic=22030.msg133202#msg133202 füht bei mir zu einer Fehlermeldung. Gehen tut folgender Code bei mir
Code: [Select]
"image_tip" => "<img src=\'".MEDIA_PATH."/".$image_row['cat_id']."/".$image_row['image_media_file']."\' width=\'300\' height=\'225\'>",

Da ich aber das Bild in der Größe des Thumbnailbildes haben möchte hab ich den Code wie folgt geändert.

Code: [Select]
"image_tip" => "<img src=\'".ROOT_PATH.THUMB_DIR."/".$image_row['cat_id']."/".$image_row['image_media_file']."\' >", Einzigen Schönheitsfehler den ich da noch habe, bei mir wird dann leider nicht das Icon passend zur Dateiendung angezeigt, wenn kein Thumbnailbild vorhanden ist. Hat da einer noch eine Idee?

Walter Zorns Tooltip und die dazugehörigen PlugIns könn ihr euch hier runterladen.
« Last Edit: August 16, 2010, 11:16:48 PM by Tino23 »

Offline zakaria666

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: [TUT] Tooltip for Thumbnails
« Reply #51 on: August 20, 2010, 04:07:45 PM »
hello

links are dead please fix, cannot download plugin


Offline Tino23

  • Full Member
  • ***
  • Posts: 190
    • View Profile
    • LMJ - Motorsport
Re: [TUT] Tooltip for Thumbnails
« Reply #53 on: August 20, 2010, 10:18:38 PM »
« Last Edit: August 27, 2010, 08:18:46 AM by Tino23 »

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [TUT] Tooltip for Thumbnails
« Reply #54 on: September 09, 2010, 04:48:14 AM »
Seemingly random problems with Tooltip for Thubnails:

using v1.7.7
php: 5.2.13
mysql: 5.1.47

Issue: some of the uploaded photos do not display to full size on mouseover.  Case in point - two members uploaded a single image each. One expands to full size on mouseover and the other does not.

Is there a setting or db field to check for this?

Any ideas?

Thanks,

Brian

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: [TUT] Tooltip for Thumbnails
« Reply #55 on: September 09, 2010, 06:50:17 AM »
I think the problem is in image name or category name when it has an apostrophe (single quote: ' ).
if that is the case, then replace
Code: [Select]
onmouseover="Tip('{image_name}<br />{lang_category} {cat_name}<br />{lang_comments} {image_comments}')" onmouseout="UnTip()"
with:
Code: [Select]
onmouseover="Tip('<?=addslashes("{image_name}<br />{lang_category} {cat_name}<br />{lang_comments} {image_comments}")?>')" onmouseout="UnTip()"
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [TUT] Tooltip for Thumbnails
« Reply #56 on: September 09, 2010, 07:40:19 AM »
Hi -

Thanks the suggestion. Attached is the thumbnail file - I think you have nailed it although when I tried to implement your fix, the mouseover enlargement worked but no large image appeared.

The problem, I think, based on your analysis, is that I have include the description in the tooltip thumbnail_bit.html file and some of the descriptions have a single apostrophe in the informal descriptions, such as "I'm wearing a t-shirt ..."  When I went back and deleted the apostrophes, the image did not enlarge on mouseover.  Not sure if this is due to the 'big' file not updating when the image is edited. (since it is the original image that enlarges on mouseover)

What do you think?

Thanks for taking the time to look at this.

Brian




Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [TUT] Tooltip for Thumbnails
« Reply #57 on: September 09, 2010, 02:34:08 PM »
Try implement my fix
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [TUT] Tooltip for Thumbnails
« Reply #58 on: September 09, 2010, 05:11:11 PM »
Hi -

Thanks for your help on this.

I implemented your fix exactly as your specified.  ALL of the images showed the smaller pop up of the image name, image category, and comment count. Even the images that were a problem. (see attached file thumbnail_bit.html

Then I added the description language to the code you provided so that I could get the image description displayed as well. When I did that, all of the images worked except one. This worked with several images whose description have apostrophes in their text.  (see attached file thumbnail_bit_wdesc.html)

Then I added the image_tip functionality since that is what makes this MOD so spectacular, the full size pop up of the image as you mouseover the thumbnail.  When I did that, the screen pop up goes to full size but the image does not appear. This applied to all of the images except the same one as previous modification. (see attached file thumbnail_bit_wdesc_wimagetip.html)

Not sure why the image_tip functionality gets broken with the extra coding your provide.

Thanks again for looking at this.

Brian

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [TUT] Tooltip for Thumbnails
« Reply #59 on: September 10, 2010, 01:30:08 AM »
I think the problem is that descriptions have newlines, but javascript doesn't allow multi-line strings. Try this:

Code: [Select]
<table width="1%" border="0" cellspacing="0" cellpadding="0" onmouseover="Tip('<?=str_replace(array("\n", "\r"), "", addslashes("{image_tip}<br />{lang_imagename} {image_name}<br />{lang_category} {cat_name}<br />{lang_description} {image_description}<br />{lang_comments} {image_comments}"))?>')" onmouseout="UnTip()">
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)