Advertisement:

Author Topic: Highslide Image Viewer  (Read 272078 times)

Offline NaaN NL

  • Semi-Newbie
  • *
  • Posts: 10
Re: Highslide Image Viewer
« Reply #180 on: December 08, 2008, 02:35:12 PM »
Yeah I know, but only if they are attached to the post or linked from imageshack. My visitors link images from different sites then imageshack.

I like to have "thumb" every picture that is linked "off-site" by default, so basicly anything that is linked off-site with the [img] tags.

Hope you understand what I it is I'm looking for

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #181 on: December 08, 2008, 03:32:04 PM »
Yeah I know, but only if they are attached to the post or linked from imageshack. My visitors link images from different sites then imageshack.

I like to have "thumb" every picture that is linked "off-site" by default, so basicly anything that is linked off-site with the [img] tags.

Hope you understand what I it is I'm looking for

There is no possibility for it.

Offline NaaN NL

  • Semi-Newbie
  • *
  • Posts: 10
Re: Highslide Image Viewer
« Reply #182 on: December 08, 2008, 03:39:46 PM »
Ok, guess I'll have find another way , but thank you very much for the support 

Offline shaitanfr

  • Jr. Member
  • **
  • Posts: 252
  • Gender: Male
    • Passion Xbmc
Re: Highslide Image Viewer
« Reply #183 on: December 08, 2008, 03:56:24 PM »
And if you comment  this line ?

Code: [Select]
        if(preg_match('~\.(png|gif|jp(e)?g|bmp)~is', $b[2]))


My english is bad but my Taylor is rich :)


Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #184 on: December 08, 2008, 04:54:14 PM »
And if you comment  this line ?

Code: [Select]
        if(preg_match('~\.(png|gif|jp(e)?g|bmp)~is', $b[2]))

If you comment this line, will be troubles with bbc like
Code: [Select]
[url=some_http_link][img]image[/img][/url]

Offline shaitanfr

  • Jr. Member
  • **
  • Posts: 252
  • Gender: Male
    • Passion Xbmc
Re: Highslide Image Viewer
« Reply #185 on: December 08, 2008, 05:35:46 PM »
Ok digger, thank you. And thank you for this great Mod.

I have a working solution but not clean. I use lightbox code inside Highslide and all links are ok.  ::)

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #186 on: December 08, 2008, 07:40:54 PM »
There's no reason for using highslide for all |IMG| tag. Some people want to insert fullsize images without any transformations.
Use
Code: [Select]
[url=fullsize_image][img]thumbnail_image[/img][/url]

Offline mikecentola

  • Semi-Newbie
  • *
  • Posts: 18
Re: Highslide Image Viewer
« Reply #187 on: December 09, 2008, 09:23:23 PM »
I have this working on my site, but I thought it would resize all pictures that were linked to the thread. It allows them to be clicked but it didn't resize them. I was hoping to eliminate the side-scrolling of large pictures with this mod. Any ideas?

Offline yrral

  • Semi-Newbie
  • *
  • Posts: 33
Re: Highslide Image Viewer
« Reply #188 on: December 21, 2008, 05:08:44 AM »
I'm getting a template parse error after manually installing the mod... please help.

Template Parse Error!
There was a problem loading the /Themes/default/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------


Parse error: syntax error, unexpected '<' in .../Themes/default/Display.template.php on line 481

472:
473:       // Now for the attachments, signature, ip logged, etc...
474:       echo '
475:                <tr>
476:                   <td valign="bottom" class="smalltext" width="85%">
477:                      <table width="100%" border="0" style="table-layout: fixed;"><tr>
478:                         <td colspan="2" class="smalltext" width="100%">';
479:
480:       // Assuming there are attachments
481: <a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" class="highslide" rel="highslide"><img src="', $attachment['thumbnail']['href'], '" alt="' , $attachment['name'] , '" id="thumb_', $attachment['id'], '" border="0" /></a><br /><div class="highslide-heading">' , $message['subject'] , '</div>';482:
483:                else
484:                   echo '
485:                            <img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" border="0" /><br />';

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #189 on: December 21, 2008, 02:14:33 PM »
481: <a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" class="highslide"

481: echo '<a href="'

Offline Ravac

  • Full Member
  • ***
  • Posts: 580
  • Gender: Male
Re: Highslide Image Viewer
« Reply #190 on: December 21, 2008, 04:31:19 PM »
Very nice mod digger.

Can I somehow put this mod that only works on image in the Attachment. Why? because this mod puts a highlight and when pictures are placed with a host image
Code: [Select]
[img]link picture[/img]

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #191 on: December 21, 2008, 05:16:53 PM »
Very nice mod digger.

Can I somehow put this mod that only works on image in the Attachment. Why? because this mod puts a highlight and when pictures are placed with a host image
Code: [Select]
[img]link picture[/img]

Quote
How disable highslide for linked images.

In /Sources/Subs.php
find
// * Highslide mod
add before
/*
find
// Highslide mod *
add after
*/

Offline recep34

  • Jr. Member
  • **
  • Posts: 156
  • Gender: Male
    • Armed Assault Türkiye
Re: Highslide Image Viewer
« Reply #192 on: December 22, 2008, 04:44:43 PM »
First thanks for the great mod.But it didnt work for my forum.
İ have edited manually the ferry themes related files moved to highslide folder to themes/ferrytheme folder and made an highslide.turkish.js file but it didnt work.İ think i did every thing true but it didnt work...

Forum url

http://forum.armedassault-turkiye.net/index.php/topic,910.0.html

and my subs.php,index.template.php and display.template.php files...
http://armatr.cybernetic-hosting.co.uk/dosyalar/aatr.rar
« Last Edit: December 22, 2008, 04:56:00 PM by recep34 »

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #193 on: December 22, 2008, 09:27:10 PM »
İ have edited manually the ferry themes related files moved to highslide folder to themes/ferrytheme folder and made an highslide.turkish.js file
Highslide folder must be in /Themes/default

Offline recep34

  • Jr. Member
  • **
  • Posts: 156
  • Gender: Male
    • Armed Assault Türkiye
Re: Highslide Image Viewer
« Reply #194 on: December 23, 2008, 08:53:52 AM »
thanks digger ,now it works fine  :D and here is the turkish file,

highslide.turkish.js
Code: [Select]
// Turkish language strings
hs.lang = {
loadingText : "Yükleniyor...",
loadingTitle : "İptal etmek için tıklayın",
focusTitle : "Öne getirmek için tıklayın",
fullExpandTitle : "Gerçek boyutunda görüntüle",
creditsText : "<i>Highslide JS</i> tarafından güçlendirilmiştir",
creditsTitle : "Highslide JS anasayfasına git",
previousText : "Önceki",
nextText : "Sonraki",
moveText : "Sürükle",
closeText : "Kapat",
closeTitle : "Kapat (esc)",
resizeTitle : "Yeniden Boyutlandır",
playText : "Oynat",
playTitle : "Slayt gösterisi başlat (klavye boşluk)",
pauseText : "Durdur",
pauseTitle : "Slayt gösterisini durdur (klavye boşluk)",
previousTitle : "Önceki (klavye sol ok)",
nextTitle : "Sonraki (klavye sağ ok)",
moveTitle : "Sürükle",
fullExpandText : "Gerçek boyut",
number: "%2 Resminin %1 i",
restoreTitle : "Tıklayarak kapatabilir, farenizin sol tuşuna basılı tutarak sürükleyebilir, klavyenizin yön tuşları ile gezinebilirsiniz."
};

Offline Pentaxian

  • Jr. Member
  • **
  • Posts: 121
  • Gender: Male
Re: Highslide Image Viewer
« Reply #195 on: December 23, 2008, 03:48:14 PM »
Attached the dutch translation of highslide.english.js as requested.

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #196 on: December 23, 2008, 07:15:37 PM »
Thanks for new languages.

Offline yrral

  • Semi-Newbie
  • *
  • Posts: 33
Re: Highslide Image Viewer
« Reply #197 on: December 28, 2008, 09:33:44 PM »
481: <a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" class="highslide"

481: echo '<a href="'

Thanks digger... now I don't have any parse error BUT... It's still doesn't work.

I have SMF 1.1.7 TP.093 installed. I only have the Highslide Image Viewer and Simple Media Gallery mod installed in my system.

If I attached an image on the post it is working perfectly BUT if I add a link from an image hosting website (test with photobucket) it doesn't work. Am I missing something?... will it works only on photobucket and imageshack and other hosting site mentioned here? how about FLICKR??

I'd like every single posted image from any other website to be catched by highslide...

NON-WORKING
Code: [Select]
[IMG]http://i43.photobucket.com/albums/e364/larry_anda/th_IMG_3157.jpg[/IMG]
WORKING:
Code: [Select]
[URL=http://s43.photobucket.com/albums/e364/larry_anda/?action=view&current=IMG_3157.jpg][IMG]http://i43.photobucket.com/albums/e364/larry_anda/th_IMG_3157.jpg[/IMG][/URL]
Thanks for looking to my problem.

Offline Nao 尚

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,928
  • Gender: Male
    • wedgebook on Facebook
    • Wedge
Re: Highslide Image Viewer
« Reply #198 on: January 03, 2009, 07:06:03 AM »
SMF Media Gallerys Highslide only works inside the gallery itself :(
Lol, old posts, etc... Had never heard about this mod, sorry.
I don't even remember getting a single request for adding Highslide support outside the gallery pages. I thought it would be cool so I added it when I developed the [smg] tag. So basically, if you use the [smg] tag in a post, you'll get Highslide animations for it, whether or not this Highslide Image Viewer is installed/active. If you use the MGalleryItem.php links instead, you'll have to rely on Highslide Image Viewer.

The good question would be -- is it possible to have [smg] and Highslide Image Viewer sit both in a page together, without any conflict? Because I *do* rewrite the headers to add our own highslide.js stuff... Hmm!

I'm also thinking of adding Highslide support to Aeva in the future, oh that's going to be funny if there are three different highslide.js files loading per page ;)
Or maybe I could just check through the output buffer to see if "highslide.js" is already in it. That would be easier.

Oh, don't mind me, just talking to myself.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Offline Jakobwolff

  • Semi-Newbie
  • *
  • Posts: 53
Re: Highslide Image Viewer
« Reply #199 on: January 03, 2009, 08:08:20 AM »
is it a difficult mod to install?

i run 1.1.7 and Oxygen theme

should i manuel install? or install through admin?