Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: digger on October 07, 2008, 09:37:35 PM

Title: Highslide Image Viewer
Post by: digger on October 07, 2008, 09:37:35 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=1450)

This mod integrates Highslide JS script into SMF.

===
What is Highslide JS?

Highslide JS (http://highslide.com/) is an open source JavaScript software, offering a Web 2.0 approach to popup windows. It streamlines the use of thumbnail images and HTML popups on web pages. The library offers these features and advantages:
* No plugins like Flash or Java required.
* Popup blockers are no problem. The content expands within the active browser window.
* Single click. After opening the image or HTML popup, the user can scroll further down or leave  the page without closing it.
* Compatibility and safe fallback. If the user has disabled JavaScript or is using an old browser, the browser redirects directly to the image itself or to a fallback HTML page.

===
Highslide JS is licensed under a MIT License.

===
Highslide Image Viewer mod features:

* Show full-size image like popup window when user click thumbnail
* Autoresize full-size image for browser window
* Slideshow for images on page
* Prev/Next with arrow keys
* Work for attached and linked images with thumbnails
* Also works for thumbnails from Imageshack.us, Photobucket.com, iPicture.ru, Radikal.ru, Keep4u.ru, Xs.to and Fotosik.pl. (Fixes for Imageshack.us & Photobucket ported from karlbenson's Integrate Lightbox mod)

===
Github repository: https://github.com/realdigger/SMF-Highslide-Image-Viewer

===
Languages:
chinese-simplified-utf8
chinese-traditional-utf8
danish
dutch
english-utf8
english
french-utf8
italian
polish
russian-utf8
russian
serbian_latin-utf8
spanish_es
turkish

===
History
1.0 RC3 - First public release.
1.0 RC4 - Some language files added.
1.0 RC5 - Danish translation added.
1.0 RC6 - Some visual fixes.
1.0 RC7 - Fixed warning "Undefined index:  subject" with some portals/bridges. French-utf8 translation added.
1.0 RC8 - Fixed warning "Undefined index:  host" with wrong attachment path.
1.0 RC9 - Mod works with thumbnails from SMF Media Gallery.
For example
[img]http://smf-media.com/community/MGalleryItem.php?id=167;preview[/img]
[img]http://smf-media.com/community/MGalleryItem.php?id=167;thumb[/img]
---
1.0 - Support for thumbnails from Fotosik.pl added (Thanks to pecado (http://www.simplemachines.org/community/index.php?action=profile;u=57715)). Polish translation added.
1.1 - Some bugfixes. Support for thumbnails from Xs.to added (Thanks to jamz (http://www.simplemachines.org/community/index.php?action=profile;u=87149))
1.2 - Some bugfixes.
1.3 - "Signature images bug" fixed.
1.4 - Support for mod Attachments Positioning added. (Attachments Positioning 1.2 tested)
1.5 - Support for mod Attachments In Message added. (Attachments In Message 1.3 tested)
1.6 - Updated for support SMF2 RC2.
1.7 - Updated for support SMF2.0 Gold. Dropped support for SMF1.
Title: Re: Highslide Image Viewer
Post by: cme1st2302 on October 07, 2008, 09:41:12 PM
Very cool digger!!!  I might just have to add this to the new site!!

Chris
Title: Re: Highslide Image Viewer
Post by: karlbenson on October 07, 2008, 09:41:56 PM
very nice mod.
Title: Re: Highslide Image Viewer
Post by: genieuk on October 07, 2008, 09:42:14 PM
Wow!

Thanks, been wanting a mod to do exactly this :)

Mat
Title: Re: Highslide Image Viewer
Post by: Simplemachines Cowboy on October 07, 2008, 10:11:11 PM
Excellent!
Works perfectly on 1.1.6.
Title: Re: Highslide Image Viewer
Post by: digger on October 07, 2008, 11:38:50 PM
Quote from: karlbenson on October 07, 2008, 09:41:56 PM
very nice mod.
Thank you for some code from your Integrate Lightbox mod.
Title: Re: Highslide Image Viewer
Post by: MothMan on October 08, 2008, 03:09:22 AM
Does this mod use the forums default admin settings for the size limit?  Does it work only with images posted as attachments?
Title: Re: Highslide Image Viewer
Post by: digger on October 08, 2008, 04:40:43 AM
Quote from: MothMan on October 08, 2008, 03:09:22 AM
Does this mod use the forums default admin settings for the size limit? 
yes

Quote
Does it work only with images posted as attachments?
with attachments,
with

[url=http://.../big_image.jpg][img]http://small_image.jpg[/img][/url]

and with thumbnails from iPicture.ru, Imageshack.us and Photobucket.com (thanks to  karlbenson for code).
Title: Re: Highslide Image Viewer
Post by: baijianpeng on October 08, 2008, 04:57:20 AM
Great ! I just tested this Mod on my SMF 1.1.6 forum. It works very smoothly.

Two suggestions to improve it:

1. Please add those tooltips texts into the language file, so I can translate it into my native language.

2. If the image has a long name but narrow width, like long web page screenshot for fullpage, then those buttons, such as Prev, Next, Close, Original Size, will be squeezed to split into two lines.  Maybe we should trim those long filenames on the pop-up image?

Thanks to the author, great Mod!

How can I vote for this Mod? I want to give it 500 stars!   :D
Title: Re: Highslide Image Viewer
Post by: genieuk on October 08, 2008, 08:41:02 AM
is there a setting in admin whether part of SMF or this mod to auto resize images over a certain size in posts/topics?

as i just tried it with a big image and it works great and with attachments etc but when i uploaded a image it was already big.

So is there a setting anywhere for SMF to resize images in posts/topics to a certain size?

Thank you,
Mathew
Title: Re: Highslide Image Viewer
Post by: BOS4O on October 08, 2008, 08:55:49 AM
great tnx mons
Title: Re: Highslide Image Viewer
Post by: fals on October 08, 2008, 02:54:47 PM
Works perfect ! (http://www.fg-forum.dk/smf/Smileys/fg/EmoPackv6_059.gif) (http://www.fg-forum.dk/smf/Smileys/fg/EmoPackv6_059.gif)
[allready tweeked it a bit  ;D ]
http://www.fg-forum.dk/smf/index.php?topic=25035.0 (http://www.fg-forum.dk/smf/index.php?topic=25035.0)
Title: Re: Highslide Image Viewer
Post by: Tanks on October 08, 2008, 03:00:09 PM
I was unable to get it to work  - instead it just opened the image url

Could it be that i have incrypted filenames ? Or could it be that im still using beta 3.1 ?
Title: Re: Highslide Image Viewer
Post by: digger on October 08, 2008, 03:48:39 PM
Quote from: Tanks on October 08, 2008, 03:00:09 PM
I was unable to get it to work  - instead it just opened the image url

Could it be that i have incrypted filenames ? Or could it be that im still using beta 3.1 ?

Using custom theme?
Title: Re: Highslide Image Viewer
Post by: puppeter on October 08, 2008, 04:11:16 PM
Im using custom theme... what should i do to make it work?
Title: Re: Highslide Image Viewer
Post by: digger on October 08, 2008, 04:15:17 PM
Quote from: puppeter on October 08, 2008, 04:11:16 PM
Im using custom theme... what should i do to make it work?
http://custom.simplemachines.org/mods/index.php?mod=1450
Manual Install Instructions for SMF x.x
Title: Re: Highslide Image Viewer
Post by: fals on October 08, 2008, 04:26:53 PM
How can i translate the tooltip text ?
"Click to close image, click and drag to move......"

Can't find any langues string

Have tried http://highslide.com/ref/hs.lang with no luck
Title: Re: Highslide Image Viewer
Post by: feline on October 08, 2008, 07:24:05 PM
You find all textstring on the url ..
That, what you mean is restoreTitle

// German language strings
hs.lang = {
   loadingText :     'Lade...',
   loadingTitle :    'Klick zum Abbrechen',
   focusTitle :      'Klick um nach vorn zu bringen',
   fullExpandTitle : 'Zur Originalgröße erweitern',
   fullExpandText :  'Vollbild',
   creditsText :     'Powered by <i>Highslide JS</i>',
   creditsTitle :    'Gehe zur Highslide JS Homepage',
   previousText :    'Voriges',
   previousTitle :   'Voriges (Pfeiltaste links)',
   nextText :        'Nächstes',
   nextTitle :       'Nächstes (Pfeiltaste rechts)',
   moveTitle :       'Verschieben',
   moveText :        'Verschieben',
   closeText :       'Schließen',
   closeTitle :      'Schließen (Esc)',
   resizeTitle :     'Größe wiederherstellen',
   playText :        'Abspielen',
   playTitle :       'Slideshow abspielen (Leertaste)',
   pauseText :       'Pause',
   pauseTitle :      'Pausiere Slideshow (Leertaste)',
   number :          'Bild %1/%2',
   restoreTitle :    'Klick um das Bild zu schließen, klick und ziehe um zu verschieben. Benutze Pfeiltasten für vor und zurück.'
};

Fel
Title: Re: Highslide Image Viewer
Post by: Tanks on October 08, 2008, 11:48:38 PM
Yes im using a custom theme but the instalation was success ! My custom theme only has boardindex - no display file.. and modifications was a succes to boardindex so hmm..

Quote* Compatibility and safe fallback. If the user has disabled JavaScript or is using an old browser, the browser redirects directly to the image itself or to a fallback HTML page.

This is what happens on my board - when i look at other boards i can see the mod work fine so its not my browser..

I checked the img url on other boards and only thiing diferent from my board is that they have the session code in the url.. my board dont have the session in the attachment url ? Could this be the reason ?
Title: Re: Highslide Image Viewer
Post by: fals on October 09, 2008, 05:33:54 AM
Yes.... as i wrote, i have tried that [adding the codes to index.template.php] - with no luck

Quote from: feline on October 08, 2008, 07:24:05 PM
You find all textstring on the url ..
That, what you mean is restoreTitle

// German language strings
hs.lang = {
   loadingText :     'Lade...',
   loadingTitle :    'Klick zum Abbrechen',
   focusTitle :      'Klick um nach vorn zu bringen',
   fullExpandTitle : 'Zur Originalgröße erweitern',
   fullExpandText :  'Vollbild',
   creditsText :     'Powered by <i>Highslide JS</i>',
   creditsTitle :    'Gehe zur Highslide JS Homepage',
   previousText :    'Voriges',
   previousTitle :   'Voriges (Pfeiltaste links)',
   nextText :        'Nächstes',
   nextTitle :       'Nächstes (Pfeiltaste rechts)',
   moveTitle :       'Verschieben',
   moveText :        'Verschieben',
   closeText :       'Schließen',
   closeTitle :      'Schließen (Esc)',
   resizeTitle :     'Größe wiederherstellen',
   playText :        'Abspielen',
   playTitle :       'Slideshow abspielen (Leertaste)',
   pauseText :       'Pause',
   pauseTitle :      'Pausiere Slideshow (Leertaste)',
   number :          'Bild %1/%2',
   restoreTitle :    'Klick um das Bild zu schließen, klick und ziehe um zu verschieben. Benutze Pfeiltasten für vor und zurück.'
};

Fel
Title: Re: Highslide Image Viewer
Post by: baijianpeng on October 09, 2008, 07:08:42 AM
I searched the whole /smf folder and it's subfolder, but can't find which file contains the "Click to close image" string.

Very strange.

Then, where did these tooltips texts hosted?
Title: Re: Highslide Image Viewer
Post by: General_Naga on October 09, 2008, 09:02:05 AM
Great mod!

Where do I need to insert the code to stop all my images now having a border though?

Quote from: baijianpeng on October 08, 2008, 04:57:20 AM
2. If the image has a long name but narrow width, like long web page screenshot for fullpage, then those buttons, such as Prev, Next, Close, Original Size, will be squeezed to split into two lines.  Maybe we should trim those long filenames on the pop-up image?

+1
Title: Re: Highslide Image Viewer
Post by: digger on October 09, 2008, 01:56:23 PM
Quote from: General_Naga on October 09, 2008, 09:02:05 AM
Great mod!

Where do I need to insert the code to stop all my images now having a border though?

modify file highslide.css

.highslide img {
    border: 0px;
}

Title: Re: Highslide Image Viewer
Post by: 4Kstore on October 09, 2008, 04:56:20 PM
cool mod, thank you !!
Title: Re: Highslide Image Viewer
Post by: General_Naga on October 09, 2008, 05:34:08 PM
Quote from: digger on October 09, 2008, 01:56:23 PM
Quote from: General_Naga on October 09, 2008, 09:02:05 AM
Great mod!

Where do I need to insert the code to stop all my images now having a border though?


modify file highslide.css

.highslide img {
    border: 0px;
}



Great! Thanks
Title: Re: Highslide Image Viewer
Post by: Nachtfalke on October 09, 2008, 06:12:52 PM
Hi, I got an Error....

8: Undefined index: host
Datei: /customers/findet-tanjagraeff.de/findet-tanjagraeff.de/httpd.www/smf/Sources/Subs.php
Zeile: 2449



Line2449:
   // Match images hosted by Imageshack, Photobucket or iPicture.ru
            $c = @parse_url($b[4]);
            $c = empty($c) ? '' : $c['host'];

What should / could I do???
Title: Re: Highslide Image Viewer
Post by: digger on October 09, 2008, 06:25:54 PM
Quote from: baijianpeng on October 08, 2008, 04:57:20 AM
1. Please add those tooltips texts into the language file, so I can translate it into my native language.
I attached english language file for example. You can translate and rename it for your native language. And attach your file in this topic.

Title: Re: Highslide Image Viewer
Post by: digger on October 09, 2008, 06:41:26 PM
Quote from: Nachtfalke on October 09, 2008, 06:12:52 PM
Hi, I got an Error....

8: Undefined index: host
Datei: /customers/findet-tanjagraeff.de/findet-tanjagraeff.de/httpd.www/smf/Sources/Subs.php
Zeile: 2449



Line2449:
   // Match images hosted by Imageshack, Photobucket or iPicture.ru
            $c = @parse_url($b[4]);
            $c = empty($c) ? '' : $c['host'];

What should / could I do???
It's not error.
Will be fixed in next version.
Title: Re: Highslide Image Viewer
Post by: baijianpeng on October 09, 2008, 07:34:43 PM
Quote from: digger on October 09, 2008, 06:25:54 PM

I attached english language file for example. You can translate and rename it for your native language. And attach your file in this topic.


OK, I had completed the Chinese language translation for this HighSlide Image Viewer Mod.

I copied my translated language files to the /highslide folder, but it did not work.

Maybe you will realease a new version which can call these language files?

Thanks.
Title: Re: Highslide Image Viewer
Post by: digger on October 09, 2008, 08:13:46 PM
Quote from: baijianpeng on October 09, 2008, 07:34:43 PM
OK, I had completed the Chinese language translation for this HighSlide Image Viewer Mod.

I copied my translated language files to the /highslide folder, but it did not work.

Maybe you will realease a new version which can call these language files?

I uploaded 1.0 RC4 version.
New version try to call language file with name equally current user's profile language (highslide.language_name.js). For guests uses default forum language.
Title: Re: Highslide Image Viewer
Post by: baijianpeng on October 09, 2008, 08:38:36 PM
Great !

I tested the new 1.0 RC4 version, those language files worked perfectly!

Thanks to Digger! thumb up!
Title: Re: Highslide Image Viewer
Post by: fals on October 10, 2008, 12:45:23 PM
Quote from: digger on October 09, 2008, 08:13:46 PM
I uploaded 1.0 RC4 version.
New version try to call language file with name equally current user's profile language (highslide.language_name.js). For guests uses default forum language.

Exellent !
Works
Title: Re: Highslide Image Viewer
Post by: digger on October 10, 2008, 12:57:35 PM
Quote from: fals on October 10, 2008, 12:45:23 PM
Quote from: digger on October 09, 2008, 08:13:46 PM
I uploaded 1.0 RC4 version.
New version try to call language file with name equally current user's profile language (highslide.language_name.js). For guests uses default forum language.

Exellent !
Works
If you made new language file, please attach here.
Title: Re: Highslide Image Viewer
Post by: samurai-lupin on October 10, 2008, 03:18:34 PM
Quote from: feline on October 08, 2008, 07:24:05 PM
You find all textstring on the url ..
That, what you mean is restoreTitle

// German language strings
hs.lang = {
   loadingText :     'Lade...',
   loadingTitle :    'Klick zum Abbrechen',
   focusTitle :      'Klick um nach vorn zu bringen',
   fullExpandTitle : 'Zur Originalgröße erweitern',
   fullExpandText :  'Vollbild',
   creditsText :     'Powered by <i>Highslide JS</i>',
   creditsTitle :    'Gehe zur Highslide JS Homepage',
   previousText :    'Voriges',
   previousTitle :   'Voriges (Pfeiltaste links)',
   nextText :        'Nächstes',
   nextTitle :       'Nächstes (Pfeiltaste rechts)',
   moveTitle :       'Verschieben',
   moveText :        'Verschieben',
   closeText :       'Schließen',
   closeTitle :      'Schließen (Esc)',
   resizeTitle :     'Größe wiederherstellen',
   playText :        'Abspielen',
   playTitle :       'Slideshow abspielen (Leertaste)',
   pauseText :       'Pause',
   pauseTitle :      'Pausiere Slideshow (Leertaste)',
   number :          'Bild %1/%2',
   restoreTitle :    'Klick um das Bild zu schließen, klick und ziehe um zu verschieben. Benutze Pfeiltasten für vor und zurück.'
};

Fel

Hello,

where are the langauge defaults stored? I would like to replace with German text.

Thank you
Title: Re: Highslide Image Viewer
Post by: digger on October 10, 2008, 03:45:34 PM
Quote from: samurai-lupin on October 10, 2008, 03:18:34 PM
Quote from: feline on October 08, 2008, 07:24:05 PM
You find all textstring on the url ..
That, what you mean is restoreTitle

// German language strings
hs.lang = {
   loadingText :     'Lade...',
   loadingTitle :    'Klick zum Abbrechen',
   focusTitle :      'Klick um nach vorn zu bringen',
   fullExpandTitle : 'Zur Originalgröße erweitern',
   fullExpandText :  'Vollbild',
   creditsText :     'Powered by <i>Highslide JS</i>',
   creditsTitle :    'Gehe zur Highslide JS Homepage',
   previousText :    'Voriges',
   previousTitle :   'Voriges (Pfeiltaste links)',
   nextText :        'Nächstes',
   nextTitle :       'Nächstes (Pfeiltaste rechts)',
   moveTitle :       'Verschieben',
   moveText :        'Verschieben',
   closeText :       'Schließen',
   closeTitle :      'Schließen (Esc)',
   resizeTitle :     'Größe wiederherstellen',
   playText :        'Abspielen',
   playTitle :       'Slideshow abspielen (Leertaste)',
   pauseText :       'Pause',
   pauseTitle :      'Pausiere Slideshow (Leertaste)',
   number :          'Bild %1/%2',
   restoreTitle :    'Klick um das Bild zu schließen, klick und ziehe um zu verschieben. Benutze Pfeiltasten für vor und zurück.'
};

Fel

Hello,

where are the langauge defaults stored? I would like to replace with German text.

Thank you

Omg, read this post and take attached file http://www.simplemachines.org/community/index.php?topic=266750.msg1744643#msg1744643
Title: Re: Highslide Image Viewer
Post by: fals on October 10, 2008, 05:34:28 PM
Danish  ;)
Title: Re: Highslide Image Viewer
Post by: Abavagada on October 10, 2008, 06:26:55 PM
One word: AWESOME!

One more: THANKS!

Title: Re: Highslide Image Viewer
Post by: digger on October 10, 2008, 06:51:46 PM
Quote from: fals on October 10, 2008, 05:34:28 PM
Danish  ;)
thanks
Title: Re: Highslide Image Viewer
Post by: Sabre™ on October 10, 2008, 07:42:27 PM
Nice mod mate :)
When using a url from photobucket etc, how can you eliminate the url showing up in the frame of the popup image or clean it up to be renamed to the name you'd like??

eg..
h**p://photobucket.com/folder/universal/file/youseewhatImean/this/is/too/long/image/manboobs.gif

And just to display the name of the image = "manboobs.gif"  or rewrite it to whatever yoiu'd like to display

Cheers  :)
Title: Re: Highslide Image Viewer
Post by: Tanks on October 11, 2008, 12:41:53 AM
I finaly got it to work - Thanks !
Title: Re: Highslide Image Viewer
Post by: Sabre™ on October 11, 2008, 01:08:07 AM
@ Tanks
Could you possibly share what you did to get it to work?
It could help others that experience the same problem.

Cheers  :)
Title: Re: Highslide Image Viewer
Post by: Tanks on October 11, 2008, 01:14:58 AM
It was actual just me being a retard because i forgot to click the little box to install on other themes.. and since my theme only has a boardindex template, and no display template, it looked like it was installed but it wasnt :)

I am happy to use this mod ;)
Title: Re: Highslide Image Viewer
Post by: Sabre™ on October 11, 2008, 01:17:38 AM
hehe

Well, that will help others remember if they do the same ;)
Thanks for that champ, and great that you figured it out.
Title: Re: Highslide Image Viewer
Post by: nokster on October 11, 2008, 06:09:35 AM
Hello everyone!!

Just installed SMF yesterday and i'm flabbergasted with it!! :D Congratz for the work!!

Anyways, I installed Highslide Image Viewer 1.0 RC4 by going to Admin->Packages->Browse Packages clicked on Highslide Image Viewer 1.0 RC4 and then clicked on install. The instalation was successful but the images are not doing their thing on the posts not even on new posts and yes, i've tried with some big images.

I'm half-a-noob in this so if you guys can give me some help I would be very apreciated.

PS: don't know if it's correct or not but I went to my ftp account to check the smf/Packages dir and there was 3 files and one folder there:

Is this correct? After the instalation it dosen't decompress the zip file? Just asking cuz I found it awkward.

Tanx again for any help!!

Cheer from Portugal! :D

edit:

After a bit of reading I went again to my FTP and I can confirm that smf/Theme/default/highslide exists with all the files inside. I copied two new files inside the directory highslide.english.js and highslide.portuguese_pt-utf8.js (modified english version for Portugal portuguese, not brazilian).

I still don't know how to use this? Is there a BBC code that I don't know like "[hsiv]"?? Or I just have to use regular old "[ img][ /img]"??
I feeling so stupid!!! Please help!!
Title: Re: Highslide Image Viewer
Post by: digger on October 11, 2008, 07:00:50 AM
Quote from: Sabre™ on October 10, 2008, 07:42:27 PM
Nice mod mate :)
When using a url from photobucket etc, how can you eliminate the url showing up in the frame of the popup image or clean it up to be renamed to the name you'd like??

eg..
h**p://photobucket.com/folder/universal/file/youseewhatImean/this/is/too/long/image/manboobs.gif

And just to display the name of the image = "manboobs.gif"  or rewrite it to whatever yoiu'd like to display

Cheers  :)
In a next versions will be some changes for this.
Title: Re: Highslide Image Viewer
Post by: Rifugio on October 11, 2008, 07:54:04 PM
Just installed version RC5 on SMF 1.1.6 and it worked straight out of the tin.  Very impressive as I've been having real problems getting the new Lightbox mod to work.  Especially like the slide-show and the hassle free install great work.

One request, the current refresh for a new image involves each image expanding from the bottom half of the image and filling the screen - this is great for the first image but when you browse using the arrows or use the slide show it looks really jerky and spoils the effect.  Would it be possible to change this to a more static fade, without the bottom left to bottom right fade?
Title: Re: Highslide Image Viewer
Post by: digger on October 11, 2008, 08:49:43 PM
Quote from: Rifugio on October 11, 2008, 07:54:04 PM
One request, the current refresh for a new image involves each image expanding from the bottom half of the image and filling the screen - this is great for the first image but when you browse using the arrows or use the slide show it looks really jerky and spoils the effect.  Would it be possible to change this to a more static fade, without the bottom left to bottom right fade?
This changed in RC6.
Title: Re: Highslide Image Viewer
Post by: TW1ST3D on October 11, 2008, 10:11:07 PM
Quote from: nokster on October 11, 2008, 06:09:35 AM
Hello everyone!!

Just installed SMF yesterday and i'm flabbergasted with it!! :D Congratz for the work!!

Anyways, I installed Highslide Image Viewer 1.0 RC4 by going to Admin->Packages->Browse Packages clicked on Highslide Image Viewer 1.0 RC4 and then clicked on install. The instalation was successful but the images are not doing their thing on the posts not even on new posts and yes, i've tried with some big images.

I'm half-a-noob in this so if you guys can give me some help I would be very apreciated.

PS: don't know if it's correct or not but I went to my ftp account to check the smf/Packages dir and there was 3 files and one folder there:

  • backups (folder)
  • Highslide_Viewer_1_RC5.zip
  • index.php
  • installed.list

Is this correct? After the instalation it dosen't decompress the zip file? Just asking cuz I found it awkward.

Tanx again for any help!!

Cheer from Portugal! :D

edit:

After a bit of reading I went again to my FTP and I can confirm that smf/Theme/default/highslide exists with all the files inside. I copied two new files inside the directory highslide.english.js and highslide.portuguese_pt-utf8.js (modified english version for Portugal portuguese, not brazilian).

I still don't know how to use this? Is there a BBC code that I don't know like "[hsiv]"?? Or I just have to use regular old "[ img][ /img]"??
I feeling so stupid!!! Please help!!

It doesn't do anything to images posted inside [img] tags. To see this mod in action, you need to post the Picture as an attachment.
Title: Re: Highslide Image Viewer
Post by: Sabre™ on October 11, 2008, 10:18:31 PM
Unless the image you add within the image tags are hosted at iPicture.ru, Imageshack.us or Photobucket.com.
eg.
[img ]h**p://photobucket.com/please/check/before/replying.gif [/img ]
Title: Re: Highslide Image Viewer
Post by: asms323 on October 11, 2008, 10:19:23 PM
nice mod
work with me without
any problem
thanx
Title: Re: Highslide Image Viewer
Post by: Rifugio on October 12, 2008, 08:04:44 AM
Now that's rapid prototyping!  This is absolutely fantastic, only thing missing compared to lightbox - is lightbox shades the background web page with a very dark filter to help the images stand out.  Enjoying the slide show :)

Quote from: digger on October 11, 2008, 08:49:43 PM
Quote from: Rifugio on October 11, 2008, 07:54:04 PM
One request, the current refresh for a new image involves each image expanding from the bottom half of the image and filling the screen - this is great for the first image but when you browse using the arrows or use the slide show it looks really jerky and spoils the effect.  Would it be possible to change this to a more static fade, without the bottom left to bottom right fade?
This changed in RC6.
Title: Re: Highslide Image Viewer
Post by: fals on October 12, 2008, 08:08:30 AM
Quote from: Rifugio on October 12, 2008, 08:04:44 AM
...only thing missing compared to lightbox - is lightbox shades the background web page with a very dark filter to help the images stand out.  Enjoying the slide show :)
No problem - Highslide can do this
http://highslide.com/example-mini-gallery.html (http://highslide.com/example-mini-gallery.html)

[view the sourcecode of the example]  ;)

Or add:

     hs.dimmingDuration = "15";
    hs.dimmingOpacity = 0.75;
Title: Re: Highslide Image Viewer
Post by: tatore on October 12, 2008, 08:41:40 AM
Quote
Notice:  Undefined index:  subject in /home/XXXXXX/public_html/forum/Sources/Subs.php on line 2485
Unfortunately I have this problem, and it's displayed on my home (Joomla+smf Orstio's bridge).
Let me know, please, how to fix it. It's a great mod.

At the line 2485:
$message = str_replace($b[0], $b[5], $message) . '<div class="highslide-heading">' . $context['subject'] . '</div>';
Title: Re: Highslide Image Viewer
Post by: Tanks on October 12, 2008, 08:45:10 AM
@ Fals - Where do you add that ? What file ? Thanks !
Title: Re: Highslide Image Viewer
Post by: fals on October 12, 2008, 09:21:35 AM
Quote from: Tanks on October 12, 2008, 08:45:10 AM
@ Fals - Where do you add that ? What file ? Thanks !
index.template.php - you can place it after:
hs.graphicsDir = "', $settings['default_theme_url'], '/highslide/";
Title: Re: Highslide Image Viewer
Post by: Tanks on October 12, 2008, 10:09:32 AM
Quote from: fals on October 12, 2008, 09:21:35 AM
Quote from: Tanks on October 12, 2008, 08:45:10 AM
@ Fals - Where do you add that ? What file ? Thanks !
index.template.php - you can place it after:
hs.graphicsDir = "', $settings['default_theme_url'], '/highslide/";

Cheers

But i was unable to get it to be transparrent.. the background just goes completly black.. or whatever color i set it to use as background.. it might be because i have other flash objects on my site !
Title: Re: Highslide Image Viewer
Post by: fals on October 12, 2008, 11:00:29 AM
Quote from: Tanks on October 12, 2008, 10:09:32 AM
Cheers

But i was unable to get it to be transparrent.. the background just goes completly black.. or whatever color i set it to use as background.. it might be because i have other flash objects on my site !

Do you have:

.highslide-dimming {
position: absolute;
background: black;
}

in your highslide.css ?
Title: Re: Highslide Image Viewer
Post by: Tanks on October 12, 2008, 11:05:33 AM
Yeah i do - also i try changing that to white but that just made the background white.. no transparency or fading effect at all..

but like i said, it might be because i have a flash in my signature.. (http://sproutbuilder.com/) That might interfere with it.. idunno.. thanks anyway.. its no big deal to have it or not ;)
Title: Re: Highslide Image Viewer
Post by: digger on October 12, 2008, 01:52:09 PM
Quote from: tatore on October 12, 2008, 08:41:40 AM
Quote
Notice:  Undefined index:  subject in /home/XXXXXX/public_html/forum/Sources/Subs.php on line 2485
Unfortunately I have this problem, and it's displayed on my home (Joomla+smf Orstio's bridge).
Let me know, please, how to fix it. It's a great mod.

At the line 2485:
$message = str_replace($b[0], $b[5], $message) . '<div class="highslide-heading">' . $context['subject'] . '</div>';
Because with bridge it shows images outside a forum topics. There's no $context['subject'] in this case. I will fix it.
Title: Re: Highslide Image Viewer
Post by: digger on October 12, 2008, 01:58:24 PM
Quote from: nokster on October 11, 2008, 06:09:35 AM
I still don't know how to use this? Is there a BBC code that I don't know like "[hsiv]"?? Or I just have to use regular old "[ img][ /img]"??
I feeling so stupid!!! Please help!!

Quote
Quote
Does it work only with images posted as attachments?
with attachments,
with

[url=http://.../big_image.jpg][img]http://small_image.jpg[/img][/url]

and with thumbnails from iPicture.ru, Imageshack.us and Photobucket.com (thanks to  karlbenson for code).
Title: Re: Highslide Image Viewer
Post by: tatore on October 12, 2008, 02:00:12 PM
Quote from: digger on October 12, 2008, 01:52:09 PM
Quote from: tatore on October 12, 2008, 08:41:40 AM
Quote
Notice:  Undefined index:  subject in /home/XXXXXX/public_html/forum/Sources/Subs.php on line 2485
Unfortunately I have this problem, and it's displayed on my home (Joomla+smf Orstio's bridge).
Let me know, please, how to fix it. It's a great mod.

At the line 2485:
$message = str_replace($b[0], $b[5], $message) . '<div class="highslide-heading">' . $context['subject'] . '</div>';
Because with bridge it shows images outside a forum topics. There's no $context['subject'] in this case. I will fix it.
I would really appreciate. I love Highslide effects.
Title: Re: Highslide Image Viewer
Post by: Animal_VY on October 12, 2008, 04:31:31 PM
Hello guys,
Many thanks to this really great job !
I 'm waiting for it since long time, but I'm a very too poor coder to do it myself, so  : thank you !  ;D

The least I can do, is to share a translation from my country : the France !  ;)

Code (Save it as " highslide.french-utf8.js ") Select
// French - UTF8 language strings
hs.lang = {
loadingText : "Chargement...",
loadingTitle : "Cliquez pour annuler",
focusTitle : "Cliquez, pour mettre cette image au premier plan",
fullExpandTitle : "Agrandir l'image à sa taille maximum",
creditsText : "Propulsé par <i>"Highslide JS"</i>",
creditsTitle : "Allez la page officiel de "Highslide JS"",
previousText : "Précédente",
nextText : "Suivante",
moveText : "Déplacer",
closeText : "Fermer",
closeTitle : "Fermer [Echap]",
resizeTitle : "Redimensionner",
playText : "Lecture",
playTitle : "Lire en diaporama [Bar d'espace]",
pauseText : "Pause",
pauseTitle : "Mettre le diaporama en pause [Bar d'espace]",
previousTitle : "Précédente [Flèche gauche]",
nextTitle : "Suivante [Flèche droite]",
moveTitle : "Déplacer",
fullExpandText : "Taille maximum",
number: "Image %1 sur %2",
restoreTitle : "Cliquez, pour fermer l'image | Maintenez cliqué et glissez, pour la déplacer | Utilisez les icônes "flèches" en haut à droite, pour visionner les images suivantes et précédentes"
};

Title: Re: Highslide Image Viewer
Post by: digger on October 12, 2008, 04:44:34 PM
Quote from: Animal_VY on October 12, 2008, 04:31:31 PM
Hello guys,
Many thanks to this really great job !
I 'm waiting for it since long time, but I'm a very too poor coder to do it myself, so  : thank you !  ;D

The least I can do, is to share a translation from my country : the France !  ;)

Please attach archived js to avoid problems with codepages.
Title: Re: Highslide Image Viewer
Post by: Rifugio on October 12, 2008, 05:59:51 PM
Quote from: fals on October 12, 2008, 08:08:30 AM
Quote from: Rifugio on October 12, 2008, 08:04:44 AM
...only thing missing compared to lightbox - is lightbox shades the background web page with a very dark filter to help the images stand out.  Enjoying the slide show :)
No problem - Highslide can do this
http://highslide.com/example-mini-gallery.html (http://highslide.com/example-mini-gallery.html)

[view the sourcecode of the example]  ;)

Or add:

     hs.dimmingDuration = "15";
    hs.dimmingOpacity = 0.75;


I took a look at your link and was very impressed - I changed the opacity option and it worked well - also changed the location of the controls to match yours (needed to use "bottom center" instead of 'bottom center')
finally I set hideOnMouseOut: true - which also hides the controls when the mouse is outside the frame. 
I tried setting the hs.numberPosition = 'caption'; but it doesn't look like it's set up for numbering and gave me an error.

No problem as I've turned off captioning at the moment and this is much better than anything I've used before.  I was going to enlarge the size of the controls but the css file was locked and I took it that I'd tweaked enough for now.

Thanks for all your help.  I'm getting a few undefined index erorrs (modSetting & subject) but I'm not convinced these are to do with this mod.  Will try and track them down when I have more time.  I'm using this in 3 other themes and the set-up has been minimal :)
Title: Re: Highslide Image Viewer
Post by: digger on October 12, 2008, 06:47:26 PM
Quote from: tatore on October 12, 2008, 02:00:12 PM
Quote from: digger on October 12, 2008, 01:52:09 PM
Quote from: tatore on October 12, 2008, 08:41:40 AM
Quote
Notice:  Undefined index:  subject in /home/XXXXXX/public_html/forum/Sources/Subs.php on line 2485
Unfortunately I have this problem, and it's displayed on my home (Joomla+smf Orstio's bridge).
Let me know, please, how to fix it. It's a great mod.

At the line 2485:
$message = str_replace($b[0], $b[5], $message) . '<div class="highslide-heading">' . $context['subject'] . '</div>';
Because with bridge it shows images outside a forum topics. There's no $context['subject'] in this case. I will fix it.
I would really appreciate. I love Highslide effects.
Fixed in RC7
Title: Re: Highslide Image Viewer
Post by: digger on October 12, 2008, 08:11:33 PM
Quote from: Rifugio on October 12, 2008, 05:59:51 PM
I took a look at your link and was very impressed - I changed the opacity option and it worked well - also changed the location of the controls to match yours (needed to use "bottom center" instead of 'bottom center')
finally I set hideOnMouseOut: true - which also hides the controls when the mouse is outside the frame. 
I tried setting the hs.numberPosition = 'caption'; but it doesn't look like it's set up for numbering and gave me an error.

No problem as I've turned off captioning at the moment and this is much better than anything I've used before.  I was going to enlarge the size of the controls but the css file was locked and I took it that I'd tweaked enough for now.
I am working on adding some mod settings to a forum admin area.
Title: Re: Highslide Image Viewer
Post by: tatore on October 12, 2008, 10:45:39 PM
Hi digger, you've fixed the error above  ;)
An old one comes back:
Quote8: Undefined index:  host
File: /home/dxxxxa/public_html/forum/Sources/Subs.php
Linea: 2418

$c = empty($c) ? '' : $c['host'];

The all errors come from topics with attachments (not resized) that come from an old attachment path (before conversion to smf from a snitz forum).
Is there a way to fix it, eg. stating the path to those images?
Title: Re: Highslide Image Viewer
Post by: Tanks on October 13, 2008, 02:33:07 PM
Is there any way to only make this work for attached images ?

As it is now it works for posted thumbnails inside posts but it hangs on loading whenever the thumbnail links to an imageviewer (for example: img.php?image=66270.jpg)

So is there any way to turn it off so it only apply to attached images ?

Cheers
Title: Re: Highslide Image Viewer
Post by: digger on October 13, 2008, 02:52:34 PM
Quote from: tatore on October 12, 2008, 10:45:39 PM
Hi digger, you've fixed the error above  ;)
An old one comes back:
Quote8: Undefined index:  host
File: /home/dxxxxa/public_html/forum/Sources/Subs.php
Linea: 2418

$c = empty($c) ? '' : $c['host'];

The all errors come from topics with attachments (not resized) that come from an old attachment path (before conversion to smf from a snitz forum).
Is there a way to fix it, eg. stating the path to those images?
Try RC8
Title: Re: Highslide Image Viewer
Post by: Tanks on October 13, 2008, 04:36:10 PM
Hey digger any chance of helping me out ?

I want it to only apply to attachments !

My users are complaining that their thumbs are not opening but just hangs on "loading..." - Many of the free imagehosts uses view.php, image.php, etc to output images and your mod isn't working for them..

Please help - i really dont want to uninstal this great mod. :)
Title: Re: Highslide Image Viewer
Post by: digger on October 13, 2008, 04:52:07 PM
Quote from: Tanks on October 13, 2008, 04:36:10 PM
Hey digger any chance of helping me out ?

I want it to only apply to attachments !

My users are complaining that their thumbs are not opening but just hangs on "loading..." - Many of the free imagehosts uses view.php, image.php, etc to output images and your mod isn't working for them..

Please help - i really dont want to uninstal this great mod. :)
So, what do you want?
Disable detect images from free imagehosts?
Title: Re: Highslide Image Viewer
Post by: Tanks on October 13, 2008, 04:58:42 PM
Well yeah.. it's not working on my forum.. all free image host.. when you click the thumbnail it just say "Loading..." and nothing happens !

Works fine for Attached images - but not for images inside the post !

So is it hard to disable the free image host feature ?
Title: Re: Highslide Image Viewer
Post by: digger on October 13, 2008, 05:12:19 PM
Quote from: Tanks on October 13, 2008, 04:58:42 PM
Well yeah.. it's not working on my forum.. all free image host.. when you click the thumbnail it just say "Loading..." and nothing happens !
Can i see any examples for this?

Quote
Works fine for Attached images - but not for images inside the post !
So is it hard to disable the free image host feature ?
In /Sources/Subs.php
find
// * Highslide mod
add before
/*
find
// Highslide mod *
add after
*/


I will add admin setting for this in 1.1 version.
Title: Re: Highslide Image Viewer
Post by: Tanks on October 13, 2008, 05:18:15 PM
QuoteCan i see any examples for this?

I can send you a login but i cant post my url here because my forum is for adults only - i will send you a pm with login details and a link to an example of a thumb that is not working.

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

Would that not disable the mod completely ?
Title: Re: Highslide Image Viewer
Post by: digger on October 13, 2008, 05:22:08 PM
Quote from: Tanks on October 13, 2008, 05:18:15 PM
Would that not disable the mod completely ?
That just disable highslide for non-attached images.
Title: Re: Highslide Image Viewer
Post by: Tanks on October 13, 2008, 05:26:41 PM
Ok - i will change that later so you can have a chance of looking at that example i send you ;)

Thanks for helping me out here :)
Title: Re: Highslide Image Viewer
Post by: tatore on October 13, 2008, 07:00:00 PM
Quote from: digger on October 13, 2008, 02:52:34 PM
Quote from: tatore on October 12, 2008, 10:45:39 PM
Hi digger, you've fixed the error above  ;)
An old one comes back:
Quote8: Undefined index:  host
File: /home/dxxxxa/public_html/forum/Sources/Subs.php
Linea: 2418

$c = empty($c) ? '' : $c['host'];

The all errors come from topics with attachments (not resized) that come from an old attachment path (before conversion to smf from a snitz forum).
Is there a way to fix it, eg. stating the path to those images?
Try RC8
Thanks a bunch!!! That worked perfectly.
Title: Re: Highslide Image Viewer
Post by: Tanks on October 14, 2008, 01:08:08 AM
The reason why my thumbs are not working is that i vae an anonymizer on all outgoin links

just like http://anonym.to/en.html

Thats why it's not working - Thanks for your help Digger, i ill just disable it for free image hosts ;)
Title: Re: Highslide Image Viewer
Post by: Sabre™ on October 14, 2008, 01:13:56 AM
Is that from the anonymizer mod here?
If it is, I have that installed also, and my images still work via this mod.
Title: Re: Highslide Image Viewer
Post by: Tanks on October 14, 2008, 01:32:08 AM
No it's not any mod - i just read to insert something somewhere and its been working ever since.. don't even remember where i made the changes :D

I use my own anonymizer: http://www.rustysheriffsbadges.com/

Anyway i am happy and sitisfied that its only working for attachments now. Thats cool with me !
Title: Re: Highslide Image Viewer
Post by: Sabre™ on October 14, 2008, 02:51:16 AM
Hey thats pretty cool!!
You made that anonymizer yourself?
Congrats mate, its a nice add.

Back on topic :D
Glad you got it to work just how you wanted it mate.
Good job! :)
Title: Re: Highslide Image Viewer
Post by: locau on October 14, 2008, 07:49:33 PM
Quote from: fals on October 12, 2008, 08:08:30 AM
Quote from: Rifugio on October 12, 2008, 08:04:44 AM
...only thing missing compared to lightbox - is lightbox shades the background web page with a very dark filter to help the images stand out.  Enjoying the slide show :)
No problem - Highslide can do this
http://highslide.com/example-mini-gallery.html (http://highslide.com/example-mini-gallery.html)

[view the sourcecode of the example]  ;)

Or add:

     hs.dimmingDuration = "15";
    hs.dimmingOpacity = 0.75;


I have tried this but it simply doesn't work, i can't even get a solid color. And yes i checked highslide.css and i have:
.highslide-dimming {
    position: absolute;
    background: black;
}


I have flash things on my site, can this be causing the issue ?
Title: Re: Highslide Image Viewer
Post by: Sabre™ on October 14, 2008, 08:28:18 PM
Its a possibilty, I just tried it, and its working fine.
I noticed a slight delay when there are moving(gif) images, but its still working.
Title: Re: Highslide Image Viewer
Post by: cqinzx on October 14, 2008, 08:56:10 PM
The creator of this mod is a God! I love this mod, its so useful and now my forums looks so much cleaner and not cluttered with big images.
Title: Re: Highslide Image Viewer
Post by: Tanks on October 15, 2008, 02:45:20 AM
maybe


hs.dimmingOpacity = 0.75;


should actually be


hs.dimmingOpacity = "0.75";



Just a thought :) don't know if im right ! - but now it is working on my forum after i made that change ;)
Title: Re: Highslide Image Viewer
Post by: Sabre™ on October 15, 2008, 03:13:41 AM
Heey congrats, good stuff!
Title: Re: Highslide Image Viewer
Post by: ssabo on October 15, 2008, 09:30:23 AM
Tried to install this morning...but received following error message.

QuoteParse error: parse error in

/home/tlcc/public/htdocs/forum/Sources/Subs.php on line 3576

Fatal error: Call to undefined function: writelog() in

/home/tlcc/public/htdocs/forum/index.php on line 171

Thought it may be because I am using a Theme called "Helios_Multi", so I switched to "default", but still no go?

Any thoughts as to where I should go to check from here?
Title: Re: Highslide Image Viewer
Post by: WRC on October 15, 2008, 11:44:36 AM
Thanks for the mod.

spanish_es

// spanish_es language strings
hs.lang = {
loadingText : "Cargando...",
loadingTitle : "Haz click para cancelar",
focusTitle : "Haz click para traer al frente",
fullExpandTitle : "Redimensionar a tamaño actual",
creditsText : "Modificación por <i>Highslide JS</i>",
creditsTitle : "Ir a la página de Highslide JS",
previousText : "Anterior",
nextText : "Siguiente",
moveText : "Mover",
closeText : "Cerrar",
closeTitle : "Cerrar (esc)",
resizeTitle : "Redimensionar",
playText : "Iniciar",
playTitle : "Iniciar presentación (espacio)",
pauseText : "Pausa",
pauseTitle : "Pausar presentación (espacio)",
previousTitle : "Anterior (flecha izda)",
nextTitle : "Siguiente (flecha dcha)",
moveTitle : "Mover",
fullExpandText : "Tamaño completo",
number: "Imagen %1 de %2",
restoreTitle : "Haz click para cerrar imagen, arrastrar y soltar para mover. Usa las flechas para anterior/siguiente."
};



;)
Title: Re: Highslide Image Viewer
Post by: jmil on October 15, 2008, 04:29:40 PM
Installed this on a 1.1.6
Custome Theme

The upload went fine and I did the manual edits as listed on the Mod Download page - but the Mod does not work. In the header of every page is about 25 lines of code overwriting on top of the theme - I have done many mods to the theme before but I can't seem to get this one.

Any assistance please.

I attached a copy of my "Modified" Sources/sub.php and my Default/Themes/index.template.php

Title: Re: Highslide Image Viewer
Post by: digger on October 15, 2008, 06:22:26 PM
Quote from: jmil on October 15, 2008, 04:29:40 PM
Installed this on a 1.1.6
Custome Theme

The upload went fine and I did the manual edits as listed on the Mod Download page - but the Mod does not work. In the header of every page is about 25 lines of code overwriting on top of the theme - I have done many mods to the theme before but I can't seem to get this one.

Any assistance please.

I attached a copy of my "Modified" Sources/sub.php and my Default/Themes/index.template.php
You installed mod twice.
Title: Re: Highslide Image Viewer
Post by: Dr'Rin on October 15, 2008, 11:29:37 PM
Hello digger : )

I've installed this mod , but it doesn't work with the custom theme :' (

The installation is completely success.

How can I solve the problem ?


P.S. I cannot read the language used in the forum you've posted before, so I want you to explain in English  ;D
Title: Re: Highslide Image Viewer
Post by: digger on October 16, 2008, 08:14:56 AM
Quote from: Dr'Rin on October 15, 2008, 11:29:37 PM
Hello digger : )

I've installed this mod , but it doesn't work with the custom theme :' (

The installation is completely success.

How can I solve the problem ?


P.S. I cannot read the language used in the forum you've posted before, so I want you to explain in English  ;D

Go to the mod page http://custom.simplemachines.org/mods/index.php?mod=1450

and look Manual Install Instructions for SMF x.x
Title: Re: Highslide Image Viewer
Post by: jmil on October 16, 2008, 02:55:58 PM
Quote from: digger on October 15, 2008, 06:22:26 PM
Quote from: jmil on October 15, 2008, 04:29:40 PM
Installed this on a 1.1.6
Custome Theme

The upload went fine and I did the manual edits as listed on the Mod Download page - but the Mod does not work. In the header of every page is about 25 lines of code overwriting on top of the theme - I have done many mods to the theme before but I can't seem to get this one.

Any assistance please.

I attached a copy of my "Modified" Sources/sub.php and my Default/Themes/index.template.php
You installed mod twice.

That is correct (Lame Brain thing i did) so I have modified all checked all three files - the code is fine now but it does not work - I click on the attachment for the larger file as usual - it made no changes to the normal function.

So - What could be wrong - Should the Manual Ch ages to the "/default/Index.template.php" be done to my /Themes/custom theme/index.template.php"/??
Title: Re: Highslide Image Viewer
Post by: digger on October 16, 2008, 03:14:48 PM
Quote from: jmil on October 16, 2008, 02:55:58 PM
Quote from: digger on October 15, 2008, 06:22:26 PM
Quote from: jmil on October 15, 2008, 04:29:40 PM
Installed this on a 1.1.6
Custome Theme

The upload went fine and I did the manual edits as listed on the Mod Download page - but the Mod does not work. In the header of every page is about 25 lines of code overwriting on top of the theme - I have done many mods to the theme before but I can't seem to get this one.

Any assistance please.

I attached a copy of my "Modified" Sources/sub.php and my Default/Themes/index.template.php
You installed mod twice.

That is correct (Lame Brain thing i did) so I have modified all checked all three files - the code is fine now but it does not work - I click on the attachment for the larger file as usual - it made no changes to the normal function.

So - What could be wrong - Should the Manual Ch ages to the "/default/Index.template.php" be done to my /Themes/custom theme/index.template.php"/??
You must modify index.template.php and display.template.php in your custom theme.
Title: Re: Highslide Image Viewer
Post by: jmil on October 16, 2008, 03:20:09 PM
That is what I figured - I followed the instructions on the Mods page which indicated that you modify the "DEFAULT" . Now - Should I take those changes out?? and then modify the themes/index template etc.. or can I leave the Defaults there as is?

Title: Re: Highslide Image Viewer
Post by: digger on October 16, 2008, 03:47:27 PM
Quote from: jmil on October 16, 2008, 03:20:09 PM
That is what I figured - I followed the instructions on the Mods page which indicated that you modify the "DEFAULT" . Now - Should I take those changes out?? and then modify the themes/index template etc.. or can I leave the Defaults there as is?

Instruction don't know which theme you use. It always show for default theme. But you need modify your custom theme.
If you installed mod, you don't need modify default theme.
Title: Re: Highslide Image Viewer
Post by: jmil on October 16, 2008, 03:49:24 PM
Thanks - I will let you know how it goes shortly - THANKS!!! :D
Title: Re: Highslide Image Viewer
Post by: jmil on October 16, 2008, 04:23:27 PM
YEA - It WORKS!!!! Thanks Digger - Now the Dumb Question - Can this be modified to work with the SMF Gallery??

BTW - The Mods looks very very good! Nice Work

Title: Re: Highslide Image Viewer
Post by: digger on October 16, 2008, 06:55:58 PM
Quote from: jmil on October 16, 2008, 04:23:27 PM
YEA - It WORKS!!!! Thanks Digger - Now the Dumb Question - Can this be modified to work with the SMF Gallery??

You can modify SMF Gallery to work with Highslide mod. (Tested with SMF Gallery 1.9.3)

in Gallery.template.php
find four places looks like this code (there may be some differences like alt='')

echo '<td align="center"><a href="' . $scripturl . '?action=gallery;sa=view;id=' . $row['ID_PICTURE'] . '">
<img ' . ($GD_Installed == true ?  'src="' . $modSettings['gallery_url'] . $row['thumbfilename'] . '" ' : 'src="' . $modSettings['gallery_url'] . $row['filename'] . '" height="78" width="120" ')  . ' border="0" alt="" /></a><br />';

and replace with

echo '<td align="center"><a href="' . $modSettings['gallery_url'] . $row['filename'] . '" class="highslide" rel="highslide">
<img ' . ($GD_Installed == true ?  'src="' . $modSettings['gallery_url'] . $row['thumbfilename'] . '" ' : 'src="' . $modSettings['gallery_url'] . $row['filename'] . '" height="78" width="120" ')  . ' border="0" alt="' .  '<a href=\'' . $scripturl . '?action=gallery;sa=view;id=' . $row['ID_PICTURE'] . '\'>[Detail]</a>' . '" /></a><br />';
echo '<div class="highslide-heading">' , @$context['gallery_cat_name'] , '</div>';


Demo here http://simple-machines.ru/index.php?action=gallery;cat=1
Title: Re: Highslide Image Viewer
Post by: ssabo on October 16, 2008, 11:05:34 PM
I have tried installing this mod several times and still get the same error message.  Could someone please give me some sort of idea where I may have gone wrong.

First I am using the Theme "Helios_Multi", so I manually edited the files using Highslide Image Viewer – Installation Instructions for 1.1.6

./Sources/Subs.php
./Themes/Helios_Multi/index.template.php
./Themes/Helios_Multi/Display.template.php


I then moved the included directory "Highslide" to "./Themes/Helios_Multi".

After editing the files as soon as I click on anything in the SMF Forum, I get the following error message.

Parse error: parse error in /home/tlcc/public/htdocs/forum/Sources/Subs.php on line 3576

Fatal error: Call to undefined function: writelog() in /home/tlcc/public/htdocs/forum/index.php on line 171


Any help you could give would be most appreciated, I really would like to use this mod  :D
Title: Re: Highslide Image Viewer
Post by: digger on October 17, 2008, 04:55:16 AM
Quote from: ssabo on October 16, 2008, 11:05:34 PM
I have tried installing this mod several times and still get the same error message.  Could someone please give me some sort of idea where I may have gone wrong.

First I am using the Theme "Helios_Multi", so I manually edited the files using Highslide Image Viewer – Installation Instructions for 1.1.6

./Sources/Subs.php
./Themes/Helios_Multi/index.template.php
./Themes/Helios_Multi/Display.template.php


I then moved the included directory "Highslide" to "./Themes/Helios_Multi".

After editing the files as soon as I click on anything in the SMF Forum, I get the following error message.

Parse error: parse error in /home/tlcc/public/htdocs/forum/Sources/Subs.php on line 3576

Fatal error: Call to undefined function: writelog() in /home/tlcc/public/htdocs/forum/index.php on line 171


Any help you could give would be most appreciated, I really would like to use this mod  :D
Attach your changed Subs.php. 
Title: Re: Highslide Image Viewer
Post by: jmil on October 17, 2008, 08:54:46 AM
Quote from: digger on October 16, 2008, 06:55:58 PM
Quote from: jmil on October 16, 2008, 04:23:27 PM
YEA - It WORKS!!!! Thanks Digger - Now the Dumb Question - Can this be modified to work with the SMF Gallery??

You can modify SMF Gallery to work with Highslide mod. (Tested with SMF Gallery 1.9.3)

in Gallery.template.php
find four places looks like this code (there may be some differences like alt='')

echo '<td align="center"><a href="' . $scripturl . '?action=gallery;sa=view;id=' . $row['ID_PICTURE'] . '">
<img ' . ($GD_Installed == true ?  'src="' . $modSettings['gallery_url'] . $row['thumbfilename'] . '" ' : 'src="' . $modSettings['gallery_url'] . $row['filename'] . '" height="78" width="120" ')  . ' border="0" alt="" /></a><br />';

and replace with

echo '<td align="center"><a href="' . $modSettings['gallery_url'] . $row['filename'] . '" class="highslide" rel="highslide">
<img ' . ($GD_Installed == true ?  'src="' . $modSettings['gallery_url'] . $row['thumbfilename'] . '" ' : 'src="' . $modSettings['gallery_url'] . $row['filename'] . '" height="78" width="120" ')  . ' border="0" alt="' .  '<a href=\'' . $scripturl . '?action=gallery;sa=view;id=' . $row['ID_PICTURE'] . '\'>[Detail]</a>' . '" /></a><br />';
echo '<div class="highslide-heading">' , @$context['gallery_cat_name'] , '</div>';


Demo here http://simple-machines.ru/index.php?action=gallery;cat=1

Works Absolutly Perfectly - I only found 3 (Not 4) similar pieces of code so I only changed those 3.
This is a very cool Mod especially for the Gallery!!! My members have multiple categories with 50+ pictures each and they LOVE this mod!

Nice Job DIgger! You got talent!
Title: Re: Highslide Image Viewer
Post by: ssabo on October 17, 2008, 09:35:42 AM
Quote from: digger on October 17, 2008, 04:55:16 AM
Quote from: ssabo on October 16, 2008, 11:05:34 PM
I have tried installing this mod several times and still get the same error message.  Could someone please give me some sort of idea where I may have gone wrong.

First I am using the Theme "Helios_Multi", so I manually edited the files using Highslide Image Viewer – Installation Instructions for 1.1.6

./Sources/Subs.php
./Themes/Helios_Multi/index.template.php
./Themes/Helios_Multi/Display.template.php


I then moved the included directory "Highslide" to "./Themes/Helios_Multi".

After editing the files as soon as I click on anything in the SMF Forum, I get the following error message.

Parse error: parse error in /home/tlcc/public/htdocs/forum/Sources/Subs.php on line 3576

Fatal error: Call to undefined function: writelog() in /home/tlcc/public/htdocs/forum/index.php on line 171


Any help you could give would be most appreciated, I really would like to use this mod  :D
Attach your changed Subs.php.

Here is my Sub.php attached.....thanks for your help.
Title: Re: Highslide Image Viewer
Post by: digger on October 17, 2008, 05:55:06 PM
Quote from: ssabo on October 17, 2008, 09:35:42 AM
Quote from: digger on October 17, 2008, 04:55:16 AM
Quote from: ssabo on October 16, 2008, 11:05:34 PM
I have tried installing this mod several times and still get the same error message.  Could someone please give me some sort of idea where I may have gone wrong.

First I am using the Theme "Helios_Multi", so I manually edited the files using Highslide Image Viewer – Installation Instructions for 1.1.6

./Sources/Subs.php
./Themes/Helios_Multi/index.template.php
./Themes/Helios_Multi/Display.template.php


I then moved the included directory "Highslide" to "./Themes/Helios_Multi".

After editing the files as soon as I click on anything in the SMF Forum, I get the following error message.

Parse error: parse error in /home/tlcc/public/htdocs/forum/Sources/Subs.php on line 3576

Fatal error: Call to undefined function: writelog() in /home/tlcc/public/htdocs/forum/index.php on line 171


Any help you could give would be most appreciated, I really would like to use this mod  :D
Attach your changed Subs.php.

Here is my Subs.php attached.....thanks for your help.
Looks strange.

You don't need manual modify Subs.php. Remove your changes.
Just install mod and edit index.template.php and
Display.template.php in your custom theme directory.
Title: Re: Highslide Image Viewer
Post by: Final60 on October 17, 2008, 08:00:39 PM
Works a treat on my custom theme, many thanks.
Title: Re: Highslide Image Viewer
Post by: ssabo on October 17, 2008, 09:49:14 PM
Quote from: digger on October 17, 2008, 05:55:06 PM
Quote from: ssabo on October 17, 2008, 09:35:42 AM
Quote from: digger on October 17, 2008, 04:55:16 AM
Quote from: ssabo on October 16, 2008, 11:05:34 PM
I have tried installing this mod several times and still get the same error message.  Could someone please give me some sort of idea where I may have gone wrong.

First I am using the Theme "Helios_Multi", so I manually edited the files using Highslide Image Viewer – Installation Instructions for 1.1.6

./Sources/Subs.php
./Themes/Helios_Multi/index.template.php
./Themes/Helios_Multi/Display.template.php


I then moved the included directory "Highslide" to "./Themes/Helios_Multi".

After editing the files as soon as I click on anything in the SMF Forum, I get the following error message.

Parse error: parse error in /home/tlcc/public/htdocs/forum/Sources/Subs.php on line 3576

Fatal error: Call to undefined function: writelog() in /home/tlcc/public/htdocs/forum/index.php on line 171


Any help you could give would be most appreciated, I really would like to use this mod  :D
Attach your changed Subs.php.

Here is my Subs.php attached.....thanks for your help.
Looks strange.

You don't need manual modify Subs.php. Remove your changes.
Just install mod and edit index.template.php and
Display.template.php in your custom theme directory.

Well digger I appreciate the effort, but still no go  :'(

I left the Sub.php as it was originally; edited both the "index.template.php" and "Didplay.template.php" in my custom theme directory.

I changed the attachments in the admin so it places attached pics as a thumbnail under the posts.  But when I test place a pic in a post and then click on it, it just opens up as it's original size in another browser window???

I had been running a IPB for 8 years and when I say I never had problems, it is not an exaggeration. I have manually edited hundreds of files; always do my backups, never had any problems.  But for some reason I really am having fits with SMF  :(

Oh, and I also tried the "package installer" it then said "Highslider" was successfully installed.  Went to the forum and tried clicking on a thumbnail.....nothing, just went to a new browser window to show the larger pic.

Any other thoughts on what to try?
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2008, 07:58:26 AM
Quote from: ssabo on October 17, 2008, 09:49:14 PM
Any other thoughts on what to try?

Can I see our forum ?
Title: Re: Highslide Image Viewer
Post by: AlenNS on October 18, 2008, 08:22:15 AM
Is it possible to add some watermark to this mod?
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2008, 08:50:36 AM
Quote from: AlenNS on October 18, 2008, 08:22:15 AM
Is it possible to add some watermark to this mod?

You can add text link on images.

In index.template.php find

hs.creditsText = "";
hs.creditsHref = "";
hs.creditsTitle = "";

and insert your text, url and title
Title: Re: Highslide Image Viewer
Post by: AlenNS on October 18, 2008, 09:06:29 AM
Yes, but it only write link on the picture, but I would like to write link of my forum on the picture and when it's downloaded to stay there.

With this method it doesn's write link on the picture.
Title: Re: Highslide Image Viewer
Post by: ssabo on October 18, 2008, 10:44:38 AM
Quote from: digger on October 18, 2008, 07:58:26 AM
Quote from: ssabo on October 17, 2008, 09:49:14 PM
Any other thoughts on what to try?

Can I see our forum ?

I will PM you your log-in & password.
Title: Re: Highslide Image Viewer
Post by: locau on October 18, 2008, 11:13:32 AM
Quote from: Tanks on October 15, 2008, 02:45:20 AM
maybe


hs.dimmingOpacity = 0.75;


should actually be


hs.dimmingOpacity = "0.75";



Just a thought :) don't know if im right ! - but now it is working on my forum after i made that change ;)

I did try that but still no luck.

I wonder, it is possible to place an watermark using highslide ? (Either for attachments or linked images)
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2008, 02:24:14 PM
Quote from: AlenNS on October 18, 2008, 09:06:29 AM
Yes, but it only write link on the picture, but I would like to write link of my forum on the picture and when it's downloaded to stay there.

With this method it doesn's write link on the picture.

I have another my mod specially for Watermark.
It's still beta version and not published yet.
Demo here http://simple-machines.ru/index.php?topic=3
Title: Re: Highslide Image Viewer
Post by: locau on October 20, 2008, 02:46:20 PM
Quote from: digger on October 18, 2008, 02:24:14 PM
Quote from: AlenNS on October 18, 2008, 09:06:29 AM
Yes, but it only write link on the picture, but I would like to write link of my forum on the picture and when it's downloaded to stay there.

With this method it doesn's write link on the picture.

I have another my mod specially for Watermark.
It's still beta version and not published yet.
Demo here http://simple-machines.ru/index.php?topic=3

i've registered on .ru forum but i never get the confirmation email for my account in order to acess the topic.
Title: Re: Highslide Image Viewer
Post by: zrotzel on October 21, 2008, 04:02:54 PM
Hello.  I just installed this mod, and did all the manual configs needed.  Is this mod supposed to auto re size images?  If so, it is not. 
Title: Re: Highslide Image Viewer
Post by: digger on October 21, 2008, 06:21:08 PM
Quote from: zrotzel on October 21, 2008, 04:02:54 PM
Hello.  I just installed this mod, and did all the manual configs needed.  Is this mod supposed to auto re size images?  If so, it is not.

* Autoresize full-size image for browser window
Title: Re: Highslide Image Viewer
Post by: zrotzel on October 21, 2008, 08:47:37 PM
Turns out it is working.  Is there a way to remove the the image link on the bottom of the picture?  I am using RC7.
Title: Re: Highslide Image Viewer
Post by: digger on October 21, 2008, 09:05:59 PM
Quote from: zrotzel on October 21, 2008, 08:47:37 PM
Is there a way to remove the the image link on the bottom of the picture?  I am using RC7.
remove from Subs.php

$b[5] = str_replace('alt=""', 'alt="' . $b[2] . '"', $b[5]); // Add filename to caption
Title: Re: Highslide Image Viewer
Post by: zrotzel on October 22, 2008, 06:30:23 AM
Its working great!!  Thanks for your help and quick responses!!
Title: Re: Highslide Image Viewer
Post by: Ratz on October 22, 2008, 06:34:58 PM
Hi digger,

Is it possible to make Highslide Viewer work along with another mod called "Attachment Layout 1.3"?

Both mods change some of the same strings of code in Display.template.php so when one is installed the other can't be. Well, at least, not using the package installer. I'm hoping there might be a way to do it manually but I haven't been lucky enough to trip on that yet.

Thanks for any help or suggestions.
Ratz
Title: Re: Highslide Image Viewer
Post by: fals on October 23, 2008, 09:18:35 AM
Quote from: Ratz on October 22, 2008, 06:34:58 PM
Is it possible to make Highslide Viewer work along with another mod called "Attachment Layout 1.3"?
No problem, tjeck out my forum http://www.fg-forum.dk/smf/index.php?topic=25035.0 (http://www.fg-forum.dk/smf/index.php?topic=25035.0)

My Display.template.php around the "Show the images"

   //show the images
   foreach ($message['attachment'] as $attachment)
   {
    if ($attachment['is_image'])
    {
     if ($attachment['thumbnail']['has_thumb'])
     {
      echo '
         <a href="', $attachment['href'], ';image" class="highslide" rel="highslide" id="link_', $attachment['id'], '"  target="_blank"><img style="margin:2px;" src="', $attachment['thumbnail']['href'], '" align="middle" alt="" id="thumb_', $attachment['id'], '" border="0" /></a><div class="highslide-heading">' , $message['subject'] , '</div>';
     }
     else
     {
      echo '
         <a href="', $attachment['href'], ';image" class="highslide" rel="highslide" id="link_', $attachment['id'], '"  target="_blank"><img  src="' . $attachment['href'] . ';image"  align="middle" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" border="0" /><div class="highslide-heading">' , $message['subject'] , '</div></a>';
     }
    }
   }
Title: Re: Highslide Image Viewer
Post by: AlenNS on October 23, 2008, 09:20:35 AM
Is there any way I could put Watermark on all pictures on my forum with HS mod?
Title: Re: Highslide Image Viewer
Post by: Ratz on October 23, 2008, 09:49:44 AM
Quote from: fals on October 23, 2008, 09:18:35 AM
Quote from: Ratz on October 22, 2008, 06:34:58 PM
Is it possible to make Highslide Viewer work along with another mod called "Attachment Layout 1.3"?
No problem, tjeck out my forum http://www.fg-forum.dk/smf/index.php?topic=25035.0 (http://www.fg-forum.dk/smf/index.php?topic=25035.0)

My Display.template.php around the "Show the images"

Thanks fals. I'll give it a go.... WOW! that was just way too easy. I knew it had to be something like that but I was making it way more complicated for myself that it needed to be. I'm php challenged obviously.

Thanks again for the fix and the lesson.
Ratz
Title: Re: Highslide Image Viewer
Post by: digger on October 23, 2008, 11:52:54 AM
Quote from: AlenNS on October 23, 2008, 09:20:35 AM
Is there any way I could put Watermark on all pictures on my forum with HS mod?
No
Title: Re: Highslide Image Viewer
Post by: AlenNS on October 23, 2008, 12:14:24 PM
Ok. Thanks for the answer. :)
Title: Re: Highslide Image Viewer
Post by: jdizine on October 27, 2008, 01:24:50 PM
For some reason I see this in some posts:
(http://i38.photobucket.com/albums/e149/jdizine/1copy.jpg)

I deleted the mod that I had just installed "Highslide Image Viewer" and it got rid of some of the double texts but not all.
Any help???
Could I just reupload the default theme "Core" and it get rid of all of the mod?
EDIT: I just reupped the affected files and it got fixed.
Title: Re: Highslide Image Viewer
Post by: jayc7176 on November 01, 2008, 10:28:17 AM
WOW!!! i ve been looking for something like this for a long time.
It is very nicely Done overall !works great.  many many  Thanks mate. !

2 suggestions - is its possible maybe put the String to remove - Pic address from the bottom in the First post

Also add the support for smf gallery code there as well all on one page :)  will help many folks :)

thnx for your contributions to the community again :)

@fals 
hey mate what did u do - to make the attatchments show up that big? many thanks ..
Title: Re: Highslide Image Viewer
Post by: fals on November 01, 2008, 01:59:54 PM
Quote from: jayc7176 on November 01, 2008, 10:28:17 AM
@fals 
hey mate what did u do - to make the attatchments show up that big? many thanks ..
Do you mean the size of the attachment thumbnail or the highslide popup?
Thumbnail size: Admin - Attachments and Avatars - Attachments and Avatars

I havent done anything about the highslide size, its all automatic
Title: Re: Highslide Image Viewer
Post by: jayc7176 on November 01, 2008, 10:54:13 PM
Thnx for the reply.. Fals.. i changed the Size @ admin and then attatchments & Avatars .. works great :)

Title: Re: Highslide Image Viewer
Post by: Sabre™ on November 02, 2008, 06:05:40 PM
I kept getting a 404 error stating that  highslide.english.js  could not be found.
But there is no such file anyway ???

Queried sql expecting the result to show me where the original error is located, but no, it showed the exact same error.

Do you know why it is calling for this file that doesnt exist?
I temporarily fixed the issue by making a duplicate of highslide.js and renaming it.
Any advice/info would be greatly appreciated.

Thanks :)
Title: Re: Highslide Image Viewer
Post by: Neons on November 03, 2008, 03:59:38 PM
Any directions on how to make this work with SMF Media Gallery (http://custom.simplemachines.org/mods/index.php?mod=1365)?
A direct link from the media gallery looks like this:
http://chanzi.be/MGalleryItem.php?id=83
I can PM you account info for the site if needed

EDIT: Where are the admin options? :/
Title: Re: Highslide Image Viewer
Post by: ziddy123 on November 03, 2008, 04:50:38 PM
Quote from: neon401 on November 03, 2008, 03:59:38 PM
Any directions on how to make this work with SMF Media Gallery (http://custom.simplemachines.org/mods/index.php?mod=1365)?
A direct link from the media gallery looks like this:
http://chanzi.be/MGalleryItem.php?id=83
I can PM you account info for the site if needed

EDIT: Where are the admin options? :/

This would be amazing.  Its what I'm looking for also.
Title: Re: Highslide Image Viewer
Post by: digger on November 03, 2008, 05:29:53 PM
Quote from: neon401 on November 03, 2008, 03:59:38 PM
Any directions on how to make this work with SMF Media Gallery (http://custom.simplemachines.org/mods/index.php?mod=1365)?
I will try to do something.
Quote
EDIT: Where are the admin options? :/
Will be in a next version.
Title: Re: Highslide Image Viewer
Post by: Neons on November 03, 2008, 05:33:55 PM
Quote from: digger on November 03, 2008, 05:29:53 PM
Quote from: neon401 on November 03, 2008, 03:59:38 PM
Any directions on how to make this work with SMF Media Gallery (http://custom.simplemachines.org/mods/index.php?mod=1365)?
I will try to do something.
Quote
EDIT: Where are the admin options? :/
Will be in a next version.

Wonderful, thank you very much :)
Title: Re: Highslide Image Viewer
Post by: ziddy123 on November 04, 2008, 09:46:47 AM
Quote from: digger on November 03, 2008, 05:29:53 PM
Quote from: neon401 on November 03, 2008, 03:59:38 PM
Any directions on how to make this work with SMF Media Gallery (http://custom.simplemachines.org/mods/index.php?mod=1365)?
I will try to do something.
Quote
EDIT: Where are the admin options? :/
Will be in a next version.

Hey for update.  How Media works if you want to post a thumb or a preview is you add ;preview or ;thumb at the end of the line.  So with previous example would be:
[img]http://chanzi.be/MGalleryItem.php?id=83;preview[/img]
[img]http://chanzi.be/MGalleryItem.php?id=83;thumb[/img]


Hope that helps.  With these two mods working together be a dream.
Title: Re: Highslide Image Viewer
Post by: ziddy123 on November 04, 2008, 01:22:42 PM
For integrating Highslide with SMF Gallery Lite, there was a problem.

Since there is no title in the category view, became impossible to click on the picture to view its info and stuff.  Here is a modifcation.

It Displays the title of the Image under the thumbnail and can be clicked to view its info.

echo '<td align="center"><a href="' . $modSettings['gallery_url'] . $row['filename'] . '" class="highslide" rel="highslide">
<img ' . ($GD_Installed == true ?  'src="' . $modSettings['gallery_url'] . $row['thumbfilename'] . '" ' : 'src="' . $modSettings['gallery_url'] . $row['filename'] . '" height="78" width="120" ')  . ' border="0" alt="' .  '<a href=\'' . $scripturl . '?action=gallery;sa=view;id=' . $row['ID_PICTURE'] . '\'>[Detail]</a>' . '" /></a><br />';
echo '<div class="highslide-heading">' , @$context['gallery_cat_name'] , '</div>';
echo '<span class="smalltext"><a href="' . $scripturl . '?action=gallery;sa=view;id=' . $row['ID_PICTURE'] . '">' . $row['title'] . '</a><br />';


Hope that helps some people
Title: Re: Highslide Image Viewer
Post by: Neons on November 09, 2008, 06:54:51 PM
Quote from: digger on November 03, 2008, 05:29:53 PM
Quote from: neon401 on November 03, 2008, 03:59:38 PM
Any directions on how to make this work with SMF Media Gallery (http://custom.simplemachines.org/mods/index.php?mod=1365)?
I will try to do something.
Any progress on this?  :)
Title: Re: Highslide Image Viewer
Post by: jayc7176 on November 13, 2008, 08:55:43 AM
thanks for this great Mod Digger and all your hard work keeping it updated :) One of my Fav Mods!
Title: Re: Highslide Image Viewer
Post by: digger on November 14, 2008, 03:13:12 PM
Quote from: neon401 on November 09, 2008, 06:54:51 PM
Quote from: digger on November 03, 2008, 05:29:53 PM
Quote from: neon401 on November 03, 2008, 03:59:38 PM
Any directions on how to make this work with SMF Media Gallery (http://custom.simplemachines.org/mods/index.php?mod=1365)?
I will try to do something.
Any progress on this?  :)

http://custom.simplemachines.org/mods/index.php?mod=1365
Main Features (New v1.5 features are marked in red)
...
Highslide animated transitions with per-album settings
Title: Re: Highslide Image Viewer
Post by: Neons on November 15, 2008, 06:38:08 AM
Quote from: digger on November 14, 2008, 03:13:12 PM
Quote from: neon401 on November 09, 2008, 06:54:51 PM
Quote from: digger on November 03, 2008, 05:29:53 PM
Quote from: neon401 on November 03, 2008, 03:59:38 PM
Any directions on how to make this work with SMF Media Gallery (http://custom.simplemachines.org/mods/index.php?mod=1365)?
I will try to do something.
Any progress on this?  :)

http://custom.simplemachines.org/mods/index.php?mod=1365
Main Features (New v1.5 features are marked in red)
...
Highslide animated transitions with per-album settings
SMF Media Gallerys Highslide only works inside the gallery itself :(
Title: Re: Highslide Image Viewer
Post by: digger on November 15, 2008, 07:24:26 AM
Quote from: neon401 on November 15, 2008, 06:38:08 AM
SMF Media Gallerys Highslide only works inside the gallery itself :(

Please post requests in Media Gallery support thread
http://www.simplemachines.org/community/index.php?topic=260821.0
Title: Re: Highslide Image Viewer
Post by: Neons on November 15, 2008, 08:44:14 AM
Uhh, isn't this an issue with this mod, not SMG?
Title: Re: Highslide Image Viewer
Post by: digger on November 15, 2008, 09:19:25 AM
Quote from: neon401 on November 15, 2008, 08:44:14 AM
Uhh, isn't this an issue with this mod, not SMG?
My mod don't have any issues with SMG.
SMG already have original highslide script included. If you want any additional possibilities with it, please contact author of SMG.
Title: Re: Highslide Image Viewer
Post by: ziddy123 on November 16, 2008, 02:46:43 PM
Quote from: digger on November 15, 2008, 09:19:25 AM
Quote from: neon401 on November 15, 2008, 08:44:14 AM
Uhh, isn't this an issue with this mod, not SMG?
My mod don't have any issues with SMG.
SMG already have original highslide script included. If you want any additional possibilities with it, please contact author of SMG.

What Neon means is that their highslide only works within SMG.

Once you post a BBC Code image from SMG, where your Highslide Mod should work, on the forums or tinyportal, it doesn't.  So it would seem it would be a collaborative work between HighSlide and SMG project. 

I already posted how SMG retrieves the image files to be posted on forums previously.
Title: Re: Highslide Image Viewer
Post by: Neons on November 16, 2008, 02:55:12 PM
Quote from: ziddy123 on November 16, 2008, 02:46:43 PM
Quote from: digger on November 15, 2008, 09:19:25 AM
Quote from: neon401 on November 15, 2008, 08:44:14 AM
Uhh, isn't this an issue with this mod, not SMG?
My mod don't have any issues with SMG.
SMG already have original highslide script included. If you want any additional possibilities with it, please contact author of SMG.

What Neon means is that their highslide only works within SMG.

Once you post a BBC Code image from SMG, where your Highslide Mod should work, on the forums or tinyportal, it doesn't.  So it would seem it would be a collaborative work between HighSlide and SMG project. 

I already posted how SMG retrieves the image files to be posted on forums previously.
Exactly.
Title: Re: Highslide Image Viewer
Post by: digger on November 16, 2008, 03:41:40 PM
Quote from: ziddy123 on November 16, 2008, 02:46:43 PM
Quote from: digger on November 15, 2008, 09:19:25 AM
Quote from: neon401 on November 15, 2008, 08:44:14 AM
Uhh, isn't this an issue with this mod, not SMG?
My mod don't have any issues with SMG.
SMG already have original highslide script included. If you want any additional possibilities with it, please contact author of SMG.

What Neon means is that their highslide only works within SMG.

Once you post a BBC Code image from SMG, where your Highslide Mod should work, on the forums or tinyportal, it doesn't.  So it would seem it would be a collaborative work between HighSlide and SMG project. 

I already posted how SMG retrieves the image files to be posted on forums previously.
Ok. I understand.
You want highslide mod detect img links from SMG.
Title: Re: Highslide Image Viewer
Post by: Neons on November 17, 2008, 06:34:32 PM
Quote from: digger on November 16, 2008, 03:41:40 PM
Quote from: ziddy123 on November 16, 2008, 02:46:43 PM
Quote from: digger on November 15, 2008, 09:19:25 AM
Quote from: neon401 on November 15, 2008, 08:44:14 AM
Uhh, isn't this an issue with this mod, not SMG?
My mod don't have any issues with SMG.
SMG already have original highslide script included. If you want any additional possibilities with it, please contact author of SMG.

What Neon means is that their highslide only works within SMG.

Once you post a BBC Code image from SMG, where your Highslide Mod should work, on the forums or tinyportal, it doesn't.  So it would seem it would be a collaborative work between HighSlide and SMG project. 

I already posted how SMG retrieves the image files to be posted on forums previously.
Ok. I understand.
You want highslide mod detect img links from SMG.
Correct. It would be really great if you could pull that off :D
Title: Re: Highslide Image Viewer
Post by: digger on November 17, 2008, 11:40:40 PM
Test version with SMG support atached.

Works with BBC like
[img]http://smf-media.com/community/MGalleryItem.php?id=167;preview[/img]
and
[img]http://smf-media.com/community/MGalleryItem.php?id=167;thumb[/img]
Title: Re: Highslide Image Viewer
Post by: Neons on November 18, 2008, 10:39:33 AM
Quote from: digger on November 17, 2008, 11:40:40 PM
Test version with SMG support atached.

Works with BBC like
[img]http://smf-media.com/community/MGalleryItem.php?id=167;preview[/img]
and
[img]http://smf-media.com/community/MGalleryItem.php?id=167;thumb[/img]
Works great, thank you so much! <3
Title: Re: Highslide Image Viewer
Post by: kyle007 on November 18, 2008, 11:06:43 AM
digger, script works like a charm, but there is a  little but really annoying bug...

Flash banners in my site block the HighSlide viewer...

You can see it here, just drag an opened image to a flash banner at the top side...

http://forum.hardwarena.com/index.php?topic=9179.0

Viewer must always at top but it isn't...

I wish you could fix this... Thanks again for this nice mod.... ;)
Title: Re: Highslide Image Viewer
Post by: Neons on November 18, 2008, 11:33:18 AM
Quote from: kyle007 on November 18, 2008, 11:06:43 AM
digger, script works like a charm, but there is a  little but really annoying bug...

Flash banners in my site block the HighSlide viewer...

You can see it here, just drag an opened image to a flash banner at the top side...

http://forum.hardwarena.com/index.php?topic=9179.0

Viewer must always at top but it isn't...

I wish you could fix this... Thanks again for this nice mod.... ;)
Hmm.. I had a smiliar problem, not with this mod though. Try changing the z-index of either the flash banners or Highslide, perhaps removing (one of) them.
Title: Re: Highslide Image Viewer
Post by: kyle007 on November 18, 2008, 12:35:07 PM
Edit : I solved it,yuppi  :D

I used <param name="wmode" value="transparent"> for flash banners... Now it's exactly what i've dreamed...  8)

* BTW, i don't want my imageshack images to be opened with Highslide viewer, any chance to deactivate Highslide on ImageShack photos ?... or saying in another way, i want the script to be activated with attachments only
Title: Re: Highslide Image Viewer
Post by: Dazed on November 19, 2008, 09:39:03 PM
Not sure if this will help another... First an excellent Mod. Second I am using SMF 1.1.7, SMF Gallery Lite, and TP 9.8.3, and RC9 of this Mod.

I could make the Mod work fine in the default theme but could not get it to work in the beginning on a custom theme.

Essentially, 2 edits needed to be made and in the parsing tool here on SMF the edits were correct but only stated that it was the default theme. I used that knowledge to expand and make this Mod work for my application.

For Index.Template.php
Find// If RSS feeds are enabled, advertise the presence of one.
Before Add// * Highslide mod
echo '<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.', $context['user']['language'], '.js"></script>
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/Highslide/highslide.css" media="screen" />
<script type="text/javascript">
    hs.graphicsDir = "', $settings['default_theme_url'], '/Highslide/";
    hs.outlineType = "rounded-white";
    hs.captionEval = "this.thumb.alt";
    hs.transitions = ["expand", "crossfade"];
    hs.align = "center";
    hs.creditsText = "";
    hs.creditsHref = "";
    hs.creditsTitle = "";
    if (hs.addSlideshow) hs.addSlideshow({
        interval: 5000,
        repeat: false,
        useControls: true,
fixedControls: false,
        overlayOptions: {
        opacity: 1,
        position: "top right",
        hideOnMouseOut: false
}
    });
  </script>';
// Highslide mod *


In Display.template.php
Find<a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" onclick="', $attachment['thumbnail']['javascript'], '"><img src="', $attachment['thumbnail']['href'], '" alt="" id="thumb_', $attachment['id'], '" border="0" /></a><br />';


Replace with:<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>';


I hope this is considered useful and if possible critique my first "tech response" here for quality and substance. As a Charter member I want to get more involved in this type of thing and I know that I have far to go. Thread hijack over.... ;)
Title: Re: Highslide Image Viewer
Post by: digger on November 19, 2008, 10:33:35 PM
Quote from: kyle007 on November 18, 2008, 12:35:07 PM
Edit : I solved it,yuppi  :D

I used <param name="wmode" value="transparent"> for flash banners... Now it's exactly what i've dreamed...  8)

* BTW, i don't want my imageshack images to be opened with Highslide viewer, any chance to deactivate Highslide on ImageShack photos ?... or saying in another way, i want the script to be activated with attachments only
Deactivate for ImageShack only?
Or for all linked images?

http://www.simplemachines.org/community/index.php?topic=266750.msg1750962#msg1750962
Title: Re: Highslide Image Viewer
Post by: kyle007 on November 20, 2008, 04:52:58 AM
@digger, first i want it for only ImageShack  then i change my decision :) Thanks ;)
Title: Re: Highslide Image Viewer
Post by: pecado on November 23, 2008, 08:02:52 AM
here you are additional code for subs.php to work with fotosik.pl, one of popular polish image hosters

|| (strpos($c, 'fotosik') !== false && preg_match('~(.*?)\.(?:m\.|)(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4]))

elseif(strpos($c, 'fotosik') !== false)
{
// Fix iPicture thumbnails
if(preg_match('~(.*?)\.(?:m\.|)(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4], $out))
{
$out = (substr($out[1], -1, 1)=='m'?substr($out[1], 0, strlen($out[1])-1):$out[1]).'.'.$out[2];
$d = $b[1];
$b[1] = str_replace($b[2], $out, $b[1]);
$b[2] = $out;
$b[5] = str_replace($d, $b[1], $b[5]);
unset($c, $d, $out);
}
}


works fine for me ;)
http://www.knives.pl/forum/index.php/topic,61312.msg412323.html#msg412323
Title: Re: Highslide Image Viewer
Post by: digger on November 23, 2008, 08:58:06 AM
Quote from: pecado on November 23, 2008, 08:02:52 AM
here you are additional code for subs.php to work with fotosik.pl, one of popular polish image hosters

Thanks for contribution. I will add your code in a next version.

Can you attach your polish lang file for highslide?
Title: Re: Highslide Image Viewer
Post by: Dazed on November 23, 2008, 06:03:15 PM
Found a new issue today. Members tried to search and received this error....

[Sun Nov 23 16:37:11 2008] [error] [client 67.xxx.xxx.xx] File does not exist: /home/xxxxxxxxxx/public_html/Themes/default/Highslide/highslide.english.js, referer: http://www.xxxxxxxxxxxxxx.xxx/index.php?www

I placed the "x" in place of private info but you get the idea.

It throws a 404 error. It works fine except for when using search. And, I don't find and English.js file even going back a few versions... Ideas?

My earlier post shows the versions I am using.
Title: Re: Highslide Image Viewer
Post by: digger on November 23, 2008, 09:36:18 PM
Quote from: Dazed on November 23, 2008, 06:03:15 PM
Found a new issue today. Members tried to search and received this error....

[Sun Nov 23 16:37:11 2008] [error] [client 67.xxx.xxx.xx] File does not exist: /home/xxxxxxxxxx/public_html/Themes/default/Highslide/highslide.english.js, referer: http://www.xxxxxxxxxxxxxx.xxx/index.php?www

I placed the "x" in place of private info but you get the idea.

It throws a 404 error. It works fine except for when using search. And, I don't find and English.js file even going back a few versions... Ideas?

My earlier post shows the versions I am using.

Take English.js from this post http://www.simplemachines.org/community/index.php?topic=266750.msg1744643#msg1744643
Title: Re: Highslide Image Viewer
Post by: Dazed on November 23, 2008, 10:00:23 PM
Works for some searches. Many do not. Goes to that error.
Title: Re: Highslide Image Viewer
Post by: vulcan59 on November 24, 2008, 11:03:25 PM
Hi,

I m running SMF 1.1.7 with SMF Gallery and DilberMC theme. I'd like to install the Highslide Image Viewer.

What are the files to modify? Has anyone tried it with DilberMC theme?

Thanks. 
Title: Re: Highslide Image Viewer
Post by: digger on November 25, 2008, 09:11:38 AM
Quote from: vulcan59 on November 24, 2008, 11:03:25 PM
Hi,

I m running SMF 1.1.7 with SMF Gallery and DilberMC theme. I'd like to install the Highslide Image Viewer.

What are the files to modify? Has anyone tried it with DilberMC theme?

Thanks.


You can see manual install instructions on the mod download page.
Title: Re: Highslide Image Viewer
Post by: vulcan59 on November 25, 2008, 02:42:34 PM
Thanks digger. My concern was that the instructions do not mention any other theme templates except the default templates and my experience has been that quite often my theme template needs to be modified as well.

Just being cautious rather than spending time undoing things or coming here to ask more "silly" questions from you guys.

Thanks once again. I'll do the mod and see how it goes.
Title: Re: Highslide Image Viewer
Post by: vulcan59 on November 25, 2008, 04:01:24 PM
Hi digger, mod carried out with no problems but I don't see the effects.

I enable Highslide for the album as well as in the general settings but still didn't see the effect. I did  a hard refresh but still nothing.

Is there some other setting that I need to enable? Or is there a manual on how to use it?

Regards.
Title: Re: Highslide Image Viewer
Post by: Dazed on November 25, 2008, 08:54:54 PM
Vulcan if you need help I can help you if you want. I am using a custom theme as well and the only issue I have found is with the search mechanism. It still throws an error if a search string doesn't exist. This may not be directly due to this mod as I have others there as well but it started to occur after the install. Are you using Tiny Portal with that or not?
Title: Re: Highslide Image Viewer
Post by: digger on November 25, 2008, 09:17:44 PM
Quote from: vulcan59 on November 25, 2008, 04:01:24 PM
Hi digger, mod carried out with no problems but I don't see the effects.

I enable Highslide for the album as well as in the general settings but still didn't see the effect. I did  a hard refresh but still nothing.

Is there some other setting that I need to enable? Or is there a manual on how to use it?

Regards.

There is no any settings for mod. You can't disable or enable it.
Title: Re: Highslide Image Viewer
Post by: vulcan59 on November 26, 2008, 01:07:29 AM
Quote from: Dazed on November 25, 2008, 08:54:54 PM
Vulcan if you need help I can help you if you want. I am using a custom theme as well and the only issue I have found is with the search mechanism. It still throws an error if a search string doesn't exist. This may not be directly due to this mod as I have others there as well but it started to occur after the install. Are you using Tiny Portal with that or not?

Thanks for the offer. No I am not using Tiny Portal. website is _www.arrowcat.co.nz

Will load some images in the gallery for you to check out and tell me why it's not working.

Regards.
Title: Re: Highslide Image Viewer
Post by: digger on November 26, 2008, 01:29:35 AM
Quote from: vulcan59 on November 26, 2008, 01:07:29 AM
Quote from: Dazed on November 25, 2008, 08:54:54 PM
Vulcan if you need help I can help you if you want. I am using a custom theme as well and the only issue I have found is with the search mechanism. It still throws an error if a search string doesn't exist. This may not be directly due to this mod as I have others there as well but it started to occur after the install. Are you using Tiny Portal with that or not?

Thanks for the offer. No I am not using Tiny Portal. website is _www.arrowcat.co.nz

Will load some images in the gallery for you to check out and tell me why it's not working.

Regards.

Highslide Image Viewer is mod for SMF forum. Not for any gallery.
Title: Re: Highslide Image Viewer
Post by: vulcan59 on November 26, 2008, 01:33:41 AM
Hi digger,

Quote from: diggerThere is no any settings for mod. You can't disable or enable it.

Well I went to admin/gallery/settings/layout and in there, is an option for "Use Highslide (animated transitions)" which is set to "Yes". And when I create an album i have the option "Enable Highslide" which is again set to yes. This is what I am referring to.

Is there some other settings that I need to enable?

Title: Re: Highslide Image Viewer
Post by: digger on November 26, 2008, 01:42:31 AM
Quote from: vulcan59 on November 26, 2008, 01:33:41 AM
Hi digger,

Quote from: diggerThere is no any settings for mod. You can't disable or enable it.

Well I went to admin/gallery/settings/layout and in there, is an option for "Use Highslide (animated transitions)" which is set to "Yes". And when I create an album i have the option "Enable Highslide" which is again set to yes. This is what I am referring to.

Is there some other settings that I need to enable?

So.
There's a gallery here _www.arrowcat.co.nz. Gallery have own higslide effect. Highslide effect is working.

I don't understand what do you want :)
Title: Re: Highslide Image Viewer
Post by: vulcan59 on November 26, 2008, 02:29:50 AM
Quote from: diggerI don't understand what do you want

Apologies, yes it is working now and when I wrote earlier it wasn't!!!!
Really weird.

Thanks anyway. Regards.
Title: Re: Highslide Image Viewer
Post by: God Of Mana on November 28, 2008, 11:30:54 AM
Quote from: fals on October 08, 2008, 02:54:47 PM
Works perfect ! (http://www.fg-forum.dk/smf/Smileys/fg/EmoPackv6_059.gif) (http://www.fg-forum.dk/smf/Smileys/fg/EmoPackv6_059.gif)
[allready tweeked it a bit  ;D ]
http://www.fg-forum.dk/smf/index.php?topic=25035.0 (http://www.fg-forum.dk/smf/index.php?topic=25035.0)

Love what you did! could i please have the JS you made?  =P

And also, areas that are made transparent turn grey, wouldn't a color matching the highslide window have a better effect?



Title: Re: Highslide Image Viewer
Post by: ziddy123 on November 28, 2008, 12:56:21 PM
QuoteWorks perfect !
[allready tweeked it a bit  ;D ]
http://www.fg-forum.dk/smf/index.php?topic=25035.0

Yes I agree, please post how you did that tweak.  I love how it opens and closes the pictures, very very nice.
Title: Re: Highslide Image Viewer
Post by: digger on November 28, 2008, 01:33:33 PM
Quote from: ziddy123 on November 28, 2008, 12:56:21 PM
QuoteWorks perfect !
[allready tweeked it a bit  ;D ]
http://www.fg-forum.dk/smf/index.php?topic=25035.0

Yes I agree, please post how you did that tweak.  I love how it opens and closes the pictures, very very nice.

In index.template.php

find
hs.creditsText = "";

add before
hs.easing = "easeInBack";
hs.easingClose = "easeOutBack";
Title: Re: Highslide Image Viewer
Post by: Ravac on November 29, 2008, 10:23:22 PM
Thank you for this great mod
Title: Re: Highslide Image Viewer
Post by: ziddy123 on November 30, 2008, 06:53:13 PM
Quote from: digger on November 28, 2008, 01:33:33 PM
Quote from: ziddy123 on November 28, 2008, 12:56:21 PM
QuoteWorks perfect !
[allready tweeked it a bit  ;D ]
http://www.fg-forum.dk/smf/index.php?topic=25035.0

Yes I agree, please post how you did that tweak.  I love how it opens and closes the pictures, very very nice.

In index.template.php

find
hs.creditsText = "";

add before
hs.easing = "easeInBack";
hs.easingClose = "easeOutBack";

No that's not it.  His mod has it wait until picture loads.  And also the way the picture opens and closes is different.  I tried adding hs.easing, hs.easingclose didn't work.

I tried PMing Fals on his site, hopefully he will share his secret.
Title: Re: Highslide Image Viewer
Post by: shaitanfr on December 03, 2008, 03:21:34 PM
Solution:
http://highslide.com/ref/hs.easing

1) Installing Robert Penner's Easing Equations

   1. Go to www.robertpenner.com/easing and download "ActionScript 1.0 Equations". The library is published under a BSD licence, and has no link to the Highslide licence.
   2. Extract the zip file into your highslide folder.
   3. Your highslide folder now contains the file easing_equations.as. This is an ActionScript 1.0 file, but the syntax is ECMAScript and it works flawlessly with browsers. To prevent confusion you may want to rename it to easing_equations.js.
   4. Include the file in your HTML page:

      <script type="text/javascript" src="highslide/easing_equations.js"></script>

   5. Too see what hs.easing alternatives you have, see Robert Penner's Equations Visualizer.

2) Setting the easing to linearTween

Put this in the head section of your page. This affects all expanders

<script type="text/javascript">
  hs.easing = 'linearTween';
</script>
Title: Re: Highslide Image Viewer
Post by: shaitanfr on December 04, 2008, 06:13:42 PM
It's ok, working code:

// * Highslide mod
echo '<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/easing_equations.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.', $context['user']['language'], '.js"></script>
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/Highslide/highslide.css" media="screen" />
<script type="text/javascript">
    hs.graphicsDir = "', $settings['default_theme_url'], '/Highslide/";
hs.restoreCursor = "zoomout.cur"; // necessary for preload
    hs.easing = "easeInBack";
    hs.easingClose = "easeOutBack";
    hs.expandSteps = "50"; // number of steps in zoom. Each step lasts for duration/step milliseconds. //xxxx
    hs.expandDuration = "500"; // milliseconds //xxxx
    hs.restoreSteps = "50"; //xxxx
    hs.restoreDuration = "500"; //xxxx
    hs.outlineType = "rounded-white";
    hs.captionEval = "this.thumb.alt";
    hs.align = "center";
// First, we need to turn on the number display
    hs.numberPosition = "caption";
    hs.creditsText = "";
    hs.creditsHref = "";
    hs.creditsTitle = "";
hs.transitions = ["expand", "crossfade"];
  if (hs.addSlideshow) hs.addSlideshow({
        interval: 5000,
        repeat: false,
        useControls: true,
fixedControls: false,
        overlayOptions: {
        opacity: 1,
        position: "top right",
        hideOnMouseOut: true
}
    });
  </script>';
// Highslide mod *


And copy the file easing_equations.js in your Highslide folder.


Edited, correct code now.
Title: Re: Highslide Image Viewer
Post by: NaaN NL on December 08, 2008, 12:07:51 PM
Thanks for this nice mod, however I do have a question and I'm sorry if this is a stupid question. O:)

But is there anyway to make it work for every image within (//) tags ? Cause at the moment seems to re-size some pictures and some not...  ???

Title: Re: Highslide Image Viewer
Post by: digger on December 08, 2008, 02:19:32 PM
Quote from: NaaN NL on December 08, 2008, 12:07:51 PM
But is there anyway to make it work for every image within [img][/img] tags ? Cause at the moment seems to re-size some pictures and some not...  ???
Mod work for images with thumbnails or linked.
Title: Re: Highslide Image Viewer
Post by: NaaN NL 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
Title: Re: Highslide Image Viewer
Post by: digger on December 08, 2008, 03:32:04 PM
Quote from: NaaN NL 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

There is no possibility for it.
Title: Re: Highslide Image Viewer
Post by: NaaN NL on December 08, 2008, 03:39:46 PM
Ok, guess I'll have find another way , but thank you very much for the support 
Title: Re: Highslide Image Viewer
Post by: shaitanfr on December 08, 2008, 03:56:24 PM
And if you comment  this line ?

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



My english is bad but my Taylor is rich :)

Title: Re: Highslide Image Viewer
Post by: digger on December 08, 2008, 04:54:14 PM
Quote from: shaitanfr on December 08, 2008, 03:56:24 PM
And if you comment  this line ?

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

If you comment this line, will be troubles with bbc like
[url=some_http_link][img]image[/img][/url]
Title: Re: Highslide Image Viewer
Post by: shaitanfr 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.  ::)
Title: Re: Highslide Image Viewer
Post by: digger 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 [url=fullsize_image][img]thumbnail_image[/img][/url]
Title: Re: Highslide Image Viewer
Post by: mikecentola 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?
Title: Re: Highslide Image Viewer
Post by: yrral 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 />';
Title: Re: Highslide Image Viewer
Post by: digger on December 21, 2008, 02:14:33 PM
Quote from: yrral on December 21, 2008, 05:08:44 AM
481: <a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" class="highslide"

481: echo '<a href="'
Title: Re: Highslide Image Viewer
Post by: Ravac 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 [img]link picture[/img]
Title: Re: Highslide Image Viewer
Post by: digger on December 21, 2008, 05:16:53 PM
Quote from: ravac 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 [img]link picture[/img]

QuoteHow disable highslide for linked images.

In /Sources/Subs.php
find
// * Highslide mod
add before
/*
find
// Highslide mod *
add after
*/
Title: Re: Highslide Image Viewer
Post by: recep34 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
Title: Re: Highslide Image Viewer
Post by: digger on December 22, 2008, 09:27:10 PM
Quote from: recep34 on December 22, 2008, 04:44:43 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
Title: Re: Highslide Image Viewer
Post by: recep34 on December 23, 2008, 08:53:52 AM
thanks digger ,now it works fine  :D and here is the turkish file,

highslide.turkish.js
// 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."
};
Title: Re: Highslide Image Viewer
Post by: Pentaxian on December 23, 2008, 03:48:14 PM
Attached the dutch translation of highslide.english.js as requested.
Title: Re: Highslide Image Viewer
Post by: digger on December 23, 2008, 07:15:37 PM
Thanks for new languages.
Title: Re: Highslide Image Viewer
Post by: yrral on December 28, 2008, 09:33:44 PM
Quote from: digger on December 21, 2008, 02:14:33 PM
Quote from: yrral on December 21, 2008, 05:08:44 AM
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
[IMG]http://i43.photobucket.com/albums/e364/larry_anda/th_IMG_3157.jpg[/IMG]

WORKING:
[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.
Title: Re: Highslide Image Viewer
Post by: Nao 尚 on January 03, 2009, 07:06:03 AM
Quote from: neon401 on November 15, 2008, 06:38:08 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.
Title: Re: Highslide Image Viewer
Post by: Jakobwolff 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?
Title: Re: Highslide Image Viewer
Post by: digger on January 03, 2009, 04:51:50 PM
Quote from: Jakobwolff 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?

Just install mod and edit index.template.php and
Display.template.php in your custom theme directory.
Title: Re: Highslide Image Viewer
Post by: Axodious on January 04, 2009, 06:16:27 PM
Running 1.1.7, with a custom SSI integrated index page for my website here (http://www.aftermathlb.com/) the mod works fine inside the forum itself but not on the News pictures on the main index page, it just links directly to the image and adds a black box underneath the image, anyway to fix? Other than that this mod is awesome! Tried using Integrate Lightbox but for some reason it's automatically associating itself to urls that contain an image tag such as .jpg, when it does this it breaks on images from Imageshack because they aren't real images, it's a link to a website.
Title: Re: Highslide Image Viewer
Post by: digger on January 05, 2009, 07:16:52 PM
Quote from: axodious on January 04, 2009, 06:16:27 PM
Running 1.1.7, with a custom SSI integrated index page for my website here (http://www.aftermathlb.com/) the mod works fine inside the forum itself but not on the News pictures on the main index page, it just links directly to the image and adds a black box underneath the image, anyway to fix?

There is a lightbox mod on this website.
Title: Re: Highslide Image Viewer
Post by: Axodious on January 05, 2009, 10:11:23 PM
Quote from: digger on January 05, 2009, 07:16:52 PM
Quote from: axodious on January 04, 2009, 06:16:27 PM
Running 1.1.7, with a custom SSI integrated index page for my website here (http://www.aftermathlb.com/) the mod works fine inside the forum itself but not on the News pictures on the main index page, it just links directly to the image and adds a black box underneath the image, anyway to fix?

There is a lightbox mod on this website.

Yes, I tried using the mod, I'm having an issue with it. It's trying to open anything that has an image tag at the end (.jpg, .gif, etc) as a lightbox including urls rather than just IMGs.
Title: Re: Highslide Image Viewer
Post by: Axodious on January 09, 2009, 02:41:59 AM
Ok, the author for Integrate Lightbox hasn't been seen since October, I'm going to try to get Highslide working.

Here is my issue:
I've got my website here (http://www.aftermathlb.com). If you click the image displayed in the news on that website it opens in a lightbox (Lightbox2 to be exact). The information from the news section is retrieved from the forum using SSI.php. To get the lightbox to work on the index page I had to download Lightbox2 itself from it's website and include it in the index page. I then had to install the forum mod Integrate Lightbox (which would automaticly tag the image files with class="lightbox[smf]"). I would like to get the same functionality using Highslide, how would I go about doing that?
Title: Re: Highslide Image Viewer
Post by: digger on January 09, 2009, 12:31:05 PM
Quote from: axodious on January 09, 2009, 02:41:59 AM
Ok, the author for Integrate Lightbox hasn't been seen since October, I'm going to try to get Highslide working.

Here is my issue:
I've got my website here (http://www.aftermathlb.com). If you click the image displayed in the news on that website it opens in a lightbox (Lightbox2 to be exact). The information from the news section is retrieved from the forum using SSI.php. To get the lightbox to work on the index page I had to download Lightbox2 itself from it's website and include it in the index page. I then had to install the forum mod Integrate Lightbox (which would automaticly tag the image files with class="lightbox[smf]"). I would like to get the same functionality using Highslide, how would I go about doing that?
Download Highslide from it's website and include it in the index page. Then install mod.
Title: Re: Highslide Image Viewer
Post by: Axodious on January 09, 2009, 02:07:02 PM
I tried that, didn't work. I also tried using the one in SMF and it kind of worked. It put a div under the image with a black border the width of the image, but only about 20px high. If I clicked the image it popped up the Loading sign on the image but nothing happens.
Title: Re: Highslide Image Viewer
Post by: AlenNS on January 11, 2009, 12:12:34 PM
Does anyone know how to merge some watermark script with highslide?
Title: Re: Highslide Image Viewer
Post by: HR on January 12, 2009, 06:45:30 AM
How I wonder would one intigrate this into say.. profile pictures for the ultimate profile?

And I cant fancy why but the Display.templlate fails :/

**Scratch that is a conflict with attachments layout.

Title: Re: Highslide Image Viewer
Post by: HR on January 15, 2009, 02:04:28 AM
Latest and greatest slight annoyance.. Images encapsulated as URL links.. anyway you can think of to filter this out from the alteration?
example:

[url=http://yaddayadda][img]whatever goes here [/img][/url]
Title: Re: Highslide Image Viewer
Post by: jagna on January 17, 2009, 05:11:25 PM
Digger, your mod is great and is working fine for me, but just one question: any chances of replacing the link to the image, showing under the image itself, with the subject of the message the image is attached to? Would be very handy for me...
Title: Re: Highslide Image Viewer
Post by: digger on January 18, 2009, 06:01:17 AM
Quote from: jagna on January 17, 2009, 05:11:25 PM
Digger, your mod is great and is working fine for me, but just one question: any chances of replacing the link to the image, showing under the image itself, with the subject of the message the image is attached to? Would be very handy for me...

In a next version will be some admin settings for it.
Title: Re: Highslide Image Viewer
Post by: jagna on January 18, 2009, 08:04:35 AM
Great, I'm looking forward to it :) And so are the forum users, who have to be inserting the "alt" tags into the image links for now to get the right description under the picture ;-)
Title: Re: Highslide Image Viewer
Post by: exxocet on January 21, 2009, 03:42:55 AM
The same issue here.
  I have an PayPal button on my site and instead of sending the user to the PayPal account it simply try to open the button image. Lightbox do the same.
Any fix here? Thx.
Title: Re: Highslide Image Viewer
Post by: digger on January 21, 2009, 06:56:29 AM
Quote from: exxocet on January 21, 2009, 03:42:55 AM
The same issue here.
  I have an PayPal button on my site and instead of sending the user to the PayPal account it simply try to open the button image. Lightbox do the same.
Any fix here? Thx.

Can I see your site?
Title: Re: Highslide Image Viewer
Post by: exxocet on January 21, 2009, 08:49:15 AM
  That won't be a problem, but you won't be able to see the issue because the mod is not enabled. I can send you subs.php, index.template.php and Display.template.php if this help.
  the mod work great on thumbnails, but refuse to follow the link for [URL=http://php/html/asp link][IMG]http://image[/img][/URL] syntax. It hangs on Loading...

Thank you.
Title: Re: Highslide Image Viewer
Post by: exxocet on January 23, 2009, 02:51:24 AM
  Neh, it's not just me. I've put the mod on a fresh SMF install and it's behaviour is the same: images linked to URL doesn't work. The same happened with linghbox, probably because highslide mod use the same subs script.

 
Title: Re: Highslide Image Viewer
Post by: exxocet on January 23, 2009, 03:14:03 PM
Can't this be modified in order to highslide only remote hosted images? Images hosten on localhost to be skiped.
Title: Re: Highslide Image Viewer
Post by: Schlup on January 25, 2009, 10:57:22 PM
Ok, I have a problem.  My topics are setup to show 50 posts per page.  The Highslide is working correctly but it is putting the enlarged picture in the middle of the topic...so if there is a picture at the top of my 50 post page or at the bottom of my 50 post page I have to scroll all the way to the middle to look at the enlarged picture...and that's just for the people who notice the picture is being sent to the middle of the page...for everyone else it is looking like the enlarged picture isn't working...unless they scroll around on that page to find it smack dab in the middle.  You can have a look at what I am talking about here...click on any of the pictures toward the top or bottom.  Let me know how to fix this please.

http://www.bulletproofnerds.com/smfforum/index.php/topic,172.msg235.html#msg235

Thank you in advance!
Title: Re: Highslide Image Viewer
Post by: digger on January 26, 2009, 04:15:33 AM
Quote from: Schlup on January 25, 2009, 10:57:22 PM
Ok, I have a problem.  My topics are setup to show 50 posts per page.  The Highslide is working correctly but it is putting the enlarged picture in the middle of the topic...so if there is a picture at the top of my 50 post page or at the bottom of my 50 post page I have to scroll all the way to the middle to look at the enlarged picture...and that's just for the people who notice the picture is being sent to the middle of the page...for everyone else it is looking like the enlarged picture isn't working...unless they scroll around on that page to find it smack dab in the middle.  You can have a look at what I am talking about here...click on any of the pictures toward the top or bottom.  Let me know how to fix this please.

http://www.bulletproofnerds.com/smfforum/index.php/topic,172.msg235.html#msg235

Thank you in advance!

It's just because you insert forum into iframe. Script can't detect viewable area of browser.
I don't know how to fix it. Nobody use iframes today.

Btw, your forum looks very bad in Opera browser .
Title: Re: Highslide Image Viewer
Post by: Schlup on January 26, 2009, 09:21:54 AM
Thanks for the heads up about Opera...I don't use it and only about 1 in every 1000 visitors do for our site so i will look into fixing it for Opera.  As far as the iframe is concerned there are thousands of websites that use this particular module with Drupal to integrate the SMF forums in it.  So as far as iframe is concerned I don't know much about it, but I do know that this module is very popular with the drupal community.  Please let me know if you can find a fix for it...or if you know of a similar program to Highslide that doesn't have this issue.
Title: Re: Highslide Image Viewer
Post by: Mdk001 on January 28, 2009, 12:29:56 PM
I was wondering if there's a way to open the image in a new window when the user clicks on the "expand to actual size" button, rather than stretching the HS window (which causes it to go outside the viewable area without scrollbars), it would come in handy for those 1600x1200 pics and for users than don't know about middle-clicking to open in a new tab :D
Title: Re: Highslide Image Viewer
Post by: SergeantAsh on January 31, 2009, 12:29:08 PM
Great mod, very impressive.

...but I'm having issues with it and get the attached error, the pages still work but this error occurs in Firefox and IE ( output through Firebug) - any ideas?
Title: Re: Highslide Image Viewer
Post by: ysNoi on February 01, 2009, 04:16:25 AM
Thanks for sharing this mod...! I love it..!

@ last, I have a success edit...! Thanks again..!

Edit :
Quote from: fals on October 08, 2008, 02:54:47 PM
Works perfect ! (http://www.fg-forum.dk/smf/Smileys/fg/EmoPackv6_059.gif) (http://www.fg-forum.dk/smf/Smileys/fg/EmoPackv6_059.gif)
[allready tweeked it a bit  ;D ]
http://www.fg-forum.dk/smf/index.php?topic=25035.0 (http://www.fg-forum.dk/smf/index.php?topic=25035.0)

I realy like this one fals, would you share me how to do a tweak..?

I tried posting an /img code from photobucket and it seems the image is very large, can someone help me what to do in a way that large images will be automatically be resize..?

Thanks...!
Title: Re: Highslide Image Viewer
Post by: Mdk001 on February 01, 2009, 05:37:10 AM
Quote from: Mdk001 on January 28, 2009, 12:29:56 PM
I was wondering if there's a way to open the image in a new window when the user clicks on the "expand to actual size" button, rather than stretching the HS window (which causes it to go outside the viewable area without scrollbars), it would come in handy for those 1600x1200 pics and for users than don't know about middle-clicking to open in a new tab :D

On a partially related note, is it supposed to open images that aren't thumbnails as well?
Kinda silly to open an image which is already displayed at its actual size on the forum...
Title: Re: Highslide Image Viewer
Post by: AlenNS on February 01, 2009, 09:11:08 PM
I would like to have my images attached like it is on second picture. Is it possible to do?
Thanks in advance! :)

Picture 1 ( now ):

(http://i42.tinypic.com/2005kk1.jpg)

Picture 2:

(http://i39.tinypic.com/2hmplxh.jpg)
Title: Re: Highslide Image Viewer
Post by: digger on February 02, 2009, 04:19:29 AM
Quote from: AlenNS on February 01, 2009, 09:11:08 PM
I would like to have my images attached like it is on second picture. Is it possible to do?
Thanks in advance! :)

Modify your theme files.
Title: Re: Highslide Image Viewer
Post by: SergeantAsh on February 02, 2009, 09:41:24 AM
Quote from: digger on February 02, 2009, 04:19:29 AM
Quote from: AlenNS on February 01, 2009, 09:11:08 PM
I would like to have my images attached like it is on second picture. Is it possible to do?
Thanks in advance! :)

Modify your theme files.

Wouldn't this involve adding a loop and a counter script to add a carriage return after x number images? Not necessarily as simple as 'editing your theme' Alen as far as I know.
Title: Re: Highslide Image Viewer
Post by: AlenNS on February 02, 2009, 12:42:15 PM
Quote from: digger on February 02, 2009, 04:19:29 AM
Quote from: AlenNS on February 01, 2009, 09:11:08 PM
I would like to have my images attached like it is on second picture. Is it possible to do?
Thanks in advance! :)

Modify your theme files.
I wouldn't even ask if I could do this as simple as you told me that.
Earlier I have modified my Babylon theme and I had several errors.
My attached pictures was like on picture 2, but when there are combined attachments like jpg and zip or rar, then attached files going one across other.
Now I'm using default theme and I've asked on this theme because I'm using this mod expecting I'll get little precise answer, but obviously I was wrong. :/
Title: Re: Highslide Image Viewer
Post by: SergeantAsh on February 02, 2009, 12:45:53 PM
Quote from: AlenNS on February 01, 2009, 09:11:08 PM
I wouldn't even ask if I could do this as simple as you told me that.

I agree mate, his answer wasn't entirely helpful.

I actually don't think editing the theme is the key here anyway, but I'm not entirely sure either :(
Title: Re: Highslide Image Viewer
Post by: AlenNS on February 02, 2009, 01:00:19 PM
I hope that he'll find some time to help me with this. :)
Look at this theme, but there was Babylon theme and there was no HS Image Viewer.

http://www.simplemachines.org/community/index.php?topic=247687.msg1601244#msg1601244
Title: Re: Highslide Image Viewer
Post by: AlenNS on February 03, 2009, 09:55:10 PM
Bump
Title: Re: Highslide Image Viewer
Post by: ghof on February 04, 2009, 08:03:46 PM
I tried to install this, i got no errors of any kind, i then checked if it work, and it doesnt,  it opens a new window, i have checked all files, and all looks ok,  highslide map is there too...i dont understand  :'(

Does someone know whats wrong?

I also hva smf media gallery....
Title: Re: Highslide Image Viewer
Post by: AlenNS on February 06, 2009, 11:07:31 AM
Quote from: AlenNS on February 01, 2009, 09:11:08 PM
I would like to have my images attached like it is on second picture. Is it possible to do?
Thanks in advance! :)

Picture 1 ( now ):

(http://i42.tinypic.com/2005kk1.jpg)

Picture 2:

(http://i39.tinypic.com/2hmplxh.jpg)
Bump.
Title: Re: Highslide Image Viewer
Post by: AlenNS on February 08, 2009, 02:11:41 PM
Bump
Title: Re: Highslide Image Viewer
Post by: digger on February 08, 2009, 03:18:24 PM
Quote from: AlenNS on February 08, 2009, 02:11:41 PM
Bump

Use other topic for your bumping, please.
Title: Re: Highslide Image Viewer
Post by: AlenNS on February 08, 2009, 04:12:15 PM
Quote from: digger on February 08, 2009, 03:18:24 PM
Quote from: AlenNS on February 08, 2009, 02:11:41 PM
Bump

Use other topic for your bumping, please.
Thank you, you're very helpfull!
I'm using your mod, which topic should I bump?
Seronjo
Title: Re: Highslide Image Viewer
Post by: digger on February 08, 2009, 06:39:11 PM
Quote from: AlenNS on February 08, 2009, 04:12:15 PM
Quote from: digger on February 08, 2009, 03:18:24 PM
Quote from: AlenNS on February 08, 2009, 02:11:41 PM
Bump

Use other topic for your bumping, please.
Thank you, you're very helpfull!
I'm using your mod, which topic should I bump?
Seronjo

This mod don't modify themes or post layouts.
Title: Re: Highslide Image Viewer
Post by: AlenNS on February 08, 2009, 06:52:00 PM
Ok. Thanx for the effort...
Title: Re: Highslide Image Viewer
Post by: LinK187 on February 12, 2009, 10:07:39 PM
Is there a way to disable this mod in an image tag? It's preventing a banner add (.gif) from working. You click on it and it just hangs on the spinny load thing when it should link to a thread on the forum.
Title: Re: Highslide Image Viewer
Post by: digger on February 13, 2009, 01:39:29 AM
Quote from: LinK187 on February 12, 2009, 10:07:39 PM
Is there a way to disable this mod in an image tag? It's preventing a banner add (.gif) from working. You click on it and it just hangs on the spinny load thing when it should link to a thread on the forum.

Read the first post of topic.
Title: Re: Highslide Image Viewer
Post by: LinK187 on February 13, 2009, 01:53:42 PM
Quote from: digger on February 13, 2009, 01:39:29 AM
Quote from: LinK187 on February 12, 2009, 10:07:39 PM
Is there a way to disable this mod in an image tag? It's preventing a banner add (.gif) from working. You click on it and it just hangs on the spinny load thing when it should link to a thread on the forum.

Read the first post of topic.

That works.. but it's sloppy really.. cheers...
Title: Re: Highslide Image Viewer
Post by: exxocet on March 07, 2009, 08:13:15 AM
Any chance to How disable highslide for linked images only for localhost hosted images?

This way the linked images (Imageshack thumbnails per instance) will be highslided nicely, but in the meantime, banners hosted on the local sever will be excepted.

Thank you.
Title: Re: Highslide Image Viewer
Post by: digger on March 09, 2009, 04:28:04 PM
Quote from: exxocet on March 07, 2009, 08:13:15 AM
Any chance to How disable highslide for linked images only for localhost hosted images?

This way the linked images (Imageshack thumbnails per instance) will be highslided nicely, but in the meantime, banners hosted on the local sever will be excepted.

Thank you.

Can i see example of banner's troubles?
Title: Re: Highslide Image Viewer
Post by: ianus on March 11, 2009, 11:00:23 AM
Quote from: digger on February 13, 2009, 01:39:29 AM
Quote from: LinK187 on February 12, 2009, 10:07:39 PM
Is there a way to disable this mod in an image tag? It's preventing a banner add (.gif) from working. You click on it and it just hangs on the spinny load thing when it should link to a thread on the forum.

Read the first post of topic.

Sorry for inconvenience, but I can't figure it out.

The first toppic say's: How disable highslide for linked images.
But the solution will comment out the whole mod, if I'm right.

I have two kinds of image links.
First one: No URL warped around the image.
[img width=150 height=94]http://img113.imageshack.us/img113/5954/20gr7707672.th.jpg[/img]
Second one: Own URL warped around image.
[URL=http://www.firopolis.de][img]http://img211.imageshack.us/img211/348/24gr7628668.th.jpg[/img][/URL]
Third one: Link-URL to image warped around image.
[URL=http://img15.imageshack.us/my.php?image=25gr7610059.jpg][img width=150 height=85]http://img15.imageshack.us/img15/2678/25gr7610059.th.jpg[/img][/URL]

If I put /* */ around the highslide code in subs.php, the first one is shown (without highslide), the second one is linked to source (obviously).

If I remove /* */ highsilde is working for the first one but not for the second one with a different url than the image url.

If the given URL leads to the image source, highslide is workung also.


Maybe I get something wrong?
Title: Re: Highslide Image Viewer
Post by: exxocet on March 13, 2009, 06:22:03 PM
Quote from: digger on March 09, 2009, 04:28:04 PM
Quote from: exxocet on March 07, 2009, 08:13:15 AM
Any chance to How disable highslide for linked images only for localhost hosted images?

This way the linked images (Imageshack thumbnails per instance) will be highslided nicely, but in the meantime, banners hosted on the local sever will be excepted.

Thank you.

Can i see example of banner's troubles?

Well, let's presume we have a PayPal button. It looks like this:
[URL=www.paypal.com][IMG]www.onesite.com/paypalbutton.jpg[/IMG][/URL]

Basicaly it's a linked image. It won't work in highslide, won't sent you to paypal.com, it just hangs on "Load..."
The same with the banners, which are linked images, instead of redirecting to target URL it will just "Load"...


So, I'm just thinking if it's not possible to except from this behaviour the images hosted on localhost (which can be used like /image.jpg , without http;//...). Now it will look like this:
[URL=www.paypal.com][IMG]/paypalbutton.jpg[/IMG][/URL]



Title: Re: Highslide Image Viewer
Post by: digger on March 15, 2009, 10:40:58 PM
Quote from: exxocet on March 13, 2009, 06:22:03 PM
Quote from: digger on March 09, 2009, 04:28:04 PM
Quote from: exxocet on March 07, 2009, 08:13:15 AM
Any chance to How disable highslide for linked images only for localhost hosted images?

This way the linked images (Imageshack thumbnails per instance) will be highslided nicely, but in the meantime, banners hosted on the local sever will be excepted.

Thank you.

Can i see example of banner's troubles?

Well, let's presume we have a PayPal button. It looks like this:
[URL=www.paypal.com][IMG]www.onesite.com/paypalbutton.jpg[/IMG][/URL]

Basicaly it's a linked image. It won't work in highslide, won't sent you to paypal.com, it just hangs on "Load..."
The same with the banners, which are linked images, instead of redirecting to target URL it will just "Load"...


So, I'm just thinking if it's not possible to except from this behaviour the images hosted on localhost (which can be used like /image.jpg , without http;//...). Now it will look like this:
[URL=www.paypal.com][IMG]/paypalbutton.jpg[/IMG][/URL]

I am working on a next version with some new features.
I will try to do something with  locally linked images.
Title: Re: Highslide Image Viewer
Post by: fotografo74 on March 16, 2009, 03:44:47 AM
Thanks digger, nice and useful Mod :-)
I have little problem: in IE6/7, Safari, Opera, Firefox 2 works ok.
In Firefox 3, only in topic's page , it opens new page with photo and highslide not works.
Why it happens?
I have SMF Gallery Mod installed.
Thanks
Antonio

[EDIT] This problem it happens only with Admin and Moderator membergroup, not with regular members
Title: Re: Highslide Image Viewer
Post by: Xavi-Nena on March 16, 2009, 08:06:13 PM
I must be missing something... I have installed it and all show success however it is not changing anything with my attached images?
Title: Re: Highslide Image Viewer
Post by: Spuds on March 16, 2009, 08:34:31 PM
If you are using a custom theme you need to manually edit those files.  Read the manual install docs for the mod to see what files to change
Title: Re: Highslide Image Viewer
Post by: LinK187 on March 16, 2009, 09:31:55 PM
In helpful terms:

the index.template.php from your custom theme needs to be modifed in the same way as the same filename in your default theme.
Title: Re: Highslide Image Viewer
Post by: Xavi-Nena on March 16, 2009, 09:42:34 PM
I have done this and still shows no change?
Title: Re: Highslide Image Viewer
Post by: TinkyWinky on March 18, 2009, 05:49:29 AM
Great mod, thanks

Serbian language translation attached
Title: Re: Highslide Image Viewer
Post by: exxocet on March 18, 2009, 08:18:24 AM
Quote from: digger on March 15, 2009, 10:40:58 PM
Quote from: exxocet on March 13, 2009, 06:22:03 PM
Quote from: digger on March 09, 2009, 04:28:04 PM
Quote from: exxocet on March 07, 2009, 08:13:15 AM
Any chance to How disable highslide for linked images only for localhost hosted images?

This way the linked images (Imageshack thumbnails per instance) will be highslided nicely, but in the meantime, banners hosted on the local sever will be excepted.

Thank you.

Can i see example of banner's troubles?

Well, let's presume we have a PayPal button. It looks like this:
[URL=www.paypal.com][IMG]www.onesite.com/paypalbutton.jpg[/IMG][/URL]

Basicaly it's a linked image. It won't work in highslide, won't sent you to paypal.com, it just hangs on "Load..."
The same with the banners, which are linked images, instead of redirecting to target URL it will just "Load"...


So, I'm just thinking if it's not possible to except from this behaviour the images hosted on localhost (which can be used like /image.jpg , without http;//...). Now it will look like this:
[URL=www.paypal.com][IMG]/paypalbutton.jpg[/IMG][/URL]

I am working on a next version with some new features.
I will try to do something with  locally linked images.

Sounds great buddy. Can't wait for the release!
Title: Re: Highslide Image Viewer
Post by: gianko82 on March 20, 2009, 07:35:08 AM
 ;D
Thanks digger! great mod!
I have also installed the easing_equations. why don't you put all into the install pack?

Italian translation there:

// Traduzione italiana by gianko82
hs.lang = {
loadingText : "Caricamento...",
loadingTitle : "Click per annullare",
focusTitle : "Click per portare in primo piano",
fullExpandTitle : "Espandi a dimensioni reali",
creditsText : "Powered by <i>Highslide JS</i>",
creditsTitle : "Vai all'homepage Highslide JS",
previousText : "Precedente",
nextText : "Successiva",
moveText : "Sposta",
closeText : "Chiudi",
closeTitle : "Chiudi (esc)",
resizeTitle : "Ridimensiona",
playText : "Play",
playTitle : "Avvia presentazione (spazio)",
pauseText : "Pausa",
pauseTitle : "Pausa presentazione (spazio)",
previousTitle : "Precedente (freccia sinistra)",
nextTitle : "Successiva (freccia destra)",
moveTitle : "Sposta",
fullExpandText : "Dimensioni efettive",
number: "Immagine %1 di %2",
restoreTitle : "Click per chiudere, click & drag per spostare l'immagine. Usa i tasti freccia sx e dx per la precedente e la successiva."
};

Title: Re: Highslide Image Viewer
Post by: digger on March 20, 2009, 09:12:14 AM
Quote from: gianko82 on March 20, 2009, 07:35:08 AM
I have also installed the easing_equations. why don't you put all into the install pack?

Easing_equations library is published under a BSD licence, and has no link to the Highslide licence

Quote from: gianko82 on March 20, 2009, 07:35:08 AM
Italian translation there:

Thank you for new language.
Title: Re: Highslide Image Viewer
Post by: Mastrgamr on March 22, 2009, 10:26:38 PM
Where is the Usage instructions, apparently I did something wrong.

I installed it (100% on 1.1.8), and my images dont pop up when i use the [img] tags. Is there something else i'm supposed to do?
Title: Re: Highslide Image Viewer
Post by: ghof on March 24, 2009, 06:04:29 PM
I need coding help  O:)

// If this is block level, eat any breaks after it.
if (!empty($tag['block_level']) && substr($message, $pos + 1, 6) == '<br />')
$message = substr($message, 0, $pos + 1) . substr($message, $pos + 7);

// Are we trimming outside this tag?
if (!empty($tag['trim']) && $tag['trim'] != 'outside' && preg_match('~(<br />|&nbsp;|\s)*~', substr($message, $pos + 1), $matches) != 0)
$message = substr($message, 0, $pos + 1) . substr($message, $pos + 1 + strlen($matches[0]));
}

// Close any remaining tags.
while ($tag = array_pop($open_tags))
$message .= $tag['after'];

if (substr($message, 0, 1) == ' ')
$message = '&nbsp;' . substr($message, 1);

// Cleanup whitespace.
$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '&#13;' => "\n"));

// Aeva - START
// Do the actual embedding
global $sourcedir;
@include_once($sourcedir . '/Subs-Aeva.php');
if (function_exists('aeva_parse_bbc2'))
aeva_parse_bbc2($message, $smileys, $cache_id);
// Aeva - END

  // * Highslide mod
// Disable for signatures & on stats page
if((empty($cache_id) || substr($cache_id, 0, 3) != 'sig') && $context['current_action'] != 'stats')
{
// Grab all linked and non-linked images
if(preg_match_all('~(<a href="([^"]*?)"(?:[^>]*?)>|)(<img src="((?!'. preg_quote($modSettings['smileys_url'], '#') .').*?)"(?:[^>]*?)>)(?:</a>|)~ism'.($context['utf8'] ? 'u' : ''), $message, $images, PREG_SET_ORDER))
{
//  Output key of images - for each match
// 0. entire match
// 1. <a> or blank
// 2. url or blank
// 3. <img>
// 4. imageurl
// 5. Replacement string

// Cycle through each image
foreach($images as $a => $b)
{
// Match images hosted by Imageshack, Photobucket, iPicture.ru or Fotosik.pl
$c = @parse_url($b[4]);
        $c = empty($c['host']) ? '' : $c['host'];

// Non-linked images won't have all the data, so make it up
if(empty($b[1]) && empty($b[2])
&& ((preg_match("~<img[^>]*?(width|height)[^>]*?>~ism", $b[3]))
|| (strpos($c, 'imageshack') !== false && preg_match('~(.*?)\.(?:th\.|)(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4]))
|| (strpos($c, 'photobucket') !== false && preg_match('~(.*?)/(?:th_|)([^/]*?)\.(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4]))
|| (strpos($c, 'ipicture') !== false && preg_match('~(.*?)/(?:thumbs|)/([^/]*?)\.(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4]))
|| (strpos($c, 'fotosik') !== false && preg_match('~(.*?)\.(?:m\.|)(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4]))
|| (strpos($b[4], 'GalleryItem.php') !== false && preg_match('~(thumb|preview)$~is'.($context['utf8'] ? 'u' : ''), $b[4])) // SMF Media Gallery
)
)
{
$b[1] = '<a href="'.$b[4].'">';
$b[2] = $b[4];
$b[5] = '<a href="'.$b[4].'">'.$b[3].'</a>';
}
else
$b[5] = $b[0];

if(strpos($c, 'imageshack') !== false)
{
// Fix Imageshack thumbnails and for non-direct page links
if(preg_match('~(.*?)\.(?:th\.|)(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4], $out))
{
$out = $out[1].'.'.$out[2];
$d = $b[1];
$b[1] = str_replace($b[2], $out, $b[1]);
$b[2] = $out;
$b[5] = str_replace($d, $b[1], $b[5]);
unset($c, $d, $out);
}
}
elseif(strpos($c, 'photobucket') !== false)
{
// Fix Photobucket thumbnails
if(preg_match('~(.*?)/(?:th_|)([^/]*?)\.(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4], $out))
{
$out = $out[1].'/'.$out[2].'.'.$out[3];
$d = $b[1];
$b[1] = str_replace($b[2], $out, $b[1]);
$b[2] = $out;
$b[5] = str_replace($d, $b[1], $b[5]);
unset($c, $d, $out);
}
}
elseif(strpos($c, 'ipicture') !== false)
{
// Fix iPicture thumbnails
if(preg_match('~(.*?)/(?:thumbs|)/([^/]*?)\.(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4], $out))
{
$out = $out[1].'/'.$out[2].'.'.$out[3];
$d = $b[1];
$b[1] = str_replace($b[2], $out, $b[1]);
$b[2] = $out;
$b[5] = str_replace($d, $b[1], $b[5]);
unset($c, $d, $out);
}
}
elseif(strpos($c, 'fotosik') !== false)
{
// Fix Fotosik thumbnails
if(preg_match('~(.*?)\.(?:m\.|)(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4], $out))
{
if (substr($out[1], -1)=='m') $out[1] = substr($out[1], 0, strlen($out[1])-1);
if (substr($out[1], -3)=='med') $out[1] = substr($out[1], 0, strlen($out[1])-3);
$out = $out[1].'.'.$out[2];
$d = $b[1];
$b[1] = str_replace($b[2], $out, $b[1]);
$b[2] = $out;
$b[5] = str_replace($d, $b[1], $b[5]);
unset($c, $d, $out);
}
}

// Add rel="highslide"
$c = $b[1];
        // Http links don't use highslide
        if(preg_match('~\.(png|gif|jp(e)?g|bmp)~is', $b[2]))
       
        // Fix SMF Media Gallery thumbs
if(preg_match('~MGalleryItem.php~is', $b[4]));
{
          $b[1] = str_replace($b[2], $b[2].'" class="highslide" rel="highslide', $b[1]);
          $b[1] = str_replace($b[4], str_replace(array(';preview', ';thumb'), '', $b[4]), $b[1]);
          $b[5] = str_replace('alt=""', 'alt="' . str_replace(array(';preview', ';thumb'), '', $b[4]) . '"', $b[5]); // Add filename to caption
        }
       
$b[1] = str_replace($b[2], $b[2].'" class="highslide" rel="highslide', $b[1]);
$b[5] = str_replace($c, $b[1], $b[5]);
$b[5] = str_replace('alt=""', 'alt="' . $b[2] . '"', $b[5]); // Add filename to caption
$b[5] = $b[5] . '<div class="highslide-heading">' . (!empty($context['subject']) ? $context['subject'] : '') . '</div>'; // Add subject to header

// Replace the link in the message
$message = str_replace($b[0], $b[5], $message);

// Tidy up
unset($a, $b, $c, $d);
}
// Tidy up
unset($a, $b, $links);
}
}
  // Highslide mod *

// Cache the output if it took some time...
if (isset($cache_key, $cache_t) && array_sum(explode(' ', microtime())) - array_sum(explode(' ', $cache_t)) > 0.05)
cache_put_data($cache_key, $message, 240);

return $message;
}

// Parse smileys in the passed message.
function parsesmileys(&$message)
{
global $modSettings, $db_prefix, $txt, $user_info, $context;
static $smileyfromcache = array(), $smileytocache = array();

// No smiley set at all?!
if ($user_info['smiley_set'] == 'none')
return;


This is the highslide code in subs.php, there has been some strange errors in the forum, and now i found out what makes the problem, this highslide code.

I removed it, then all was fixed, so i know this is where the problem is.
Either BEFORE or AFTER, some character needed to close the code properly, so it doesnt destroy what comes after highslide code


Where is the problem? plz help me  :)

The main problem(probably more) is that icons in other places where highslide should definitly not be is affected by highslide and uses it ,  and Highslide is NOT working where it should, in posts.

It seems that if i remove:

// Non-linked images won't have all the data, so make it up
            if(empty($b[1]) && empty($b[2])
               && ((preg_match("~<img[^>]*?(width|height)[^>]*?>~ism", $b[3]))

Then highslide in posts is working,  but also everywhere else. (see the attached image which happens in a profile)

Title: Re: Highslide Image Viewer
Post by: TomW on April 02, 2009, 08:20:37 PM
I am using PostImage and noticed that the mod for subs.php does not have the code for it.  How can I make this work with PostImage ?
Title: Re: Highslide Image Viewer
Post by: qtime on April 07, 2009, 06:59:46 PM
This is a great mod, it gives a nice interface.
I am using the inline attachment modification, so the attachments are visible inside the post. The attached files will be showed nice, but the inline attachment will not be different.
the code in the postfield is: [attachment=1] [attachment=2] etc
Any help will be much appreciated.
Title: Re: Highslide Image Viewer
Post by: Kazie on April 22, 2009, 09:28:38 PM
Hi, i think this is awesome and i had it working on attachments..

Is there any way to make it work on the regular (//) tags?

I had a quick look through this posts but i didn't find anything that worked :o

I'm using a custom theme btw. Silentwave it's called.


- Kazie
Title: Re: Highslide Image Viewer
Post by: Ravac on April 22, 2009, 10:32:59 PM
@Kazie

Open Index.template.php file of Silent wave theme.

Code (Find) Select
// If RSS feeds are enabled, advertise the presence of one.

Code (Add Before) Select

// * Highslide mod
   echo '<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.js"></script>
   <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.', $context['user']['language'], '.js"></script>
   <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/Highslide/highslide.css" media="screen" />
   <script type="text/javascript">
hs.graphicsDir = "', $settings['default_theme_url'], '/Highslide/";
hs.outlineType = "rounded-white";
hs.captionEval = "this.thumb.alt";
hs.transitions = ["expand", "crossfade"];
hs.align = "center";
hs.creditsText = "";
hs.creditsHref = "";
hs.creditsTitle = "";
if (hs.addSlideshow) hs.addSlideshow({
interval: 5000,
repeat: false,
useControls: true,
      fixedControls: false,
overlayOptions: {
   opacity: 1,
   position: "top right",
   hideOnMouseOut: false
      }
});
</script>';
// Highslide mod *



I think this should do the work
Title: Re: Highslide Image Viewer
Post by: Kazie on April 22, 2009, 11:25:48 PM
I already tried that, and it didn't work :(

It just links to the actuall image instead of using the Highslide feature.. For some reason it only works on my attachments :s it's kinda frustrating since i see many others making it work, but i just can't :s
Title: Re: Highslide Image Viewer
Post by: kat on April 29, 2009, 01:27:42 PM
Anyone got any ideas on this, please?

http://www.simplemachines.org/community/index.php?topic=307248.0
Title: Re: Highslide Image Viewer
Post by: Srecko on April 30, 2009, 03:35:41 AM
Greetings all,

maybe some of you could be able to help me about this:

http://www.simplemachines.org/community/index.php?topic=307397.0

How to force attached images to be dissplayed horizontaly in rows, with possible control of number of thumbs in row.

Hope my question is not complicated.

Cheers
Title: Re: Highslide Image Viewer
Post by: AlenNS on May 09, 2009, 12:10:03 PM
Quote from: Srecko on April 30, 2009, 03:35:41 AM
Greetings all,

maybe some of you could be able to help me about this:

http://www.simplemachines.org/community/index.php?topic=307397.0

How to force attached images to be dissplayed horizontaly in rows, with possible control of number of thumbs in row.

Hope my question is not complicated.

Cheers
http://www.simplemachines.org/community/index.php?topic=292526.msg1927990#msg1927990
Title: Re: Highslide Image Viewer
Post by: smldmr on May 10, 2009, 11:29:28 AM
Hello, i have a little issue. All images on my forum (smf 1.1.8 and 2.0 RC1) have the class and rel tags twice. for example a linked image looks like this:


<a href="---" class="highslide" rel="highslide" class="highslide" rel="highslide" target="_blank">
<img src="---" alt="" border="0" /></a>


because of that, my forum is not w3c conform. I installed the mod manually/automatically, and and. The mod is functioning normally but this is not so fine.
Title: Re: Highslide Image Viewer
Post by: perro88 on May 10, 2009, 09:21:17 PM
Quote from: Kazie on April 22, 2009, 09:28:38 PM
Hi, i think this is awesome and i had it working on attachments..

Is there any way to make it work on the regular (//) tags?

I had a quick look through this posts but i didn't find anything that worked :o

I'm using a custom theme btw. Silentwave it's called.


- Kazie
hey there. I made this simple modification(didn't look much at the code so it might not be a very good one xD) and it seems to work with img tags.
go to subs.php
and find:
if(empty($b[1]) && empty($b[2])
               && ((preg_match("~<img[^>]*?(width|height)[^>]*?>~ism", $b[3]))
then change the && for a || xD, this is, change the last code for this:
if(empty($b[1]) && empty($b[2])
               || ((preg_match("~<img[^>]*?(width|height)[^>]*?>~ism", $b[3]))
if you find anything wrong in this noob modification let me know :P . it seems to be working here but its a test site only :\
Title: Re: Highslide Image Viewer
Post by: IceBurn on May 13, 2009, 12:26:44 AM
Quote from: smldmr on May 10, 2009, 11:29:28 AM
Hello, i have a little issue. All images on my forum (smf 1.1.8 and 2.0 RC1) have the class and rel tags twice. for example a linked image looks like this:


<a href="---" class="highslide" rel="highslide" class="highslide" rel="highslide" target="_blank">
<img src="---" alt="" border="0" /></a>


because of that, my forum is not w3c conform. I installed the mod manually/automatically, and and. The mod is functioning normally but this is not so fine.

Same problem here!

Here is my quick and dirty fix...
Find:

// Replace the link in the message
$message = str_replace($b[0], $b[5], $message);


Bellow add:

// repeated attributes fix
$message = str_replace('class="highslide" rel="highslide" class="highslide" rel="highslide"', 'class="highslide" rel="highslide"', $message);
Title: Re: Highslide Image Viewer
Post by: IceBurn on May 13, 2009, 01:09:43 AM
Is there any way to remove the slideshow functionality without losing the "close" and "full size" controls at the top?

Thanks in advance!
Title: Re: Highslide Image Viewer
Post by: smldmr on May 14, 2009, 03:20:55 PM
@IceBurn: Thanks for this "dirty" fix :)
Title: Re: Highslide Image Viewer
Post by: Kazie on May 15, 2009, 04:35:14 AM
Anyone who can tell me what might be wrong with my Highslide?

It works on attachments, but not on images in posts through [img] tags, i have followed the steps but it just won't work as intended :(
Title: Re: Highslide Image Viewer
Post by: digger on May 15, 2009, 12:51:35 PM
Quote from: Kazie on May 15, 2009, 04:35:14 AM
Anyone who can tell me what might be wrong with my Highslide?

It works on attachments, but not on images in posts through IMG tags, i have followed the steps but it just won't work as intended :(

Mod don't work for regular IMG tags.
It works for

[url=full_image][img]thumb_image[/img][/url]
and
[img]thumb_image from iPicture.ru, Imageshack.us, Photobucket.com and Fotosik.pl[/img]
Title: Re: Highslide Image Viewer
Post by: qtime on May 15, 2009, 01:18:43 PM
@ digger
this is a great mod, I have it working with inline attachments, and it brings smf forums to a higher place

I have running the image host script (http://custom.simplemachines.org/mods/index.php?mod=1639) on my own server, and like to see your script can handle this format, like Imageshack.us etc.
Title: Re: Highslide Image Viewer
Post by: digger on May 15, 2009, 06:48:32 PM
Quote from: qtime on May 15, 2009, 01:18:43 PM
I have running the image host script (http://custom.simplemachines.org/mods/index.php?mod=1639) on my own server, and like to see your script can handle this format, like Imageshack.us etc.

Can i see any demo?
Title: Re: Highslide Image Viewer
Post by: qtime on May 15, 2009, 06:50:35 PM
Quote from: digger on May 15, 2009, 06:48:32 PM
Quote from: qtime on May 15, 2009, 01:18:43 PM
I have running the image host script (http://custom.simplemachines.org/mods/index.php?mod=1639) on my own server, and like to see your script can handle this format, like Imageshack.us etc.

Can i see any demo?
here is the original script (nice one)
Title: Re: Highslide Image Viewer
Post by: baijianpeng on May 16, 2009, 10:24:40 PM
Thanks to the author of this Mod, digger.

Today I tested this Mod with another Mod named Simple ImageShack (http://mods.simplemachines.org/index.php?mod=134). I noticed that HighSlide ImageViewer Mod can't generate small thumbnail image for a bigger picture comes from ImageShack.us which was uploaded by the Simple ImageShack Mod.

Hope these Mods can work together to make better effect.

Thanks.
Title: Re: Highslide Image Viewer
Post by: baijianpeng on May 16, 2009, 11:00:47 PM
Quote from: qtime on May 15, 2009, 01:18:43 PM
I have running the image host script (http://custom.simplemachines.org/mods/index.php?mod=1639 (http://custom.simplemachines.org/mods/index.php?mod=1639)) on my own server, and like to see your script can handle this format, like Imageshack.us etc.


I also tested this Advanced image uploader Mod with HighSlide ImageViewer Mod today. There is a problem:

The Advanced image uploader Mod can automatically insert the thumbnail image into the post message, that is great. But when click on that small thumbnail image (size: 150*118px), the HighSlide ImageViewer Mod tried to enlarge it. Of course it can't return the correct result, so there show me the loading message a longtime without showing the original image.

I think the author of HighSlide ImageViewer Mod should add a new option to this Mod: don't handle images with a size smaller than ****.

Or, please add support to the Advanced image uploader Mod, that is to say, when visitor click on the thumbnail image which was generated by www.xtupload.com, this HighSlide ImageViewer Mod  can also enlarge it by retrieving the original image from www.xtupload.com.

Thanks.
Title: Re: Highslide Image Viewer
Post by: TomW on May 16, 2009, 11:45:47 PM
baijianpeng, thank you for your posts !  I would like to use this mod but will have the same problems.  I hope that they can be solved.
Title: Re: Highslide Image Viewer
Post by: jamz on May 24, 2009, 02:52:21 PM
This mod/addition of the OP's was written based on SMF release 1.1.9

I use xs.to frequently for image hosting and decided to add support for that site. I don't use a gallery or file attachments - just BBCode tags. So I only test for that.

If anyone is interested, the code mods are below. Remember to always make backups before changing code!

In Subs.php find:


// Non-linked images won't have all the data, so make it up
if(empty($b[1]) && empty($b[2])
&& ((preg_match("~<img[^>]*?(width|height)[^>]*?>~ism", $b[3]))
    || (strpos($c, 'imageshack') !== false && preg_match('~(.*?)\.(?:th\.|)(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4]))



And insert this line next:


|| (strpos($c, 'xs') !== false && preg_match('~(.*?)\.(?:jpg.xs\.|)(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4]))




Find:

if(strpos($c, 'imageshack') !== false)
{
// Fix Imageshack thumbnails and for non-direct page links
if(preg_match('~(.*?)\.(?:th\.|)(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4], $out))
{
$out = $out[1].'.'.$out[2];
$d = $b[1];
$b[1] = str_replace($b[2], $out, $b[1]);
$b[2] = $out;
$b[5] = str_replace($d, $b[1], $b[5]);
unset($c, $d, $out);
}
}



And insert this block next:

elseif(strpos($c, 'xs') !== false)
{
// Fix xs thumbnails and for non-direct page links
if(preg_match('~(.*?)\.(?:jpg.xs\.|)(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4], $out))
{
$out = $out[1].'.'.$out[2];
$d = $b[1];
$b[1] = str_replace($b[2], $out, $b[1]);
$b[2] = $out;
$b[5] = str_replace($d, $b[1], $b[5]);
unset($c, $d, $out);
}
}





L8R - Jamz
Title: Re: Highslide Image Viewer
Post by: SPerroud on May 24, 2009, 03:15:48 PM
Good work !, it's very nice.
Title: Re: Highslide Image Viewer
Post by: shinji on May 27, 2009, 12:11:14 PM
   
which is the file for version 1.1.9?  ??? ???
Title: Re: Highslide Image Viewer
Post by: ModelBoatMayhem on May 28, 2009, 09:03:42 AM
Great stuff Differ, what an excellent mod!
My forum currently has over 32,000 attachments so much appreciated!
...  what do you want as payment? Money, my house, women?

I've been searching for this mod for over a year when I first saw it on
www.rcuniverse.com (http://www.rcuniverse.com/) forum but I'm not a coder and couldn't figure out
how it was done. A friend last week had a look for me and found the
name "Highslide" within 4 minutes  :-[  and we soon found http://highslide.com/ (http://highslide.com/) - I've been looking at that page since then but it
may as well be in left-handed-Kingonesse!!

So thanks again for this mod, you've mad a fat man in england very happy!  :) 

PS. Does it work with the default theames, eg. Babylon?
If not what do I need to do - As i say I don't know how to edit
SMF php files.... :(

PPS. Can it be used to create galleries?

PPPS. Are the Admin function avaiable yet?
Title: Re: Highslide Image Viewer
Post by: digger on May 28, 2009, 09:52:15 AM
Quote from: ModelBoatMayhem on May 28, 2009, 09:03:42 AM
PS. Does it work with the default theames, eg. Babylon?
If not what do I need to do - As i say I don't know how to edit
SMF php files.... :(
There is instructions for manual install for non default themes. http://custom.simplemachines.org/mods/index.php?mod=1450 (http://custom.simplemachines.org/mods/index.php?mod=1450)

Quote
PPS. Can it be used to create galleries?
No, Just forum attachmets.

Quote
PPPS. Are the Admin function avaiable yet?
Next version will have admin functions.
Title: Re: Highslide Image Viewer
Post by: digger on May 29, 2009, 05:11:50 PM
Quote from: baijianpeng on May 16, 2009, 11:00:47 PM
I also tested this Advanced image uploader Mod with HighSlide ImageViewer Mod today. There is a problem:

The Advanced image uploader Mod can automatically insert the thumbnail image into the post message, that is great. But when click on that small thumbnail image (size: 150*118px), the HighSlide ImageViewer Mod tried to enlarge it. Of course it can't return the correct result, so there show me the loading message a longtime without showing the original image.

Try Highslide mod 1.1. This bug fixed, I hope.
I don't now how to add support for Advanced image uploader.
Title: Re: Highslide Image Viewer
Post by: ianus on May 30, 2009, 06:37:09 AM
Quote from: digger on May 28, 2009, 09:52:15 AM
Quote
PPS. Can it be used to create galleries?
No, Just forum attachmets.

Mmh, it depends. "Kind of" Gallery is possible. With some table-tags a post could become a "poor mans Gallery".
How a member of my board have used it: http://www.firopolis.de/forum/index.php/topic,2281.0.html
The thumps are created by imageshack but you can also use [img width=150 height=125].
The rest, like "next image" and "Slideshow" is done by this mod.

More important is, that this mod don't cause problems when other mods are installed. There are no Javascript conflicts or something like that. So it is not only useful, but well written also.




Quick question.
I have read this:

How disable highslide for linked images.

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


As far as I can see, this will disable the mod. Am I right?

See, I would like to disable the highslide for
[img=link to image]link to whatever[/img]
while keeping the functionality for
[img] link to image [/img]

So, the question is: How disable highslide for image-links?
Title: Re: Highslide Image Viewer
Post by: digger on May 30, 2009, 07:13:10 AM
Quote from: ianus on May 30, 2009, 06:37:09 AM
See, I would like to disable the highslide for
[img=link to image]link to whatever[/img]
There is no BBCode [img=] in SMF.

Quote
while keeping the functionality for
[img] link to image [/img]

Mod works only for images from supported photohostings in this case.
Title: Re: Highslide Image Viewer
Post by: ianus on May 30, 2009, 07:36:42 AM
Sorry, my fault!
After writing about [img width=150 height=125] I have still the equal sings in mind.

Correct question is

I would like to disable the highslide for

[url= link to whatever] [img] link to image [/img] [/url]





Quote from: digger on May 30, 2009, 07:13:10 AM

Quote
while keeping the functionality for
[img] link to image [/img]

Mod works only for images from supported photohostings in this case.

I'm not sure. I have created an example thread with an external image from amazon.de (which is not on your "supported" list)

The first image is inside an url-tag (will not open the linked page or the "bigger" image)

The second is "only" inside an img-tag and you will see, that your mod is working very well in this chase. Maybe your mod is better than you believe?  ;D
Image embed - Testthread (http://www.firopolis.de/forum/index.php/topic,2858.0.html)
Title: Re: Highslide Image Viewer
Post by: digger on May 30, 2009, 07:52:42 AM
Quote from: ianus on May 30, 2009, 07:36:42 AM

I'm not sure. I have created an example thread with an external image from amazon.de (which is not on your "supported" list)

The first image is inside an url-tag (will not open the linked page or the "bigger" image)

The second is "only" inside an img-tag and you will see, that your mod is working very well in this chase. Maybe your mod is better than you believe?  ;D
Image embed - Testthread (http://www.firopolis.de/forum/index.php/topic,2858.0.html)

I can't see anything on your forum, cause my domain is *.ru

Mod must work only for:
1) attached images
2) linked images like [url=fullsize_image][img]thumbnail_image[/img][/url] or [img width=X height=Y]image[/img]
3) images from supported photohostings like [url=photohosting_page][img]photohosting_thumbnail_image[/img][/url] or [img]photohosting_thumbnail_image[/img]
Title: Re: Highslide Image Viewer
Post by: ianus on May 30, 2009, 08:31:36 AM
Damm, sorry for the inconvenience.
I have to face and handle a lot of bots and because my board-language is German while only very few Gamers from Russia are speaking this language, it was the easiest way to block all.
I'm really sorry. I don't intend to blame regular users.

You should have access now.


1) attached images - yes
2) linked images like – yes
3) images from supported photohostings like - yes but..
in this case the image will shown with the highslide (as expected), but the link itself isn't working.
(example: [URL=http://www.amazon.de/dp/B001G8Y8K8/?tag=firopolis-21][IMG]http://img20.imageshack.us/img20/1476/51zuz9pjm4lss400.th.jpg[/IMG][/URL]
So,
[url=something][img]photohosting_thumbnail_image[/img][/url] is a little bit senseless because the link is useless.

Additionally 4)
[img]http://images.amazon.com/images/P/B001G8Y8K8.01.MZZZZZZZ.jpg[/img] is also working.


Question is, is it possible to deactivate the highslide if url-tags are wrapped around an image-tag.
Title: Re: Highslide Image Viewer
Post by: digger on May 30, 2009, 08:46:29 AM
Quote from: ianus on May 30, 2009, 08:31:36 AM

Additionally 4)
[img]http://images.amazon.com/images/P/B001G8Y8K8.01.MZZZZZZZ.jpg[/img] is also working.

Did you use Highslide Viewer 1.1 ?
Title: Re: Highslide Image Viewer
Post by: ianus on May 30, 2009, 08:54:06 AM
Mmh, seems that I have missed this update.
I have to install the new version manually, so it will take some time.

Did you add a hotlink prevention?
Title: Re: Highslide Image Viewer
Post by: smldmr on May 30, 2009, 10:37:38 AM
can someone tell me, how i can fix the "bbc_link new_win" tag problem? All images have duplicate specification of attribute "class", one from highslide (class="highslide") and one from smf self (class="bbc_link new_win"). I'm usind the HS 1.1 on SMF 2.0 RC1-1 with Simple Portal.
Title: Re: Highslide Image Viewer
Post by: digger on May 30, 2009, 02:22:58 PM
Quote from: smldmr on May 30, 2009, 10:37:38 AM
can someone tell me, how i can fix the "bbc_link new_win" tag problem? All images have duplicate specification of attribute "class", one from highslide (class="highslide") and one from smf self (class="bbc_link new_win"). I'm usind the HS 1.1 on SMF 2.0 RC1-1 with Simple Portal.

Will be fixed in the next version.
Title: Re: Highslide Image Viewer
Post by: ianus on May 31, 2009, 07:13:21 AM
Quote from: digger on May 30, 2009, 08:46:29 AM
Quote from: ianus on May 30, 2009, 08:31:36 AM

Additionally 4)
[img]http://images.amazon.com/images/P/B001G8Y8K8.01.MZZZZZZZ.jpg[/img] is also working.

Did you use Highslide Viewer 1.1 ?

Yes, meanwhile.
The example is (still) working.

The only difference is, that
[url=some_link][img] image_link  [/img][/url]
will now open a highslide image instead of loading infinite (in 1.0).

In general, this behavior is acceptable, because not embedded image "seem" to be "broken".
Personally, I would prefer, if the link is opened and not the image. Imho this is the main goal of warping an url around and image.

Finally, after playing around with this nice mod in the last days, it seems, that it will be impossible to make a highslide image out of this
[url=fullsize_image][img]thumbnail_image[/img][/url]
and a link to an other side out of this
[url=some_link][img] image_link [/img][/url]  or  [url=some_link][img] thumbnail_image_link [/img][/url]

So, feel free to mark my request as solved.
Your mod is incredibly useful in any chase.

Btw. I have created another test thread (on a temporary board). If you are interested...
http://resmedia.info/forum/index.php/topic,2839.0.html


Title: Re: Highslide Image Viewer
Post by: digger on May 31, 2009, 08:00:44 AM
Quote from: ianus on May 31, 2009, 07:13:21 AM
Btw. I have created another test thread (on a temporary board). If you are interested...
http://resmedia.info/forum/index.php/topic,2839.0.html
Last example in the thread [img width=113 height=160]http://images.amazon.com/images/P/B001G8Y8K8.01.MZZZZZZZ.jpg[/img] not
[img]http://images.amazon.com/images/P/B001G8Y8K8.01.MZZZZZZZ.jpg[/img]



Quote from: ianus on May 31, 2009, 07:13:21 AM
Finally, after playing around with this nice mod in the last days, it seems, that it will be impossible to make a highslide image out of this
[url=fullsize_image][img]thumbnail_image[/img][/url]
and a link to an other side out of this
[url=some_link][img] image_link [/img][/url]  or  [url=some_link][img] thumbnail_image_link [/img][/url]

I'v made changes for [url=some_link][img] image_link [/img][/url]  or  [url=some_link][img] thumbnail_image_link [/img][/url]
Wait for Highslide viewer 1.2.
Title: Re: Highslide Image Viewer
Post by: ianus on May 31, 2009, 10:04:41 AM
I have used width/height in se second example for the same image.
Since amazon delivers only this size, it don't matter if I use this settings or not.

I use the definitions also, when I embed full-size imageshack pictures. In this case, it is necessary of course and your mod handles it very well.


I won't miss the update this time.
You have done a great mod already. Thanks for your time.
Title: Re: Highslide Image Viewer
Post by: dembow on May 31, 2009, 02:34:32 PM
this is a great mod!, loving it!

question:

is there anyway to disable this mod for images on signatures only?

thanks in advance  (http://s3.tinypic.com/2004foj_th.jpg)
Title: Re: Highslide Image Viewer
Post by: digger on May 31, 2009, 05:12:22 PM
Quote from: ianus on May 31, 2009, 10:04:41 AM
I won't miss the update this time.
You have done a great mod already. Thanks for your time.

Highslide viewer 1.2 released. Try it.

Quote from: dembow on May 31, 2009, 02:34:32 PM
question:
is there anyway to disable this mod for images on signatures only?

May be. I will see.
Title: Re: Highslide Image Viewer
Post by: smldmr on May 31, 2009, 06:31:47 PM
Quote from: digger on May 30, 2009, 03:44:35 PM
Mod with the "bbc_link new_win" bug fixed.

Thanks for this fix.
Title: Re: Highslide Image Viewer
Post by: dembow on May 31, 2009, 06:40:34 PM
Quote from: digger on May 31, 2009, 05:12:22 PM

May be. I will see.

thanks, i'll be waiting    ;D
Title: Re: Highslide Image Viewer
Post by: dj_pont on May 31, 2009, 07:39:34 PM
хз что и как конечно, но в первый момент полёг топик дальше картинки с ошибкой, неизвестная функция str_ireplace, после замены на просто replace полёг весь форум с ошибкой Parse error: syntax error, unexpected T_STRING, expecting ')' in /test/Forum/Sources/Subs.php on line 3606

Это конечно теоритически понятно, что походу у меня трабла с функцией ireplace, хотя раньше вроде пахала, но без неё реально как-то?)
Title: Re: Highslide Image Viewer
Post by: digger on May 31, 2009, 07:48:38 PM
Quote from: dj_pont on May 31, 2009, 07:39:34 PM
хз что и как конечно, но в первый момент полёг топик дальше картинки с ошибкой, неизвестная функция str_ireplace, после замены на просто replace полёг весь форум с ошибкой Parse error: syntax error, unexpected T_STRING, expecting ')' in /test/Forum/Sources/Subs.php on line 3606

Это конечно теоритически понятно, что походу у меня трабла с функцией ireplace, хотя раньше вроде пахала, но без неё реально как-то?)

http://www.simplemachines.ru/index.php/topic,4221.0.html
Title: Re: Highslide Image Viewer
Post by: ianus on June 01, 2009, 05:31:00 AM
Greetings!

You are very quick indeed.

So, Version 1.2.

First I have to mention, that this mod uninstall/install without any problems, even on my, meanwhile tortured, test board.

Highslide is working when:
URL = fullsize image / imageLINK = thumbnail.

Link is working when:
URL = external page / imageLINK = image from external page (amazon or imagehoster)

Note: (only to avoid misunderstandings and false bug-notifications)
It seems that this is only working for the posts which are written after install of 1.2
So, it is working, but not for posts written before 1.2. – even if I modify and save or embed a new image to an old post.


Long story short. It seems, that this mod now will handles image-links as links while embed images are still heightslide(ed).
Very nice! Really impressive work!
Title: Re: Highslide Image Viewer
Post by: digger on June 01, 2009, 08:16:03 AM
Quote from: ianus on June 01, 2009, 05:31:00 AM
Note: (only to avoid misunderstandings and false bug-notifications)
It seems that this is only working for the posts which are written after install of 1.2
So, it is working, but not for posts written before 1.2. – even if I modify and save or embed a new image to an old post.

It's impossible :)
Link to example please.
Title: Re: Highslide Image Viewer
Post by: ianus on June 01, 2009, 09:25:08 AM
If I haven't try it myself...

Example:
This thread was created with 1.1. / Image embed - Testthread (http://resmedia.info/forum/index.php/topic,2839.msg6472.html#msg6472)

Very first image was embed in the post with 1.1
Second image (same code) after uninstall 1.1 and install 1.2.
Both open image in a new window.

This post (same thread) was written after install of 1.2. / Re: Image embed - Testthread V 1.2 (http://resmedia.info/forum/index.php/topic,2839.msg6474.html#msg6474)

Second picture.
Same code like in the first post.
Will open the link and not the image.

Title: Re: Highslide Image Viewer
Post by: digger on June 01, 2009, 09:51:00 AM
Yes, I see there is another problem with links

Quote from: ianus on June 01, 2009, 09:25:08 AM
Example:
This thread was created with 1.1. / Image embed - Testthread (http://resmedia.info/forum/index.php/topic,2839.msg6472.html#msg6472)
copy this post into the new one and you will see the same results.

If the same image embed in a several different links in one post, may be a strange result.
Will be thinking about it.
Title: Re: Highslide Image Viewer
Post by: ianus on June 01, 2009, 10:19:17 AM
Quote from: digger on June 01, 2009, 09:51:00 AM
copy this post into the new one and you will see the same results.

;) This way I have created the second post.

But as mentioned, my board is not well kept. I want to switch servers and offer some new mods to pleasure my members. So see which mod us useful, I have (un-) installed a lot of them in the last few days. Additionally I have made changes to some core files.

Like you said here (http://www.simplemachines.org/community/index.php?topic=266750.msg2088409#msg2088409), it's nearly impossible that the same link change his behavior depending on the  posttime. I think, that your mod will work perfect (with older threads) after I clean up my files.
Title: Re: Highslide Image Viewer
Post by: sibling chris on June 01, 2009, 10:27:44 AM
OK - first thanks for the mod

Unfortunately I can;t get it to work at all

I am using SMF 1.1.9, TP 1.0 beta 4 with the Phobos theme

I installed to defult theme via package provided and then manually edited phobos as described on the page


I feel like I am skirting round the issue - I've read lots of things but still nothing seems to fit my situation

First of all - I am not 100% certain my conversion from mamboboard has worked correctly. All my post attachments exist and I can click on them and download them but thumnails in the posts NEVER show.

I have however tested highslide by uploading a new image. The image does appear on the post, but I believe it is HTML resized and there is infact no thumbnail......hence when the following code in Display.template.php is executed the line changed by the highslide mod it not being used (see below its alwys do the ELSE part)


echo '
<div style="overflow: auto; width: 100%;">';
foreach ($message['attachment'] as $attachment)
{
if ($attachment['is_image'])
{
if ($attachment['thumbnail']['has_thumb'])
echo '
                        <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">' , $context['subject'] , '</div>';
else
echo '
<img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" border="0" /><br />';
}







Any ideas how I can fix this, where can I make it so uploaded images get thumbnails created?
why is this not happening by default?
cna I regenerate thumnails for existing images?

thanks in advance
Title: Re: Highslide Image Viewer
Post by: sibling chris on June 01, 2009, 10:30:35 AM
also I checked the attachments table in the database

all images including the new ones are set to attachment type 0 and ID_THUMB=0

???  ::)
Title: Re: Highslide Image Viewer
Post by: sibling chris on June 01, 2009, 10:44:23 AM
AHHH....ok, user error!

I did not realise that this only works on images of a certain size, because i appears thumnails are only generated for images of a certain size

so I guess I need to work out how to tweak this elsewhere and of course my conversion issue is nothing to do with the mod either!

Title: Re: Highslide Image Viewer
Post by: www.SergioMora.net on June 03, 2009, 10:13:43 AM
OK Where are the settings for this in the DEFUALT theme?

I can not find anything.

Never mind, this is working now

YES!

I love it!
Title: Re: Highslide Image Viewer
Post by: Enders on June 06, 2009, 01:27:25 AM
Can you remove highslides from signatures?
Title: Re: Highslide Image Viewer
Post by: Chas Large on June 10, 2009, 04:55:17 PM
Hi Digger,

Just wanted to say thanks for an excellent mod and instructions to add it to the Gallery Mod as well. It installed on 1.1.9 perfectly. I modded the DilberMC theme template and Gallery and all is working great.

Thank you from me and all our forum members.

Chas
Title: Re: Highslide Image Viewer
Post by: ElectricSquid on June 14, 2009, 10:42:23 PM
Quote
You can modify SMF Gallery to work with Highslide mod. (Tested with SMF Gallery 1.9.3)

Does anyone have a copy of the SMF Gallery 1.9.3 zip package?
It's no longer listed on the mod site, and Highslide Image Viewer no longer works correctly with the newer SMF Gallery 2.0.5

I also need the older version for the TinyPortal Block mod that works with it. No-one seems to know if the updated Gallery will work with the old block code either.

Thanks.
Title: Re: Highslide Image Viewer
Post by: ElectricSquid on June 15, 2009, 01:36:50 PM
Cool, I have SMF Gallery 1.9.4 up and running with Highslide Image Viewer taking care of ONLY resizing the image when a user chooses to view the pic. Not the thumbnails in the category page, just the single pic page.
(The Gallery page where users can leave comments and such)
(This is the ONLY thing on my site Highslide does, nCode handles posts and replies, GD module through the admin settings handles attachments)

Some special code hacking was needed to get it to work, but I got it.

So here's the question, how do I tell highslide to give the user a larger size image when the user clicks the thumbnail? (because of my usage, the thumbnail is 580px wide) I need Highslide to open up the image to 1020px wide when clicked. Basically fill the screen with it.

I'm sure this is a small setting somewhere, but after hours of hacking code, I'm too burnt out to find it.

Please help.
Thanks!!
Title: Re: Highslide Image Viewer
Post by: ElectricSquid on June 16, 2009, 07:04:19 AM
I figured it out with the use of this page...
http://highslide.com/ref/ (http://highslide.com/ref/)

in index.template.php where the Highslide code is added to the upper part of the template, add...
hs.usebox = "true";
hs.width = "1024";

You'll see where to add it. There are other controls there in the mod code that look similar.
hs.usebox tells the mod to use a controlled size box to contain the image when expanded.
hs.width tells the usebox how wide to be. ( for 1024px wide, use "1024" not "1024px" )

There are many other controls we can add too. They are listed on the Highslide reference page.
http://highslide.com/ref/ (http://highslide.com/ref/)
For in depth info on each control, click "example" to the right.
Title: Re: Highslide Image Viewer
Post by: erlend_sh on June 21, 2009, 11:51:48 AM
Using the latest Highslide mod 1.2 on an SMF 1.1.9 forum I help administrate, a user reported an odd fatal error (http://www.jmonkeyengine.com/jmeforum/index.php?topic=11518.0), saying:
QuoteFatal error: Call to undefined function: str_ireplace() in /home/jmonke2/public_html/jmeforum/Sources/Subs.php on line 3738
The error applied to only 3 or so boards. These boards however are probably the most image-heavy ones, so there's a clear connection here, but I can't figure out what to do if I want to keep using the highslide mod on the forum.
Title: Re: Highslide Image Viewer
Post by: digger on June 21, 2009, 01:32:58 PM
Quote from: erlend_sh on June 21, 2009, 11:51:48 AM
Using the latest Highslide mod 1.2 on an SMF 1.1.9 forum I help administrate, a user reported an odd fatal error (http://www.jmonkeyengine.com/jmeforum/index.php?topic=11518.0), saying:
QuoteFatal error: Call to undefined function: str_ireplace() in /home/jmonke2/public_html/jmeforum/Sources/Subs.php on line 3738
The error applied to only 3 or so boards. These boards however are probably the most image-heavy ones, so there's a clear connection here, but I can't figure out what to do if I want to keep using the highslide mod on the forum.

Replace str_ireplace with str_replace
Title: Re: Highslide Image Viewer
Post by: avf on June 23, 2009, 05:14:36 PM
Pretty excited to use on my forum 1.1.9 and installed it however there is no change in the images displayed...no thumbnails ..nothing still the same as before.

Is there an issue with this version.
Title: Re: Highslide Image Viewer
Post by: avf on June 23, 2009, 05:58:50 PM
it works ! I realized I had to reduce the thumbnail size :)
Great work
Title: Re: Highslide Image Viewer
Post by: charipie0519 on June 24, 2009, 01:08:59 AM
where to edit so that the signature images are not included?

thanks
Title: Re: Highslide Image Viewer
Post by: gbsothere on June 28, 2009, 09:22:11 AM
I just have one issue that the posters brought to my attention.  I placed several attachments in one post to test the "slideshow" aspect of this mod.  It was very nice, except for this problem:  (Bear with me while I attempt to lay this out.)  Immediately following my post with the attachments were a couple of posts with comments only, no attachments (probably not relevant to this, but still....)  and then another poster included attachments in her post, followed by another "comment only" post, then one with an attachment, and so on.  Now, when you view my post with the slideshow, instead of quitting when all my attachments are over, it skips over the "comment only" posts, then includes the subsequent ones with attachments in my post's slideshow and continues to do so until the end of the thread. The mod doesn't seem to recognize when the post is over, but seems to search for the next attachment in the thread to incorporate in the slideshow.  Is there a way for a slideshow to only include the attachments in a particular post and not all the others following in the thread?
 
Thanks!
Title: Re: Highslide Image Viewer
Post by: digger on June 29, 2009, 11:23:35 AM
Quote from: gbsothere on June 28, 2009, 09:22:11 AM
I just have one issue that the posters brought to my attention.  I placed several attachments in one post to test the "slideshow" aspect of this mod.  It was very nice, except for this problem:  (Bear with me while I attempt to lay this out.)  Immediately following my post with the attachments were a couple of posts with comments only, no attachments (probably not relevant to this, but still....)  and then another poster included attachments in her post, followed by another "comment only" post, then one with an attachment, and so on.  Now, when you view my post with the slideshow, instead of quitting when all my attachments are over, it skips over the "comment only" posts, then includes the subsequent ones with attachments in my post's slideshow and continues to do so until the end of the thread. The mod doesn't seem to recognize when the post is over, but seems to search for the next attachment in the thread to incorporate in the slideshow.  Is there a way for a slideshow to only include the attachments in a particular post and not all the others following in the thread?
 
Thanks!

Can I see that?
Title: Re: Highslide Image Viewer
Post by: gbsothere on June 29, 2009, 03:18:13 PM
Hi, digger and thanks!   

I'll PM you the site, log in info and the thread where this is happening.

Thanks, again.




Quote from: digger on June 29, 2009, 11:23:35 AM
Quote from: gbsothere on June 28, 2009, 09:22:11 AM
I just have one issue that the posters brought to my attention.  I placed several attachments in one post to test the "slideshow" aspect of this mod.  It was very nice, except for this problem:  (Bear with me while I attempt to lay this out.)  Immediately following my post with the attachments were a couple of posts with comments only, no attachments (probably not relevant to this, but still....)  and then another poster included attachments in her post, followed by another "comment only" post, then one with an attachment, and so on.  Now, when you view my post with the slideshow, instead of quitting when all my attachments are over, it skips over the "comment only" posts, then includes the subsequent ones with attachments in my post's slideshow and continues to do so until the end of the thread. The mod doesn't seem to recognize when the post is over, but seems to search for the next attachment in the thread to incorporate in the slideshow.  Is there a way for a slideshow to only include the attachments in a particular post and not all the others following in the thread?
 
Thanks!

Can I see that?
Title: Re: Highslide Image Viewer
Post by: drhamza on July 02, 2009, 10:30:33 PM
awesome mod, gives a nice touch to the forum
but i'm facing an issue that i hope you can help me with
when i post an image in a topic called topic, this is how i get the image:

{Image here}
topic
topic

i uninstalled the mod to be sure... now i get

{image here}
topic

need to re-install it and get rid of this problem, thanks in advance
Title: Re: Highslide Image Viewer
Post by: digger on July 03, 2009, 07:14:45 AM
Quote from: drhamza on July 02, 2009, 10:30:33 PM
awesome mod, gives a nice touch to the forum
but i'm facing an issue that i hope you can help me with
when i post an image in a topic called topic, this is how i get the image:

{Image here}
topic
topic

i uninstalled the mod to be sure... now i get

{image here}
topic

need to re-install it and get rid of this problem, thanks in advance

Explain please  :)
Title: Re: Highslide Image Viewer
Post by: drhamza on July 03, 2009, 03:50:47 PM
the title of the topic is "printed" below each image twice when any image is inserted in a post...

when i uninstall the highslide image viewer... it's printed once only....

how can i stop this printed text?
Title: Re: Highslide Image Viewer
Post by: digger on July 03, 2009, 04:05:03 PM
Quote from: drhamza on July 03, 2009, 03:50:47 PM
the title of the topic is "printed" below each image twice when any image is inserted in a post...

when i uninstall the highslide image viewer... it's printed once only....

how can i stop this printed text?

I don't now any reason for it.
May I see this issue on your forum?
Title: Re: Highslide Image Viewer
Post by: drhamza on July 04, 2009, 05:01:47 AM
sorry for the late reply, it's a private forum so check the personal message please
thank you
Title: Re: Highslide Image Viewer
Post by: Scratching my Head on July 05, 2009, 05:36:12 AM
First. Thank you for your hard work. Very nice effect. Very nice mod. Very nice work.
Thank you.  Now. . .

Quote from: digger on October 21, 2008, 09:05:59 PM
Quote from: zrotzel on October 21, 2008, 08:47:37 PM
Is there a way to remove the the image link on the bottom of the picture? 
remove from Subs.php

$b[5] = str_replace('alt=""', 'alt="' . $b[2] . '"', $b[5]); // Add filename to caption


Any reason why this is not working with the latest version?
I would like to remove the captions.
Title: Re: Highslide Image Viewer
Post by: tienf on July 05, 2009, 07:43:33 AM
Please help me out with the image size, they are do NOT scale to fix the forum width and seem to be ugly
http://www.tienf.com/index.php?topic=11.msg11;topicseen#new (http://www.tienf.com/index.php?topic=11.msg11;topicseen#new), what should I do ?
Title: Re: Highslide Image Viewer
Post by: digger on July 05, 2009, 08:09:48 AM
Quote from: Scratching my Head on July 05, 2009, 05:36:12 AM
First. Thank you for your hard work. Very nice effect. Very nice mod. Very nice work.
Thank you.  Now. . .

Quote from: digger on October 21, 2008, 09:05:59 PM
Quote from: zrotzel on October 21, 2008, 08:47:37 PM
Is there a way to remove the the image link on the bottom of the picture? 
remove from Subs.php

$b[5] = str_replace('alt=""', 'alt="' . $b[2] . '"', $b[5]); // Add filename to caption


Any reason why this is not working with the latest version?
I would like to remove the captions.

remove

$b[5] = str_ireplace('alt=""', 'alt="' . $b[2] . '"', $b[5]); // Add filename to the caption


Quote from: tienf on July 05, 2009, 07:43:33 AM
Please help me out with the image size, they are do NOT scale to fix the forum width and seem to be ugly
http://www.tienf.com/index.php?topic=11.msg11;topicseen#new (http://www.tienf.com/index.php?topic=11.msg11;topicseen#new), what should I do ?

It's not mod issue.
Title: Re: Highslide Image Viewer
Post by: tienf on July 05, 2009, 09:37:59 AM
Quote from: digger on July 05, 2009, 08:09:48 AM

Quote from: tienf on July 05, 2009, 07:43:33 AM
Please help me out with the image size, they are do NOT scale to fix the forum width and seem to be ugly
http://www.tienf.com/index.php?topic=11.msg11;topicseen#new (http://www.tienf.com/index.php?topic=11.msg11;topicseen#new), what should I do ?

It's not mod issue.

Yes, you mod is work great, thank you very much for your hard work. About my issue, have you got any idea ?
One more thing, how I can enable Highslide Image Viewer to be support images from all domains, not just limit domains have been supported  ?
Title: Re: Highslide Image Viewer
Post by: dembow on July 05, 2009, 05:15:11 PM
go to admin > features and options > max width of posted pictures (0 = disable)   and make it around 560-575 it should resize all posted pics after you change it and the scroll bar wont appear, if that's your issue i mean
Title: Re: Highslide Image Viewer
Post by: digger on July 05, 2009, 06:18:59 PM
Quote from: Scratching my Head on July 05, 2009, 05:29:28 PM
Quote from: digger on July 05, 2009, 08:09:48 AM
Quote from: Scratching my Head on July 05, 2009, 05:36:12 AM
First. Thank you for your hard work. Very nice effect. Very nice mod. Very nice work.
Thank you.  Now. . .

Quote from: digger on October 21, 2008, 09:05:59 PM
Quote from: zrotzel on October 21, 2008, 08:47:37 PM
Is there a way to remove the the image link on the bottom of the picture? 
remove from Subs.php

$b[5] = str_replace('alt=""', 'alt="' . $b[2] . '"', $b[5]); // Add filename to caption


Any reason why this is not working with the latest version?
I would like to remove the captions.

remove

$b[5] = str_ireplace('alt=""', 'alt="' . $b[2] . '"', $b[5]); // Add filename to the caption


Hmmm. But what if it doesn't work?

May I see this issue on your forum?
Title: Re: Highslide Image Viewer
Post by: patalete on July 05, 2009, 07:26:07 PM
Quote from: charipie0519 on June 24, 2009, 01:08:59 AM
where to edit so that the signature images are not included?

thanks

+1

>:(

thanks for the mod
Title: Re: Highslide Image Viewer
Post by: dembow on July 06, 2009, 01:41:15 AM
Quote from: charipie0519 on June 24, 2009, 01:08:59 AM
where to edit so that the signature images are not included?

thanks
Title: Re: Highslide Image Viewer
Post by: digger on July 07, 2009, 03:52:45 PM
Quote from: dembow on July 06, 2009, 01:41:15 AM
Quote from: charipie0519 on June 24, 2009, 01:08:59 AM
where to edit so that the signature images are not included?

thanks

Are your signature images from supported photohostings?
Title: Re: Highslide Image Viewer
Post by: patalete on July 07, 2009, 04:23:46 PM
in my case any image added to the signature area is always "boxed" and clickable with highslide, no matter where the image is hosted even if its in forum's server and 10x10 px size its still affected by highslide, but it doesnt seem to affect avatars and poster info area.
Title: Re: Highslide Image Viewer
Post by: dembow on July 08, 2009, 12:31:31 PM
Quote from: patalete on July 07, 2009, 04:23:46 PM
in my case any image added to the signature area is clickable with highslide, no matter where the image is hosted even if its in forum's server, but it doesnt seem to affect avatars and poster info area.
Title: Re: Highslide Image Viewer
Post by: JoeB on July 08, 2009, 02:31:50 PM
Very nice mod but.....Loading of images is very sloooooooow

I tried to uninstall & the mode is removed ......BUT....I lost the top panal of my forum (Where it shows ppl in chat room)
Flash Chat that is integrated into the forum
Please advice me
Title: Re: Highslide Image Viewer
Post by: digger on July 08, 2009, 02:45:13 PM
Quote from: patalete on July 07, 2009, 04:23:46 PM
in my case any image added to the signature area is always "boxed" and clickable with highslide, no matter where the image is hosted even if its in forum's server and 10x10 px size its still affected by highslide, but it doesnt seem to affect avatars and poster info area.

Can I see example?
Title: Re: Highslide Image Viewer
Post by: patalete on July 08, 2009, 07:07:07 PM
here is a random post screenie

(http://img16.imageshack.us/img16/7233/hghsld.th.jpg) (http://img16.imageshack.us/img16/7233/hghsld.jpg)

avatar and custom title in profile just show and work fine.
but all post contents and signature are showed by highslide...smilyes dont.. :?
Title: Re: Highslide Image Viewer
Post by: whitesox on July 12, 2009, 09:10:53 AM
hi,

i have installed this great mod and works fine 4 images. now my question: can highslide play flv-files? i have flashvideos on my site (saved directly on my site, not from youtube)?
Title: Re: Highslide Image Viewer
Post by: digger on July 12, 2009, 05:48:23 PM
Quote from: whitesox on July 12, 2009, 09:10:53 AM
hi,

i have installed this great mod and works fine 4 images. now my question: can highslide play flv-files? i have flashvideos on my site (saved directly on my site, not from youtube)?

No.
Maybe i will made it in a next version.
Title: Re: Highslide Image Viewer
Post by: digger on July 12, 2009, 05:49:50 PM
Quote from: patalete on July 08, 2009, 07:07:07 PM
here is a random post screenie

(http://img16.imageshack.us/img16/7233/hghsld.th.jpg) (http://img16.imageshack.us/img16/7233/hghsld.jpg)

avatar and custom title in profile just show and work fine.
but all post contents and signature are showed by highslide...smilyes dont.. :?

I need example of html code. Can I see your forum?
Title: Re: Highslide Image Viewer
Post by: whitesox on July 13, 2009, 02:39:24 AM
Quote from: digger on July 12, 2009, 05:48:23 PM

No.
Maybe i will made it in a next version.

ok thx, i looking to next version :-)
Title: Re: Highslide Image Viewer
Post by: patalete on July 13, 2009, 04:45:15 AM
Quote from: digger on July 12, 2009, 05:49:50 PM

I need example of html code. Can I see your forum?

sure what code you need?
more info sent via PM
Title: Re: Highslide Image Viewer
Post by: digger on July 13, 2009, 08:34:57 AM
Quote from: whitesox on July 12, 2009, 09:10:53 AM
hi,

i have installed this great mod and works fine 4 images. now my question: can highslide play flv-files? i have flashvideos on my site (saved directly on my site, not from youtube)?

Did you store flashvideos as attachments or somesing else?
Title: Re: Highslide Image Viewer
Post by: digger on July 13, 2009, 08:36:17 AM
Quote from: patalete on July 13, 2009, 04:45:15 AM
Quote from: digger on July 12, 2009, 05:49:50 PM

I need example of html code. Can I see your forum?

more info sent via PM

Yes, I see this problem.
Title: Re: Highslide Image Viewer
Post by: patalete on July 13, 2009, 09:13:51 AM
any idea how to fix it?
:D
Title: Re: Highslide Image Viewer
Post by: digger on July 13, 2009, 10:27:41 AM
Quote from: patalete on July 13, 2009, 09:13:51 AM
any idea how to fix it?
:D

Maybe. Will working for it.
Title: Re: Highslide Image Viewer
Post by: patalete on July 13, 2009, 12:03:24 PM
thank you  8)
Title: Re: Highslide Image Viewer
Post by: digger on July 13, 2009, 09:20:56 PM
Quote from: patalete on July 13, 2009, 12:03:24 PM
thank you  8)

I found this bug in the mod code. Try 1.3 version.
Title: Re: Highslide Image Viewer
Post by: patalete on July 14, 2009, 04:13:45 AM
so far, so good

changes were done in subs? cause I have to do the changes manually

thanks for such a fast fix  ;D

SMF 2 RC1-1
SP 2.2.2
Highslide 1.3


edit:

I got all wroking fine and edite to 1.3
now what I can't achieve its to avoid highslide "thumbnailing&previewing" images posted smaller than a predefined  xxx height yyy width...
so if the picture posted is...lets say.. smaller than 400x400 px it wont be affected by highslide but any other image bigger than that gets resized and previewed with HS as usual.

Title: Re: Highslide Image Viewer
Post by: primetime on July 14, 2009, 06:49:43 PM
Im using silentwave theme on my board. This MOD works in the default theme but not in Silentwave. This theme has no dispaly.template file. Is there another file that I need to edit?


Thank you,
Prime
Title: Re: Highslide Image Viewer
Post by: digger on July 14, 2009, 07:37:06 PM
Quote from: primetime on July 14, 2009, 06:49:43 PM
Im using silentwave theme on my board. This MOD works in the default theme but not in Silentwave. This theme has no dispaly.template file. Is there another file that I need to edit?


Thank you,
Prime

Your theme using dispaly.template from Default theme. Copy highslide folder into Silentwave folder.
Title: Re: Highslide Image Viewer
Post by: Danpotter on July 15, 2009, 12:54:35 AM
mod is nice...but it is only for some image sharng site...y cant u keep like what ever image we posted ..can be used by highslide...pls do it.....cause we all also use images frm tinyic.com and many more...

so pls do it...
Title: Re: Highslide Image Viewer
Post by: digger on July 15, 2009, 02:26:19 PM
Quote from: Danpotter on July 15, 2009, 12:54:35 AM
mod is nice...but it is only for some image sharng site...y cant u keep like what ever image we posted ..can be used by highslide...pls do it.....cause we all also use images frm tinyic.com and many more...

so pls do it...

I can't support for "many more..."
Title: Re: Highslide Image Viewer
Post by: ysNoi on July 16, 2009, 01:05:20 AM
Hi..!

It seems the image I posted in my forum is not clickable and it has a big size still..!

Here's the link : http://ysnoi.co.cc/index.php?topic=135.msg2317#lastPost

Can someone help me to fix it..?

Thanks in advance..!
Title: Re: Highslide Image Viewer
Post by: digger on July 16, 2009, 07:30:02 AM
Quote from: ysNoi on July 16, 2009, 01:05:20 AM
Hi..!

It seems the image I posted in my forum is not clickable and it has a big size still..!

Here's the link : http://ysnoi.co.cc/index.php?topic=135.msg2317#lastPost

Can someone help me to fix it..?

Thanks in advance..!

Mod don't make any thumbnails. Mod needs image have thumbnail and full image for working.
If you insert fullsize image into your post, it wiil be fullsize.
Title: Re: Highslide Image Viewer
Post by: digger on July 16, 2009, 07:33:38 AM
Quote from: patalete on July 14, 2009, 04:13:45 AM
so far, so good

changes were done in subs? cause I have to do the changes manually

thanks for such a fast fix  ;D

SMF 2 RC1-1
SP 2.2.2
Highslide 1.3


edit:

I got all wroking fine and edite to 1.3
now what I can't achieve its to avoid highslide "thumbnailing&previewing" images posted smaller than a predefined  xxx height yyy width...
so if the picture posted is...lets say.. smaller than 400x400 px it wont be affected by highslide but any other image bigger than that gets resized and previewed with HS as usual.

Did you talk about attached images or inserted with |img| tag?
Title: Re: Highslide Image Viewer
Post by: patalete on July 16, 2009, 08:19:50 AM
yep mainly for images with [img] added to post...

can it be specified somewhere in the mod or highslide files?

if this need to be added manually would be cool that it also worked with an option in the admin menu to input the maximun/minimum sizes of pics that will be affected by hisgshlide instead of hardcoding the mod or templates.

attached pics thumbnails are showing in a good size...( but also would be cool be able to specify its size too)

well dunno if I really explained it in a good way... english is not my main language
Title: Re: Highslide Image Viewer
Post by: digger on July 16, 2009, 09:47:46 AM
Quote from: patalete on July 16, 2009, 08:19:50 AM
yep mainly for images with [img] added to post...

Мод don't now anyting about sizes of external files.
Title: Re: Highslide Image Viewer
Post by: Danpotter on July 17, 2009, 06:04:55 AM
Quote from: digger on July 15, 2009, 02:26:19 PM
Quote from: Danpotter on July 15, 2009, 12:54:35 AM
mod is nice...but it is only for some image sharng site...y cant u keep like what ever image we posted ..can be used by highslide...pls do it.....cause we all also use images frm tinyic.com and many more...

so pls do it...


I can't support for "many more..."

you dont support,...make mod to support :P :D

pls try :)
Title: Re: Highslide Image Viewer
Post by: Capion on August 02, 2009, 06:04:11 AM
Quote from: fals on October 08, 2008, 04:26:53 PM
How can i translate the tooltip text ?
"Click to close image, click and drag to move......"

Can't find any langues string

Have tried http://highslide.com/ref/hs.lang with no luck

How did You make the images insert side by side?
( hvordan fik du billederne til at stå side om side ? )
Title: Re: Highslide Image Viewer
Post by: angelgb81 on August 02, 2009, 05:28:28 PM
Nice mod!!

What about Flickr?
Title: Re: Highslide Image Viewer
Post by: angelgb81 on August 02, 2009, 05:47:24 PM

I'm only add this for flickr:

|| (stripos($b['domain_img'], 'flickr') !== false && preg_match('~(.*?)\.(?:th\.|)(png|gif|jp(e)?g|bmp)$~is'.($context['utf8'] ? 'u' : ''), $b[4]))


Same as imageshack....
Title: Re: Highslide Image Viewer
Post by: digger on August 13, 2009, 08:14:34 PM
New version

1.4 - Support for mod Attachments Positioning added. (Attachments Positioning 1.2 tested)
1.5 - Support for mod Attachments In Message added. (Attachments In Message 1.3 tested)
Title: Re: Highslide Image Viewer
Post by: DilSe on August 24, 2009, 10:43:23 AM
hello to all

plz help me about custom theme....i installed this mod. is working just default theme.. .. when i use package parser it's not working with package parser.. how to i use this mod with custom theme..plz help me..
Title: Re: Highslide Image Viewer
Post by: digger on August 24, 2009, 11:27:32 AM
Quote from: Hanzalah on August 24, 2009, 10:43:23 AM
hello to all

plz help me about custom theme....i installed this mod. is working just default theme.. .. when i use package parser it's not working with package parser.. how to i use this mod with custom theme..plz help me..

You need to edit index.template.php and Display.template.php. See Manual Install Instructions.
Title: Re: Highslide Image Viewer
Post by: DilSe on August 24, 2009, 02:19:29 PM
Quote from: digger on August 24, 2009, 11:27:32 AM
Quote from: Hanzalah on August 24, 2009, 10:43:23 AM
hello to all

plz help me about custom theme....i installed this mod. is working just default theme.. .. when i use package parser it's not working with package parser.. how to i use this mod with custom theme..plz help me..

You need to edit index.template.php and Display.template.php. See Manual Install Instructions.

thanks for help it's working  :)
Title: Re: Highslide Image Viewer
Post by: fmsllc on September 05, 2009, 12:22:25 PM
I'm using 1.1.10 with the bluesea theme.

I did a auto install and it didn't work, so I saw in the thread that I needed to follow the manual install instructions. I did that and no custom window popped up, rather the image loaded in the window from the url.
Title: Re: Highslide Image Viewer
Post by: digger on September 05, 2009, 04:43:47 PM
Quote from: fmsllc on September 05, 2009, 12:22:25 PM
I'm using 1.1.10 with the bluesea theme.

I did a auto install and it didn't work, so I saw in the thread that I needed to follow the manual install instructions. I did that and no custom window popped up, rather the image loaded in the window from the url.

Copy highslide directory into your theme directory.
Title: Re: Highslide Image Viewer
Post by: CiQ on September 06, 2009, 10:52:01 AM
v1.5 smf1.1.10
Quote from: firebuguseless setTimeout call in highslide.js
Quote from: firebughs.getAnchors is not a function in highslide.js
it's a normal?
Title: Re: Highslide Image Viewer
Post by: digger on September 06, 2009, 03:01:24 PM
Quote from: CiQ on September 06, 2009, 10:52:01 AM
v1.5 smf1.1.10
Quote from: firebuguseless setTimeout call in highslide.js
Quote from: firebughs.getAnchors is not a function in highslide.js
it's a normal?

I am not author of highslide.js script. Use http://highslide.com/support for feedbacks.
Title: Re: Highslide Image Viewer
Post by: Cablespider on September 07, 2009, 05:23:15 PM
never mind. resolved.
Title: Re: Highslide Image Viewer
Post by: fmsllc on September 09, 2009, 05:07:19 PM
Quote from: digger on September 05, 2009, 04:43:47 PM
Quote from: fmsllc on September 05, 2009, 12:22:25 PM
I'm using 1.1.10 with the bluesea theme.

I did a auto install and it didn't work, so I saw in the thread that I needed to follow the manual install instructions. I did that and no custom window popped up, rather the image loaded in the window from the url.

Copy highslide directory into your theme directory.

thank you sir. It didn't work after that, but a little bit of common sense made me realize instead of editing the default theme with the new code, I should edit my bluesea theme.....and it worked perfectly. It's visually beautiful too, I looked like a kid opening and cycling through attachments.
Title: Re: Highslide Image Viewer
Post by: fun4us on September 10, 2009, 11:01:29 AM
Hi, i like this mod very much and it works wonderful on a windows machine with nearly all new browser types.

But i have a problem with linux (FF and Konquerer) and handheld devices. The images are positioned ontop of the text or right next to the text outside the frame.

This Thread will show you an example. With Windows FF it works fine and with Linux FF not
http://www.mineralienatlas.de/forum/index.php/topic,5847.810.html

Any idea?
Kind regards and thanks for tis nice mode
Stefan
Title: Re: Highslide Image Viewer
Post by: fun4us on September 10, 2009, 04:24:08 PM
I found a solution for the Problem.

i figured out - login as admin works fine. There is a symbol on the right side - to edit posts, if this is shown the design is ok. So i always show a symbol as workarround.

Display.template.php

change
echo $message['can_modify'] ? '
<img src="' . $settings['images_url'] . '/icons/modify_inline.gif" alt="" title="' . $txt['modify_msg'] . '" class="modifybutton" id="modify_button_' . $message['id'] . '" style="cursor: ' . ($context['browser']['is_ie5'] || $context['browser']['is_ie5.5'] ? 'hand' : 'pointer') . '; display: none;" onclick="oQuickModify.modifyMsg(\'' . $message['id'] . '\', \'' . $context['session_id'] . '\')" />' : '';


to something like this

echo $message['can_modify'] ? '
<img src="' . $settings['images_url'] . '/icons/modify_inline.gif" alt="" title="' . $txt['modify_msg'] . '" class="modifybutton" id="modify_button_' . $message['id'] . '" style="cursor: ' . ($context['browser']['is_ie5'] || $context['browser']['is_ie5.5'] ? 'hand' : 'pointer') . '; display: none;" onclick="oQuickModify.modifyMsg(\'' . $message['id'] . '\', \'' . $context['session_id'] . '\')" />' : '<img src="icons/someicon.gif" class="modifybutton">';


difference

<img src="icons/someicon.gif" class="modifybutton">

Best regards
Stefan
Title: Re: Highslide Image Viewer
Post by: aw06 on October 17, 2009, 09:50:38 PM
Hi ... when i install this mod i cannot load my forums index page and i get this error ..

QuoteFatal error: Call to undefined function: str_ireplace() in /home/xxxxx/public_html/forum/Sources/Subs.php on line 3793

Any Ideas ??

Also .. is their a Admin panel for this mod ?? or once installed it just works ??
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2009, 07:27:22 AM
Quote from: aw06 on October 17, 2009, 09:50:38 PM
Hi ... when i install this mod i cannot load my forums index page and i get this error ..

QuoteFatal error: Call to undefined function: str_ireplace() in /home/xxxxx/public_html/forum/Sources/Subs.php on line 3793

Any Ideas ??
If you use ancient and unsupported php4, replace str_ireplace with str_replace.

Quote
Also .. is their a Admin panel for this mod ?? or once installed it just works ??
There is no Admin panel.
Title: Re: Highslide Image Viewer
Post by: skullmonkey on October 18, 2009, 08:36:55 AM
When I click, LOADING start working and nothing happened.
Fix?

S@
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 11:25:20 AM
Quote from: digger on October 18, 2009, 07:27:22 AM
Quote from: aw06 on October 17, 2009, 09:50:38 PM
Hi ... when i install this mod i cannot load my forums index page and i get this error ..

QuoteFatal error: Call to undefined function: str_ireplace() in /home/xxxxx/public_html/forum/Sources/Subs.php on line 3793

Any Ideas ??
If you use ancient and unsupported php4, replace str_ireplace with str_replace.

Very Strange as I'm using PHP version 5.2.5 , i did the edits and it's working now...
Title: Re: Highslide Image Viewer
Post by: skullmonkey on October 18, 2009, 04:34:59 PM
The LOADING... problem... someone has it?

G
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 04:41:32 PM
Quote from: skullmonkey on October 18, 2009, 04:34:59 PM
The LOADING... problem... someone has it?

G

make sure you copy the Highslide folder into your custom theme folder...
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2009, 04:41:59 PM
Quote from: skullmonkey on October 18, 2009, 04:34:59 PM
The LOADING... problem... someone has it?

G

Copy highslide directory into your theme directory.
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 05:09:41 PM
Quote from: digger on October 09, 2008, 08:13:46 PM
Quote from: baijianpeng on October 09, 2008, 07:34:43 PM
OK, I had completed the Chinese language translation for this HighSlide Image Viewer Mod.

I copied my translated language files to the /highslide folder, but it did not work.

Maybe you will realease a new version which can call these language files?

I uploaded 1.0 RC4 version.
New version try to call language file with name equally current user's profile language (highslide.language_name.js). For guests uses default forum language.

this is not working for me ... I'm using language file highslide.english-utf8.js no matter what I change the tool tips to is does not change ??

should the file be in the Highslide folder ?? or should i put it in themes/languages ??
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2009, 05:19:01 PM
Quote from: aw06 on October 18, 2009, 05:09:41 PM
this is not working for me ... I'm using language file highslide.english-utf8.js no matter what I change the tool tips to is does not change ??

should the file be in the Highslide folder ?? or should i put it in themes/languages ??

New language file should be in the Highslide folder, where other languages is.
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 05:22:07 PM
Quote from: digger on October 18, 2009, 05:19:01 PM
Quote from: aw06 on October 18, 2009, 05:09:41 PM
this is not working for me ... I'm using language file highslide.english-utf8.js no matter what I change the tool tips to is does not change ??

should the file be in the Highslide folder ?? or should i put it in themes/languages ??

New language file should be in the Highslide folder, where other languages is.

Ok doesn't work .... i change tool tips in highslide.english-utf8.js and highslide.english.js and it has no effect  ::)
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2009, 05:33:26 PM
Quote from: aw06 on October 18, 2009, 05:22:07 PM
Quote from: digger on October 18, 2009, 05:19:01 PM
Quote from: aw06 on October 18, 2009, 05:09:41 PM
this is not working for me ... I'm using language file highslide.english-utf8.js no matter what I change the tool tips to is does not change ??

should the file be in the Highslide folder ?? or should i put it in themes/languages ??

New language file should be in the Highslide folder, where other languages is.

Ok doesn't work .... i change tool tips in highslide.english-utf8.js and highslide.english.js and it has no effect  ::)

As guest I see your forum use /forum/Themes/default/Highslide/highslide.english-utf8.js. Did you change this file?
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 05:39:07 PM
Quote from: digger on October 18, 2009, 05:33:26 PM
Quote from: aw06 on October 18, 2009, 05:22:07 PM
Quote from: digger on October 18, 2009, 05:19:01 PM
Quote from: aw06 on October 18, 2009, 05:09:41 PM
this is not working for me ... I'm using language file highslide.english-utf8.js no matter what I change the tool tips to is does not change ??

should the file be in the Highslide folder ?? or should i put it in themes/languages ??

New language file should be in the Highslide folder, where other languages is.

Ok doesn't work .... i change tool tips in highslide.english-utf8.js and highslide.english.js and it has no effect  ::)

As guest I see your forum use /forum/Themes/default/Highslide/highslide.english-utf8.js. Did you change this file?

.. ohhhhhhhh, it's using the folder from the default theme .. tought it would be using the folder from my custom theme folder .. thanks ... working now
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 06:08:47 PM
Any idea how i can implement this feature ??

Floating thumbstrip to the right
http://highslide.com/examples/gallery-floating-thumbs.html
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2009, 06:11:36 PM
Quote from: aw06 on October 18, 2009, 06:08:47 PM
Any idea how i can implement this feature ??

Floating thumbstrip to the right
http://highslide.com/examples/gallery-floating-thumbs.html

Highslide Image Viewer 2 will have this feature.
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 06:13:01 PM
Can i not just add this code to index.template
// Add the slideshow providing the controlbar and the thumbstrip
hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: false,
useControls: true,
fixedControls: 'fit',
overlayOptions: {
position: 'top right',
offsetX: 200,
offsetY: -65
},
thumbstrip: {
position: 'rightpanel',
mode: 'float',
relativeTo: 'expander',
width: '210px'
}
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2009, 06:23:30 PM
Quote from: aw06 on October 18, 2009, 06:13:01 PM
Can i not just add this code to index.template

You can try if you have some knowledge of SMF, php and js.
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 06:30:55 PM
Doesn't work .. guess more code needs to go elsewhere...

When is Highslide Image Viewer 2 set to release ?
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2009, 06:34:31 PM
Quote from: aw06 on October 18, 2009, 06:30:55 PM
Doesn't work .. guess more code needs to go elsewhere...

When is Highslide Image Viewer 2 set to release ?

After public release of SMF2 RC2.
My be earlier.
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 06:42:03 PM
Kool, will be on the lookout ... it will still work on SMF 1.1.10 right ?
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2009, 06:51:08 PM
Quote from: aw06 on October 18, 2009, 06:42:03 PM
it will still work on SMF 1.1.10 right ?
Yes
Title: Re: Highslide Image Viewer
Post by: skullmonkey on October 18, 2009, 07:31:52 PM
Quote from: digger on October 18, 2009, 04:41:59 PM
Quote from: skullmonkey on October 18, 2009, 04:34:59 PM
The LOADING... problem... someone has it?

G

Copy highslide directory into your theme directory.

Not working. Same deal as before. Loading...
I dont have the Highslide folder in both default and Speedlight directory. Checked if the paths are ok.
In manual installation there were some lines to be added in Display.php but there are no such lines there to be replaced.

G.

btw, this is mod for any images between  od only for attached thumbs?
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 07:57:38 PM
digger, was this mod updated to work with any posted img ?? not just imageshack and photobucket ?
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2009, 08:05:23 PM
Quote from: aw06 on October 18, 2009, 07:57:38 PM
digger, was this mod updated to work with any posted img ?? not just imageshack and photobucket ?

It works with any posted image if it have thumbnail and realsize image.

|url=realsize_image| |img| thumbnail_image |/img| |/url| 
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 08:08:24 PM
o ok, i have my forum set to resize all images [img width= height=] so i guess that's how it's getting every image posted .. nice 8)
Title: Re: Highslide Image Viewer
Post by: digger on October 18, 2009, 08:16:41 PM
Quote from: aw06 on October 18, 2009, 08:08:24 PM
o ok, i have my forum set to resize all images [img width= height=] so i guess that's how it's getting every image posted .. nice 8)

[img width= height=] supported by mod.
Title: Re: Highslide Image Viewer
Post by: aw06 on October 18, 2009, 09:06:24 PM
this is definitely one of the best mods for smf 8)
Title: Re: Highslide Image Viewer
Post by: jmil on October 19, 2009, 10:22:03 AM
I am currently skiing High Slide 1.0 RC8.

What are the Update instructions to move to the latest version?

My guess is uninstall and reinstall the latest?

Using SMF 1.1.10

Custom Theme

Title: Re: Highslide Image Viewer
Post by: digger on October 19, 2009, 10:41:51 AM
Quote from: jmil on October 19, 2009, 10:22:03 AM
What are the Update instructions to move to the latest version?
My guess is uninstall and reinstall the latest?
Yes
Title: Re: Highslide Image Viewer
Post by: johny000 on November 05, 2009, 05:57:49 PM
hello everyone
i'm useing smf v1.1.10
i like this mod but is there any one way make it popup in new  Windows

useing this code <script type="text/javascript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=420,height=370,left = 0,top = 0');");
}
</script><A HREF="javascript:popUp("Highslide Image Viewer here")">



thank you
Title: Re: Highslide Image Viewer
Post by: anto74 on November 06, 2009, 03:12:17 PM
Hi,
thnaks for this beatiful Mod!
In my photography forum is perfect!
I have a little problem with the highslide plugin.
In fact when I tried to use one image on a reply, i got a blank page back, and my reply is lost. Do you know what can cause this problem?
Thanks
Antonio
Title: Re: Highslide Image Viewer
Post by: digger on November 06, 2009, 04:01:11 PM
Quote from: anto74 on November 06, 2009, 03:12:17 PM
Hi,
thnaks for this beatiful Mod!
In my photography forum is perfect!
I have a little problem with the highslide plugin.
In fact when I tried to use one image on a reply, i got a blank page back, and my reply is lost. Do you know what can cause this problem?
Thanks
Antonio

Can you give more info about problem?
Title: Re: Highslide Image Viewer
Post by: anto74 on November 07, 2009, 09:38:57 AM
Quote from: digger on November 06, 2009, 04:01:11 PM
Quote from: anto74 on November 06, 2009, 03:12:17 PM
Hi,
thnaks for this beatiful Mod!
In my photography forum is perfect!
I have a little problem with the highslide plugin.
In fact when I tried to use one image on a reply, i got a blank page back, and my reply is lost. Do you know what can cause this problem?
Thanks
Antonio

Can you give more info about problem?
Yes..sorry.. :)
If i post a new photo ( photography forum....macroforum.org ), i put the photo between img tags...ok...the thumb is created ok...but randomly, and with big photo, the thumb is not created and i have blank page....
sorry for my english.
thanks
Antonio
Title: Re: Highslide Image Viewer
Post by: anto74 on November 07, 2009, 09:45:08 AM
If i post this my photo: http://www.macroforum.org/mie/Onycho.jpg  i have blank page if i put img tag....in this forum too!
Antonio
Title: Re: Highslide Image Viewer
Post by: digger on November 07, 2009, 09:52:48 AM
Quote from: anto74 on November 07, 2009, 09:38:57 AM
Quote from: digger on November 06, 2009, 04:01:11 PM
Quote from: anto74 on November 06, 2009, 03:12:17 PM
Hi,
thnaks for this beatiful Mod!
In my photography forum is perfect!
I have a little problem with the highslide plugin.
In fact when I tried to use one image on a reply, i got a blank page back, and my reply is lost. Do you know what can cause this problem?
Thanks
Antonio

Can you give more info about problem?
Yes..sorry.. :)
If i post a new photo ( photography forum....macroforum.org ), i put the photo between img tags...ok...the thumb is created ok...but randomly, and with big photo, the thumb is not created and i have blank page....
sorry for my english.
thanks
Antonio

Forum don't create thumbs for images with img tag.
If you tell about attached images, it looks like you have not enough memory for php to work with big images.
I think it's not highslide mod issue. 
Title: Re: Highslide Image Viewer
Post by: anto74 on November 07, 2009, 09:58:33 AM
Quote from: digger on November 07, 2009, 09:52:48 AM
Quote from: anto74 on November 07, 2009, 09:38:57 AM
Quote from: digger on November 06, 2009, 04:01:11 PM
Quote from: anto74 on November 06, 2009, 03:12:17 PM
Hi,
thnaks for this beatiful Mod!
In my photography forum is perfect!
I have a little problem with the highslide plugin.
In fact when I tried to use one image on a reply, i got a blank page back, and my reply is lost. Do you know what can cause this problem?
Thanks
Antonio

Can you give more info about problem?
Yes..sorry.. :)
If i post a new photo ( photography forum....macroforum.org ), i put the photo between img tags...ok...the thumb is created ok...but randomly, and with big photo, the thumb is not created and i have blank page....
sorry for my english.
thanks
Antonio

Forum don't create thumbs for images with img tag.
If you tell about attached images, it looks like you have not enough memory for php to work with big images.
I think it's not highslide mod issue.
Ah, ok!
Then i ask my hoster for this problem....thanks...and thanks for your MOD...!
Antonio
Title: Re: Highslide Image Viewer
Post by: clothahump on November 09, 2009, 03:43:28 AM
High slide has been working perfectly until today, images linked from the Gallery pop up but images uploaded to the Forum open in a new window, what could have changed?
Title: Re: Highslide Image Viewer
Post by: clothahump on November 09, 2009, 05:36:25 PM
Just to add to the confusion, some images are working whilst others are not???
Title: Re: Highslide Image Viewer
Post by: anto74 on November 10, 2009, 03:41:51 AM
Hi digger,
your Mod works ok with RC2 ? :-)
Thanks!
Antonio
Title: Re: Highslide Image Viewer
Post by: digger on November 10, 2009, 05:22:18 PM
Quote from: anto74 on November 10, 2009, 03:41:51 AM
Hi digger,
your Mod works ok with RC2 ? :-)
Thanks!
Antonio

Updated
Title: Re: Highslide Image Viewer
Post by: henry74 on November 10, 2009, 05:39:12 PM
I had this mod installed in previous versions, i have desintalled and installed 1.6 and all was fine, but seems not working...  in RC2
Title: Re: Highslide Image Viewer
Post by: Kmarion on November 11, 2009, 05:13:59 AM
Quote from: clothahump on November 09, 2009, 05:36:25 PM
Just to add to the confusion, some images are working whilst others are not???
Same going on here. It's very odd. Actually the same image is working, but only in certain threads.
Title: Re: Highslide Image Viewer
Post by: digger on November 11, 2009, 05:24:08 AM
Quote from: Kmarion on November 11, 2009, 05:13:59 AM
Quote from: clothahump on November 09, 2009, 05:36:25 PM
Just to add to the confusion, some images are working whilst others are not???
Same going on here. It's very odd. Actually the same image is working, but only in certain threads.

Links to the examples?
Title: Re: Highslide Image Viewer
Post by: clothahump on November 11, 2009, 09:50:48 AM
http://www.tropicalfishforums.co.uk/index.php?topic=11990.0

First image of the fish works, snail and marigolds fail.
Title: Re: Highslide Image Viewer
Post by: digger on November 11, 2009, 11:00:35 AM
Quote from: clothahump on November 11, 2009, 09:50:48 AM
http://www.tropicalfishforums.co.uk/index.php?topic=11990.0

First image of the fish works, snail and marigolds fail.

You are use SMG.
SMG have own highslide script which settings interfere with my mod.
Title: Re: Highslide Image Viewer
Post by: clothahump on November 11, 2009, 11:05:11 AM
Ah, so can I still use yours in the Forums?
Title: Re: Highslide Image Viewer
Post by: Eddy Matthews on November 15, 2009, 01:26:01 PM
I just had to say that this mod works superbly, the best integration of highslide I've seen yet!

Many thanks
Eddy
Title: Re: Highslide Image Viewer
Post by: toma on November 16, 2009, 02:21:48 PM
HI,

I tried to get Highslide image viewer to work with my SMF forum which is run using the Joomla-SMF Bridge and what happens is that the images are opened in a new window. without any nice highslide effects.
If I run the forum (1.1.10) without Joomla integration it works nicely.
Probably some lightbox plug-ins that interfere, any idea on how to debug it?

Attached Finnish translations to a very nicely done mod.
Title: Re: Highslide Image Viewer
Post by: digger on November 16, 2009, 02:54:41 PM
Quote from: toma on November 16, 2009, 02:21:48 PM
HI,

I tried to get Highslide image viewer to work with my SMF forum which is run using the Joomla-SMF Bridge and what happens is that the images are opened in a new window. without any nice highslide effects.
If I run the forum (1.1.10) without Joomla integration it works nicely.
Probably some lightbox plug-ins that interfere, any idea on how to debug it?

Can I see examples?
Title: Re: Highslide Image Viewer
Post by: toma on November 16, 2009, 03:51:45 PM
Yes of course, sorry that i didn't post them straight away.

Here are two links link to an sales ad on my site with pictures attached

The first one is through Joomla, which opens the image in a blank window:
http://www.ilmailu.org/index.php?option=com_smf&Itemid=26&topic=3207.0

And this one is without is to the same place without Joomla interfering, working nicely:
http://www.ilmailu.org/forum/index.php?topic=3207.msg17218#new
Title: Re: Highslide Image Viewer
Post by: digger on November 16, 2009, 04:31:11 PM
Quote from: toma on November 16, 2009, 03:51:45 PM
Yes of course, sorry that i didn't post them straight away.

Here are two links link to an sales ad on my site with pictures attached

The first one is through Joomla, which opens the image in a blank window:
http://www.ilmailu.org/index.php?option=com_smf&Itemid=26&topic=3207.0

And this one is without is to the same place without Joomla interfering, working nicely:
http://www.ilmailu.org/forum/index.php?topic=3207.msg17218#new

You need to insert into your Joomla template this code


<script language="JavaScript" type="text/javascript" src="http://www.ilmailu.org/forum/Themes/default/Highslide/highslide.js"></script>
<script language="JavaScript" type="text/javascript" src="http://www.ilmailu.org/forum/Themes/default/Highslide/highslide.finnish.js"></script>
<script type="text/javascript">
    hs.graphicsDir = "http://www.ilmailu.org/forum/Themes/default/Highslide/";
    hs.outlineType = "rounded-white";
    hs.captionEval = "this.thumb.alt";
    hs.transitions = ["expand", "crossfade"];
    hs.numberOfImagesToPreload = 5;
    hs.dimmingOpacity = 0;
    hs.fadeInOut = false;
    hs.align = "center";
    hs.showCredits = false;
    hs.creditsText = "";
    hs.creditsHref = "";
    hs.creditsTitle = "";
    if (hs.addSlideshow) hs.addSlideshow({
        interval: 5000,
        repeat: false,
        useControls: true,
fixedControls: false,
        overlayOptions: {
        opacity: 1,
        position: "top right",
        hideOnMouseOut: false
}
    });
  </script>
Title: Re: Highslide Image Viewer
Post by: clothahump on November 16, 2009, 04:34:16 PM
Quote from: digger on November 11, 2009, 11:00:35 AM
Quote from: clothahump on November 11, 2009, 09:50:48 AM
http://www.tropicalfishforums.co.uk/index.php?topic=11990.0

First image of the fish works, snail and marigolds fail.

Any way to get mine working properly Digger?

You are use SMG.
SMG have own highslide script which settings interfere with my mod.
Title: Re: Highslide Image Viewer
Post by: digger on November 16, 2009, 04:46:33 PM
Quote from: clothahump on November 16, 2009, 04:34:16 PM
Quote from: digger on November 11, 2009, 11:00:35 AM
Quote from: clothahump on November 11, 2009, 09:50:48 AM
http://www.tropicalfishforums.co.uk/index.php?topic=11990.0

First image of the fish works, snail and marigolds fail.

Any way to get mine working properly Digger?

You are use SMG.
SMG have own highslide script which settings interfere with my mod.

Disable highslide in SMG or wait for Highslide Image Viewer 2.0
Title: Re: Highslide Image Viewer
Post by: clothahump on November 16, 2009, 04:54:48 PM
Disabled and now the images linked from Gallery open in a new page. :(
Title: Re: Highslide Image Viewer
Post by: digger on November 16, 2009, 04:59:43 PM
Quote from: clothahump on November 16, 2009, 04:54:48 PM
Disabled and now the images linked from Gallery open in a new page. :(
Yes, because you disable it.
Title: Re: Highslide Image Viewer
Post by: clothahump on November 16, 2009, 05:03:21 PM
I will just have to wait for Highslide Image Viewer 2.0, thanks anyway.
Title: Re: Highslide Image Viewer
Post by: toma on November 16, 2009, 05:48:43 PM
Quote from: digger on November 16, 2009, 04:31:11 PM
Quote from: toma on November 16, 2009, 03:51:45 PM
Yes of course, sorry that i didn't post them straight away.

Here are two links link to an sales ad on my site with pictures attached

The first one is through Joomla, which opens the image in a blank window:
http://www.ilmailu.org/index.php?option=com_smf&Itemid=26&topic=3207.0

And this one is without is to the same place without Joomla interfering, working nicely:
http://www.ilmailu.org/forum/index.php?topic=3207.msg17218#new

You need to insert into your Joomla template this code


<script language="JavaScript" type="text/javascript" src="http://www.ilmailu.org/forum/Themes/default/Highslide/highslide.js"></script>
<script language="JavaScript" type="text/javascript" src="http://www.ilmailu.org/forum/Themes/default/Highslide/highslide.finnish.js"></script>
<script type="text/javascript">
    hs.graphicsDir = "http://www.ilmailu.org/forum/Themes/default/Highslide/";
    hs.outlineType = "rounded-white";
    hs.captionEval = "this.thumb.alt";
    hs.transitions = ["expand", "crossfade"];
    hs.numberOfImagesToPreload = 5;
    hs.dimmingOpacity = 0;
    hs.fadeInOut = false;
    hs.align = "center";
    hs.showCredits = false;
    hs.creditsText = "";
    hs.creditsHref = "";
    hs.creditsTitle = "";
    if (hs.addSlideshow) hs.addSlideshow({
        interval: 5000,
        repeat: false,
        useControls: true,
fixedControls: false,
        overlayOptions: {
        opacity: 1,
        position: "top right",
        hideOnMouseOut: false
}
    });
  </script>


Many thanks for this  Digger it works like a charm!

Sorry to bother you again but, you mentioned somewhere that it should show pictures that have a thumbnail also in the middle of the text. I'm using the Inline Attachments by mouser and currently those are not shown with Highslide Image viewer e.g. these:

http://www.ilmailu.org/index.php?option=com_smf&Itemid=26&topic=2477.0

Can you recommend some other inline image mod that would work or is there a way to get this to work?
Title: Re: Highslide Image Viewer
Post by: digger on November 16, 2009, 06:49:38 PM
Quote from: toma on November 16, 2009, 05:48:43 PM
Many thanks for this  Digger it works like a charm!

Sorry to bother you again but, you mentioned somewhere that it should show pictures that have a thumbnail also in the middle of the text. I'm using the Inline Attachments by mouser and currently those are not shown with Highslide Image viewer e.g. these:

http://www.ilmailu.org/index.php?option=com_smf&Itemid=26&topic=2477.0

Can you recommend some other inline image mod that would work or is there a way to get this to work?

Highslide Image Viewer works with Attachments Positioning (Attachments Positioning 1.2 tested) and Attachments In Message (Attachments In Message 1.3 tested) mods. But you need to install inline image mod firstly and then install Highslide Image Viewer mod.
Title: Re: Highslide Image Viewer
Post by: realnc on November 28, 2009, 06:48:58 PM
I just installed this on RC2 (it installed perfectly without any errors) but it doesn't seem to work. Also, I get a LOT of these errors in the logs:

/forum/index.php?action=portal;sa=shoutbox;shoutbox_id=1;time=1259451970;xml
2: preg_match_all() [<a href='function.preg-match-all'>function.preg-match-all</a>]: Unknown modifier 'r'
File: /forum/Sources/Subs.php
Line: 4279


I have SimplePortal 2.3.1 installed.
Title: Re: Highslide Image Viewer
Post by: JayKae on December 04, 2009, 01:56:21 AM
Ok, it installed fine but I cannot find where to set it up in SMF 2.0 RC2 ?
Title: Re: Highslide Image Viewer
Post by: Chas Large on December 07, 2009, 02:00:39 PM
Is there a code fix to make this work with SMF 2.0 RC2 and SMF Gallery Lite? I have the fix for 1.1.11 and SMF Gallery Lite and that works fine but even though it works fine on Board Attachments in 2.0 RC2 it does not work with the gallery.

Any help appreciated.

Thanks

PS @JayKae, there is no configuration for this mod, it just works, when you hover the mouse over an image attachment in a post you should see an hourglass icon. Click the picture and it opens the picture in a pop-up window.
Title: Re: Highslide Image Viewer
Post by: digger on December 10, 2009, 06:18:12 AM
Quote from: Chas Large on December 07, 2009, 02:00:39 PM
Is there a code fix to make this work with SMF 2.0 RC2 and SMF Gallery Lite? I have the fix for 1.1.11 and SMF Gallery Lite and that works fine but even though it works fine on Board Attachments in 2.0 RC2 it does not work with the gallery.

I have tested work with last version of SMF Gallery.
Code fix from first post work (little changes needed).
Title: Re: Highslide Image Viewer
Post by: Axodious on December 12, 2009, 06:32:47 PM
Can someone tell me why Highslide isn't working on my website here (http://gongshowguild.com/) I moved the Highslide directory to my custom theme and checked all the files for the modifications which are all done.

I had this problem on my test forum but managed to fix it, I just can't remember what I did. >_<
Title: Re: Highslide Image Viewer
Post by: Axodious on December 12, 2009, 06:44:36 PM
Fixed, there is something wrong with the Highslide folder when it extracts with SMF 2.0 RC2. All of the file permissions were messed up and the outlines folder was a file instead of a folder. Copied the directory from my test forum which had proper permissions and it worked. Not sure what caused it.
Title: Re: Highslide Image Viewer
Post by: nadrojcote on December 15, 2009, 10:07:07 PM
How would I go about changing the style of this to be black rather than white?
Title: Re: Highslide Image Viewer
Post by: erl_rey26 on December 16, 2009, 09:15:02 AM
what's tag to use to place the image in forum with highslide
after I have installed highslide.

[img]http://image here[/img]  ?



Title: Re: Highslide Image Viewer
Post by: digger on December 16, 2009, 12:14:03 PM
Quote from: erl_rey26 on December 16, 2009, 09:15:02 AM
what's tag to use to place the image in forum with highslide
after I have installed highslide.

[img]http://image here[/img]  ?


[url=fullsize_image][img]preview_image[/img][/url]


or
[img]image from supported photohosting[/img]
Title: Re: Highslide Image Viewer
Post by: pommesmatte on December 19, 2009, 03:31:33 PM
Hi there, thanks for the great mod.

I'm using SMF Media Gallery along with this mod, and by now it breaks the highslide animation of the Gallery. This seems clear.

Would it be possible to replace the Highslide of SMG with yours?

In the overview of the Gallery it seems to work, but when viewing a single image in the gallery, the picture just opens in a new window.
Title: Re: Highslide Image Viewer
Post by: roomeat on December 28, 2009, 05:44:28 PM
Just installed 1.6 to SMF2.0 RC2.
It installed fine.. but when I click on a image it just hangs with the "loading" animation and won't go any further.
Just in case.. I also have the following installed:
SMF Media Gallery 2.0.5
AEVA 7.0
Simpleportal 2.3.1
Title: Re: Highslide Image Viewer
Post by: digger on December 29, 2009, 03:55:19 AM
Quote from: roomeat on December 28, 2009, 05:44:28 PM
Just installed 1.6 to SMF2.0 RC2.
It installed fine.. but when I click on a image it just hangs with the "loading" animation and won't go any further.
Just in case.. I also have the following installed:
SMF Media Gallery 2.0.5
AEVA 7.0
Simpleportal 2.3.1

If you use a custom theme, you need to make manual modifications to that theme's templates.
Title: Re: Highslide Image Viewer
Post by: roomeat on December 29, 2009, 08:03:21 AM
Yes I am aware of that.. I have checked the edits for the theme and they are all correct.
I have also mad sure the highslide folder is added to my theme.. but still the same.
Title: Re: Highslide Image Viewer
Post by: roomeat on December 29, 2009, 08:07:54 AM
Actually.. just fixed it.
Seems the install had not done the folders correctly and the Highslide/outlines folder wasn't a folder.. Was some kind of file. Deleted that and uploaded the folder manually.. now working :)
Title: Re: Highslide Image Viewer
Post by: kind on January 03, 2010, 06:41:55 PM
dont work for me... i have smf 2.0rc and have to install all manually, and still not working, any help?
Title: Re: Highslide Image Viewer
Post by: Anpu on January 08, 2010, 05:12:02 PM
Hello,
I am using version 1.2.
It works very nice, except one minor thing:
it places gray border around images in signatures.
My questions are:
1) is it possible not to work on signatures, just on post pictures,
2) is it possible to remove gray frame (not to be visible unless you put mouse over a picture)?

Also I just noticed there are couple of versions of this mod. I downloaded 1.6 and checked history, but got many unknown symbols inside txt file. So, I need to ask, whats the difference btw versions? Or even more specific, does any of version cover my questions above?

Thank you :)

Keep up excellent work!
Title: Re: Highslide Image Viewer
Post by: digger on January 11, 2010, 08:20:57 AM
Quote from: Anpu on January 08, 2010, 05:12:02 PM
Hello,
I am using version 1.2.
It works very nice, except one minor thing:
it places gray border around images in signatures.
My questions are:
1) is it possible not to work on signatures, just on post pictures,

It was fixed in 1.3 version.
You can see version history on the mod page http://custom.simplemachines.org/mods/index.php?mod=1450
Title: Re: Highslide Image Viewer
Post by: Anpu on January 12, 2010, 05:52:46 AM
Awesome and thanks for the link.
It works like a charm!
Title: Re: Highslide Image Viewer
Post by: Stigmartyr on January 22, 2010, 12:43:31 AM
I have an issue with this (great) mod and it applying itself to thumbnails pulled from my Aeva Gallery. 

I do not want it to apply its effect to a linked Aeva Gallery thumbnail.  I display thumbs on my SMF portal as php blocks which link to the items in the gallery.  With highslide installed it prevents this, infact it also hangs 'loading' highslide and never actually opens anything.

So in short, what can I edit to remove this and disable Highslide ONLY for Aeva Media (SMG) items?


p.s. I am using SMF 2.0 RC2
Title: Re: Highslide Image Viewer
Post by: dembow on January 23, 2010, 02:47:31 PM
hello, i've been trying to install this mod in SMF 2.0 RC2 either thru the admin panel or parsing it but is not working, it opens the images on a new window

i know it's installing fine since it's adding the threads title below the image

(http://i50.tinypic.com/2eojynr.png)

is there something i'm missing?  and yes the highslide folder is inside the default theme template

please help, i'll greatly appreciate it   :'(
Title: Re: Highslide Image Viewer
Post by: digger on January 23, 2010, 04:03:00 PM
Quote from: dembow on January 23, 2010, 02:47:31 PM
hello, i've been trying to install this mod in SMF 2.0 RC2 either thru the admin panel or parsing it but is not working, it opens the images on a new window

i know it's installing fine since it's adding the threads title below the image

(http://i50.tinypic.com/2eojynr.png)

is there something i'm missing?  and yes the highslide folder is inside the default theme template

please help, i'll greatly appreciate it   :'(

Show your forum with mod installed.
Title: Re: Highslide Image Viewer
Post by: dembow on January 23, 2010, 04:09:59 PM
i'll pm you the link now
Title: Re: Highslide Image Viewer
Post by: milicik on January 24, 2010, 10:13:48 AM
I installed this mod on my site. Its very great.

But when users load site in IE 6 , 5 or 7 there are a lot errors log
a
How to fix this problem?
Title: Re: Highslide Image Viewer
Post by: Tincho on January 24, 2010, 12:42:58 PM
I have a problem. I installed it on my 1.1.11 forum. When the upload finished I clic on Install, then to the index of the forum and.. blank.. The whole page is blank.. I can't understand what happened. I tried to restore it but I couldn't... Can anybody help me please? :/
Title: Re: Highslide Image Viewer
Post by: Cablespider on January 26, 2010, 11:28:55 AM
I'm stumped. When images are posted inline rather than being attached, you can't modify the post that contains the image. All I get is a blank page. The little wrench icon works and you can edit inline.

I have to manually edit because I can't use the package feature. I have gone over the code more than once and I'm sure everything is in order.

The only mods I have install is Aeva and Simple Portal. Any ideas? I'll be happy to answer any questions you may have for me.

Edit: SMF 2.0 RC2
Title: Re: Highslide Image Viewer
Post by: digger on January 26, 2010, 01:54:20 PM
Quote from: Cablespider on January 26, 2010, 11:28:55 AM
I'm stumped. When images are posted inline rather than being attached, you can't modify the post that contains the image. All I get is a blank page.  you may have for me.
Is there any messages in the forum errors log?
Title: Re: Highslide Image Viewer
Post by: Cablespider on January 26, 2010, 02:44:16 PM
Unfortunately, no.
Title: Re: Highslide Image Viewer
Post by: digger on January 26, 2010, 03:30:43 PM
Quote from: Cablespider on January 26, 2010, 02:44:16 PM
Unfortunately, no.
Try to do this:

in the Subs.php
find
$b[1] = str_ireplace('class="bbc_link new_win"', '', $b[1]); // Remove class="bbc_link new_win" from original <a>
replace with
$b[1] = str_replace('class="bbc_link new_win"', '', $b[1]); // Remove class="bbc_link new_win" from original <a>

find
$b[5] = str_ireplace('alt=""', 'alt="' . $b[2] . '"', $b[5]); // Add filename to the caption
replace with
$b[5] = str_replace('alt=""', 'alt="' . $b[2] . '"', $b[5]); // Add filename to the caption
Title: Re: Highslide Image Viewer
Post by: Cablespider on January 26, 2010, 04:08:33 PM
That did the trick. Thank you very much.
Title: Re: Highslide Image Viewer
Post by: aw06 on January 27, 2010, 02:40:42 PM
can somebody test ... this mod works very slow in IE8, as in when you click a pic it takes awhile to show the bigger size
Title: Re: Highslide Image Viewer
Post by: luismanson on January 29, 2010, 05:41:46 PM
Quote from: aw06 on January 27, 2010, 02:40:42 PM
can somebody test ... this mod works very slow in IE8, as in when you click a pic it takes awhile to show the bigger size

its working for me...

in another mather i get 404 on IE8 with zoomin.cur zoomout.cur works however, it seems to be an issue with pretty url mod, because i see the subject in the url:
/aplicaciones/(pedido)-limpiador-de-basura/15/zoomin.cur
Title: Re: Highslide Image Viewer
Post by: milicik on January 31, 2010, 01:10:19 PM
Quote from: milicik on January 24, 2010, 10:13:48 AM
I installed this mod on my site. Its very great.

But when users load site in IE 6 , 5 or 7 there are a lot errors log
a
How to fix this problem?
Title: Re: Highslide Image Viewer
Post by: MultiformeIngegno on February 03, 2010, 02:11:46 PM
BUG I've found:
Only in PMs and only with WYSIWYG editor, posting an image with Highslide active, every time you hit the "preview" button smf adds the subject of the PM near the image, so if I click 3 times "preview" it adds 3 times the subject near the image.. doesn't happen with Highslide uninstalled! :)
Title: Re: Highslide Image Viewer
Post by: Stigmartyr on February 03, 2010, 11:02:03 PM
Hello,
I am using SMF2 RC2 and wanted to know why the mod works only for images in posts (using IMG BBC) but not for attached images?  I expected it to work with them like it does with SMF 1.1.x but it doesn't

I can't find admin settings anywhere, is there something I'm missing?  :o
Title: Re: Highslide Gallery script
Post by: hartiberlin on February 07, 2010, 12:25:07 PM
Hi All,
I am using SMF 2.0RC2 and the latest PortaMX portal.

I want to have a HighSlide gallery shown
like this:

http://www.highslide.com/examples/gallery-horizontal-strip.html

when I have posted for instance in a topic
10 pictures as attachments to a topic.

Then this gallery should show up,
when I click on one attached picture:

http://www.highslide.com/examples/gallery-horizontal-strip.html

and then the 10 pictures should be visible like in this
Highslide gallery.

How could I get this to work ?

Could I just integrate the Highslide Javascript for this gallery into a HTML tag
and also the CSS or how could I integrate this gallery into the forum ?

Or would it be easier to use the Single Pages from PortaMX to integrate this
gallery into a HTML Single page via PortaMX so that I can easier integrate the
CSS and Javascript for this ?

Please let me know your ideas about it.

I don´t want to add the AEVA gallery MOD, cause I think the
pictures are not displayed so nicely as HighSlide can do it...

Many thanks.

Regards, Stefan.

Title: Re: Highslide Image Viewer
Post by: curlin on February 08, 2010, 09:21:27 PM
   Get this error when viewing in IE

Message: Invalid argument.
Line: 1
Char: 1
Code: 0
URI: hxxp://www.xxx.co.cc/Themes/default/Highslide/highslide.js
Title: Re: Highslide Image Viewer
Post by: Stigmartyr on February 08, 2010, 10:33:58 PM
Quote from: Stigmartyr on February 03, 2010, 11:02:03 PM
Hello,
I am using SMF2 RC2 and wanted to know why the mod works only for images in posts (using IMG BBC) but not for attached images?  I expected it to work with them like it does with SMF 1.1.x but it doesn't

I can't find admin settings anywhere, is there something I'm missing?  :o


*bump*
Title: Re: Highslide Image Viewer
Post by: smldmr on February 14, 2010, 07:29:51 PM
@hartiberlin

i did it :D

I don't know, if it's allright to post the way here. you can PM me. I'm from Germany.
Title: Re: Highslide Image Viewer
Post by: godseye on February 15, 2010, 05:10:58 PM
Is there an easy way to prevent highsliding quotes with this mod in 1.11?
Title: Re: Highslide Image Viewer
Post by: nwobhm on March 01, 2010, 06:07:47 AM
Quote from: curlin on February 08, 2010, 09:21:27 PM
   Get this error when viewing in IE

Message: Invalid argument.
Line: 1
Char: 1
Code: 0
URI: hxxp://www.xxx.co.cc/Themes/default/Highslide/highslide.js
I have similar error, but with highslide.finnish.js

Message: 'hs' is undefined
Line: 2
Char: 1
Code: 0
URI: http://www.******i.net/Themes/default/Highslide/highslide.finnish.js


Message: 'hs' is undefined
Line: 17
Char: 3
Code: 0
URI: http://www.******i.net/index.php?board=1.0[/code
Title: Re: Highslide Image Viewer
Post by: Eddy Matthews on March 09, 2010, 12:39:44 PM
Will this mod be updated for SMF 2.0 RC3?

It doesn't appear to work at the moment :(

Regards
Eddy
Title: Re: Highslide Image Viewer
Post by: Cheewy on March 10, 2010, 07:40:47 PM
is there possible to set that only bigger images (images that are bigger than allowed size on forum) have a frame and option to 'view full size' image..? I mean this: (http://i40.tinypic.com/dmctas.gif)
Title: Re: Highslide Image Viewer
Post by: kerbob on March 11, 2010, 02:22:29 AM
NEED this for RC3.  Does anyone know if this is being worked on and what the ETA is?  Many thanks for this wonderful mod.
Title: Re: Highslide Image Viewer
Post by: Nao 尚 on March 11, 2010, 06:37:26 AM
Could you use the opportunity to make it compatible with Aeva Media 1.1, too?
I've upgraded my Highslide version to the latest, and apparently now they're conflicting. :-\
Willing to discuss any changes I could make to AeMe to help compatibility, too.

(And yes, I tried using a full HS 4.0.6 (7?) instead, and it didn't work so I had to rely on the latest version.)
Title: Re: Highslide Image Viewer
Post by: okae on March 11, 2010, 07:37:12 AM
im waiting for 2.0rc3 too.
Title: Re: Highslide Image Viewer
Post by: Nimnix on March 11, 2010, 07:37:41 AM
Been looking for this, thanks :)
Title: Re: Highslide Image Viewer
Post by: digger on March 15, 2010, 12:45:17 AM
Quote from: Nao on March 11, 2010, 06:37:26 AM
Could you use the opportunity to make it compatible with Aeva Media 1.1, too?
I've upgraded my Highslide version to the latest, and apparently now they're conflicting. :-\
Willing to discuss any changes I could make to AeMe to help compatibility, too.

(And yes, I tried using a full HS 4.0.6 (7?) instead, and it didn't work so I had to rely on the latest version.)

I will take a look at Aeva Media 1.1 and update mod for the latest version of Highslide JS.
Title: Re: Highslide Image Viewer
Post by: kerbob on March 15, 2010, 03:05:18 AM
WoooT!  Thanks!
Title: Re: Highslide Image Viewer
Post by: ~DS~ on March 15, 2010, 03:30:43 AM
Doesn't AeMe already support Highslide in the newest version?
Title: Re: Highslide Image Viewer
Post by: MultiformeIngegno on March 15, 2010, 04:14:00 AM
of course but the 2 mods conflict..
Title: Re: Highslide Image Viewer
Post by: aw06 on March 21, 2010, 01:51:48 PM
when will this be updated to rc3 ? or can the current one be emulated on rc3 ?
Title: Re: Highslide Image Viewer
Post by: Jesus Friends on March 21, 2010, 04:32:50 PM
Quote from: aw06 on March 21, 2010, 01:51:48 PM
when will this be updated to rc3 ? or can the current one be emulated on rc3 ?

I tried it with the emulation and succeed :)
Title: Re: Highslide Image Viewer
Post by: aw06 on March 21, 2010, 05:02:05 PM
Quote from: Jesus Friends on March 21, 2010, 04:32:50 PM
Quote from: aw06 on March 21, 2010, 01:51:48 PM
when will this be updated to rc3 ? or can the current one be emulated on rc3 ?

I tried it with the emulation and succeed :)

Wonderful  8)
Title: Re: Highslide Image Viewer
Post by: Eddy Matthews on March 21, 2010, 05:09:41 PM
Emulation?

Can someone please explain how to get this mod to work with RC3? I tried installing it and it won't work for me :(

Regards
Eddy
Title: Re: Highslide Image Viewer
Post by: Spuds on March 22, 2010, 11:35:54 AM
I noticed on RC3 (probably on RC2 as well) that the mod wants to run when you go to modify a message. 

The problem is that if the user creates a message, obviously with with an img tag, and saves it, all is fine.  However when they go to modify that message what they will get in the WYSIWYG (or non) is all of the extra highslide html that the mod creates for the img tags. 

So that simple img tag gets wrapped in an url tag plus each img will also have the post subject appended (left over from the div class=highslide-heading) .... when they then save the message that url and post subject are now part of the message instead of being quietly added in by the mod, in essence the message is permanently modified or corrupted, depending on your POV.

I did a quick update to the highslide image function in subs.php to see if it was being called from post, and if so to just return the message and not try to highslide the img tags in the post editor .. probably not the best way but needed something, so right after the global statement I added this

// If they are in the post view just return
if ($context['current_action'] == 'post')
return $message;


Title: Re: Highslide Image Viewer
Post by: kosaic on March 23, 2010, 06:57:05 PM
So does this work on 2.0 RC3 ?
Title: Re: Highslide Image Viewer
Post by: kosaic on March 23, 2010, 07:36:25 PM
ok, I just changed the install xml file to include 2.0 RC3, installed fine, but when I click on an image, I get full screen in IE (like a link to the image)

So, guess it does not work in RC3 :(
Title: Re: Highslide Image Viewer
Post by: Spuds on March 23, 2010, 08:04:40 PM
Are you using the default theme?
Title: Re: Highslide Image Viewer
Post by: kosaic on March 23, 2010, 08:26:40 PM
Using "Thing" , but based largely on the default theme.
Title: Re: Highslide Image Viewer
Post by: Spuds on March 23, 2010, 08:57:23 PM
You will need to update your Thing to get the mod to work ....

The easiest way, although not always successful, is to use the package manager when you install the mod.  For you uninstall the mod, and then go and reinstall it, look at the bottom of the install actions screen where it says "Install in Other Themes" .. expand that section and select your theme and see if the package manager can successfully install it in that theme, if it can you are good to go.  If not then you will need to manually update your themes index.template.php file and possibly its Display.template.php depending on how custom a theme it is. 

So first try the package manager and see if that works.
Title: Re: Highslide Image Viewer
Post by: kosaic on March 23, 2010, 09:05:48 PM
Eureka !

I'm such an idiot .... "Install in Other Themes" and chose my theme ... all is fine and it works like a charm in 2.0 RC3.

Just a slight edit in the xml files to include 2.0 RC3 , and all is good.

A tad more testing to do, but my quick test says it works just fine :)

THANKS !
K
Title: Re: Highslide Image Viewer
Post by: kosaic on March 23, 2010, 09:40:18 PM
Ok, tested multiple images and posts ... works perfectly on 2.0 RC3 (albeit it is slow in IE8, Firefox is perfect as is Chrome)

The only thing I noticed is that if a post already exists prior to install, with "oversized" pictures in it, they end up being fullsize and stretch themselves beyond the width of the forum itself. (if that makes sense)

I modify the posts as admin, by cutting the entire post, save it with only a "." in it, then modify it again and paste the original contents back in and highslide apply's itself and all is fine.

Luckily I only had one post out of 100+ that had images in it that this affected.

Cheers,
K
Title: Re: Highslide Image Viewer
Post by: Nao 尚 on March 24, 2010, 03:39:01 AM
Quote from: kosaic on March 23, 2010, 09:05:48 PM
I'm such an idiot .... "Install in Other Themes" and chose my theme ... all is fine and it works like a charm in 2.0 RC3.
(As long as you're not using Aeva Media, of course.)
Title: Re: Highslide Image Viewer
Post by: kosaic on March 24, 2010, 09:28:40 AM
Snap, I never even thought to check that.

Your right, Aeva is now broken ... Initial highslide functionality works on first click, but when you zoom, just goes full window in IE.

Any workaround, or do I have to uninstall the Highslide mod for Aeva to be ok again ?
Title: Re: Highslide Image Viewer
Post by: Nao 尚 on March 24, 2010, 01:48:56 PM
I don't know. Try replacing this mod's Highslide JS file with the same as in Aeva Media's aeva subfolder. Might work, dunno.
Title: Re: Highslide Image Viewer
Post by: kosaic on March 24, 2010, 02:53:55 PM
so if I remove the highslide.js file (from the new Highslide folder), Aeva all works fine again, but the new highslide mod fails of course.

I copied the highslide.js from Aeva, and put it in place of the new highslide file ... Aeva is still broken, but the highslidemod works fine as if nothing changed.

So, answer is no :(
Title: Re: Highslide Image Viewer
Post by: Nao 尚 on March 24, 2010, 05:04:59 PM
You must copy the highslide-2.js file and rename it to highslide.js on your Highslide mod. Just to be sure you're doing it correctly.
highslide.js is still included in the AeMe package because of plans to allow people to downgrade Highslide in the future. Not implemented yet, though.
Title: Re: Highslide Image Viewer
Post by: kosaic on March 24, 2010, 10:55:07 PM
Just tried highslide-2.js (renamed to highslide.js)

Does not work. Aeva is still not working properly when I do this.
Title: Re: Highslide Image Viewer
Post by: Nao 尚 on March 25, 2010, 03:48:05 AM
Let me be clear on the way I would do it (bear in mind that I never tried Highslide Image Viewer myself):

- Download highslide-2.js from Themes\default\aeva
- Rename it to highslide.js
- Upload it to replace your Highslide Image Viewer's highslide.js copy (NOT in default\aeva, of course.)
Title: Re: Highslide Image Viewer
Post by: kosaic on March 25, 2010, 07:27:49 AM
Exactly what I did, and Aeva still function's improperly.

After this change, when I click on an image in Aeva, it "highslides" , but when I click on Zoom, it just jumps to full screen in IE8.

Also from the album view, pictures jump to full screen with no highslide at all.
Title: Re: Highslide Image Viewer
Post by: Nao 尚 on March 25, 2010, 04:42:48 PM
Hmm well, some other incompatibility then I guess.
Title: Re: Highslide Image Viewer
Post by: tycms on April 06, 2010, 04:56:56 AM
I would like to customize this mod so that Highslide will only grab images within certain bbcode tags, [hs][/hs] for example. Is this possible?
Title: Re: Highslide Image Viewer
Post by: nikan on April 07, 2010, 07:45:53 PM
Quote from: budun on April 06, 2010, 04:56:56 AM
I would like to customize this mod so that Highslide will only grab images within certain bbcode tags, [hs][/hs] for example. Is this possible?

Updated to add the button and text

Copy the attached image to Themes/default/images/bbc

Open Themes/default/languages/Modifications.english.php
Find:
?>
Add before:
$txt['hs'] = 'Highslide Image';

Open Sources/Subs-Editor.php
Find:
array(
'image' => 'img',
'code' => 'img',
'before' => '[img]',
'after' => '[/img]',
'description' => $txt['image']
),

Add before:
array(
'image' => 'hs',
'code' => 'hs',
'before' => '[hs width=300 height=300]',
'after' => '[/hs]',
'description' => $txt['hs']
),


Open Sources/Subs.php
Find:
array(
'tag' => 'img',
'type' => 'unparsed_content',
'parameters' => array(
'alt' => array('optional' => true),
'width' => array('optional' => true, 'value' => ' width="$1"', 'match' => '(\d+)'),
'height' => array('optional' => true, 'value' => ' height="$1"', 'match' => '(\d+)'),
),
'content' => '<img src="$1" alt="{alt}"{width}{height} class="bbc_img"/>',
'validate' => create_function('&$tag, &$data, $disabled', '
$data = strtr($data, array(\'<br />\' => \'\'));
if (strpos($data, \'http://\') !== 0 && strpos($data, \'https://\') !== 0)
$data = \'http://\' . $data;
'),
'disabled_content' => '($1)',
),

Add before:
array(
'tag' => 'hs',
'type' => 'unparsed_content',
'parameters' => array(
'width' => array('optional' => true, 'value' => ' width="$1"', 'match' => '(\d+)'),
'height' => array('optional' => true, 'value' => ' height="$1"', 'match' => '(\d+)'),
),
'content' => '<a href="$1" class="highslide" onclick="return hs.expand(this)"><img src="$1" alt=""{width}{height} /></a>',
'validate' => create_function('&$tag, &$data, $disabled', '
$data = strtr($data, array(\'<br />\' => \'\'));
if (strpos($data, \'http://\') !== 0 && strpos($data, \'https://\') !== 0)
$data = \'http://\' . $data;
'),
'disabled_content' => '($1)',
),


It will still affect img tagged images when they are resized to smaller size and you must set max width and height of posted pictures to (0 = disable).
Or just use my hack for disabling the image toggle (http://www.simplemachines.org/community/index.php?topic=373559.msg2573096#msg2573096) and don't use this.


Use the new button as the Insert Image button.
Only images that inserted with Highslide Image button will affected by the highslide effect.

[hs width=300][/hs]

or

[hs height=300][/hs]

to keep proportion.
The value 300 of width and height is for reference, change it with a value you like.
Title: Re: Highslide Image Viewer
Post by: aw06 on April 07, 2010, 08:00:34 PM
Highslide is very slow in IE. anybody else have this problem ?
Title: Re: Highslide Image Viewer
Post by: nikan on April 07, 2010, 08:05:11 PM
Works fine here. Maybe something wrong with your IE
Title: Re: Highslide Image Viewer
Post by: aw06 on April 08, 2010, 12:10:39 AM
Quote from: nikan on April 07, 2010, 08:05:11 PM
Works fine here. Maybe something wrong with your IE

using IE8 on Win7
Title: Re: Highslide Image Viewer
Post by: nikan on April 08, 2010, 03:13:35 AM
Win7 and WinXP with IE8 works fine
Title: Re: Highslide Image Viewer
Post by: nikan on April 08, 2010, 09:38:30 AM
Actually i have created a new mod out of this tag integration (thanks budun for the idea)
The Highslide BBCode and Image Viewer is a new mod and you have to uninstall Highslide Image Viewer mod.
Title: Re: Highslide Image Viewer
Post by: tycms on April 09, 2010, 05:51:18 AM
Quote from: nikan on April 07, 2010, 07:45:53 PM
Use the new button as the Insert Image button.
Only images that inserted with Highslide Image button will affected by the highslide effect.

[hs width=300][/hs]

or

[hs height=300][/hs]

to keep proportion.
The value 300 of width and height is for reference, change it with a value you like.

Quote from: nikan on April 08, 2010, 09:38:30 AM
Actually i have created a new mod out of this tag integration (thanks budun for the idea)
The Highslide BBCode and Image Viewer is a new mod and you have to uninstall Highslide Image Viewer mod.

Thank you very much nikan.  :) This is exactly what I was thinking of. I saw the previous version (the one still affecting img tagged images) and I was planning to work on it and give feedback. I was planning to use this for thumbnails and leaving SMF 2.0 RC3's image resizer to handle other pictures. Now that is solved. I still didn't have time to test it though. And yes, this is a new mod: Highslide BBCode and Image Viewer. :) I guess we need a new topic for this.

If that's ok for you, I will try to customize it a bit more. Perhaps adding the option to include captions (like the examples on http://highslide.com/) such as:

[hs caption="image description" width=300][/hs]

Perhaps previous & next functionality...

First I have to test and see what's going on. Thank you again. :)
Title: Re: Highslide Image Viewer
Post by: ProfDrDenis on April 09, 2010, 07:09:06 AM
one question..

we are talking from highslide and Aeva. Aeva works very nice with a youtube video. Is this not going with a pic like highslide?

Let Aeva do the job with the pic and we delete highslide Or?
Title: Re: Highslide Image Viewer
Post by: nikan on April 09, 2010, 08:25:22 AM
QuoteAnd yes, this is a new mod: Highslide BBCode and Image Viewer. :) I guess we need a new topic for this.
I'm waiting for approval  :o

QuoteIf that's ok for you, I will try to customize it a bit more. Perhaps adding the option to include captions (like the examples on http://highslide.com/) such as:
[hs caption="image description" width=300][/hs]
Perhaps previous & next functionality...
Be my guest  ;)

Title: Re: Highslide Image Viewer
Post by: tycms on April 09, 2010, 09:55:40 AM
Nikan,

I tested it on SMF 2.0 RC3. It works fine and does not interfere with the built-in image resizer of SMF. This is great.

One thing about the modifications for SMF 2.0 RC3:

Sources/Subs.php


'content' => '<img src="$1" alt="{alt}"{width}{height} class="bbc_img"/>',


This should be


'content' => '<img src="$1" alt="{alt}"{width}{height} class="bbc_img resized" />',


for SMF 2.0 RC3.


Quote from: ProfDrDenis on April 09, 2010, 07:09:06 AM
one question..

we are talking from highslide and Aeva. Aeva works very nice with a youtube video. Is this not going with a pic like highslide?

Let Aeva do the job with the pic and we delete highslide Or?

So you are talking about Aeva auto-embedding image links similar to Youtube links? I think this wouldn't be convenient at all. Think of it like this: Maybe we would be avoiding a few tags, but we lose control over images. Maybe someone will prefer to post the link only, not the image itself. Also, Aeva auto-embedding image links feature would grab every image link preventing indivual preferences about the visible dimensions of the image. There will be one global setting set by the administrator and that's it. On the other hand, using [img width=x height=y] or [hs width=x height=y], it is possible to set these parameters manually.
Title: Re: Highslide Image Viewer
Post by: nikan on April 09, 2010, 02:11:15 PM
Yes, it should be

'content' => '<img src="$1" alt="{alt}"{width}{height} class="bbc_img resized" />',

unless you don't like the image toggle function and you want it disabled.
Title: Re: Highslide Image Viewer
Post by: ProfDrDenis on April 09, 2010, 03:04:19 PM
Quote from: budun on April 09, 2010, 09:55:40 AM
So you are talking about Aeva auto-embedding image links similar to Youtube links? I think this wouldn't be convenient at all. Think of it like this: Maybe we would be avoiding a few tags, but we lose control over images. Maybe someone will prefer to post the link only, not the image itself. Also, Aeva auto-embedding image links feature would grab every image link preventing indivual preferences about the visible dimensions of the image. There will be one global setting set by the administrator and that's it. On the other hand, using [img width=x height=y] or [hs width=x height=y], it is possible to set these parameters manually.

I am not a expert, but I think its going. For me its a little bit stupid to use two different highslide scripts.. on one side you have a super nice Aeva but it dont show a full highslide pic :-( and the other side highslide alone..
Title: Re: Highslide Image Viewer
Post by: nikan on April 10, 2010, 01:13:05 AM
Quotesuper nice Aeva
OK, you are fun of it and love it. I like it too.

Nobody says to use two different highslide scripts, if you don't need media and you only want pictures highslide is a very good choice.
Title: Re: Highslide Image Viewer
Post by: tycms on April 10, 2010, 01:04:23 PM
Is it possible to use Highslide Image Viewer without a pop-up, just expanding the image similar to nCode script or SMF 2.0 RC3 built-in resizer? If possible, I would like to use it as a multi-purpose tool: Enlarging thumbnails inside [hs][/hs] in the form of pop-ups, and expanding images inside "img" codes without a pop-up.
Title: Re: Highslide Image Viewer
Post by: nikan on April 10, 2010, 03:29:44 PM
Highslide Image Viewer expands in pop-up all images with [img] tag.
The only images that affected by my mod Highslide BBCode and Image Viewer are the highslide images with [hs] tag and all other images with [img] tag are expanding with the image toggle of SMF 2.0 RC3 or with nCode on SMF 1.1.11
Title: Re: Highslide Image Viewer
Post by: ProfDrDenis on April 10, 2010, 04:21:12 PM
Quote from: nikan on April 10, 2010, 01:13:05 AM
Nobody says to use two different highslide scripts, if you don't need media and you only want pictures highslide is a very good choice.

please look realistic. Aeva is one part to show - example - the pics. Highslide is an other part to show the user pics in the post. Or you think this is going with Aeva? But for this comfort you use two different highslide scripts.
Title: Re: Highslide Image Viewer
Post by: tycms on April 10, 2010, 04:33:22 PM
Quote from: nikan on April 10, 2010, 03:29:44 PM
Highslide Image Viewer expands in pop-up all images with [img] tag.
The only images that affected by my mod Highslide BBCode and Image Viewer are the highslide images with [hs] tag and all other images with [img] tag are expanding with the image toggle of SMF 2.0 RC3 or with nCode on SMF 1.1.11
Yes, I know Nikan. That's exactly why I suggested the [hs] tag. I wanted separate controls over thumbnails inside [hs] codes and regular images inside "img" codes.

I am perfectly fine with images inside "img" codes to be expanded by the image toggle of SMF 2.0 RC3. But the problem is, SMF 2.0 RC3 built-in resizer cannot handle imageshack and some other image hosts when maximum width is set globally from the admin panel. SMF cannot retrieve the image size and dimensions and leaves it as is. I want the exact functionality of SMF 2.0 RC3 image toggle which works for images at any host. I guess nCode mod can be arranged to do this without interfering with your new Highslide BBCode and Image Viewer mod. I thought maybe Highslide script could also offer similar functionality.  ;)

Quote from: ProfDrDenis on April 10, 2010, 04:21:12 PM
please look realistic. Aeva is one part to show - example - the pics. Highslide is an other part to show the user pics in the post. Or you think this is going with Aeva? But for this comfort you use two different highslide scripts.

Dear ProfDrDenis, I don't get what you mean. Not everybody needs Aeva. For example I am not fond of it. I don't need its functionality, I don't want all those database entries it creates. I am sure there are people like me. Even if you have Aeva mod installed, you can arrange the Highslide mod so that you won't have two different highslide scripts. Edit the Highslide mod so that it points to the highslide script that is installed by Aeva. That's it.
Title: Re: Highslide Image Viewer
Post by: nikan on April 10, 2010, 05:20:28 PM
QuoteBut the problem is, SMF 2.0 RC3 built-in resizer cannot handle imageshack and some other image hosts when maximum width is set globally from the admin panel. SMF cannot retrieve the image size and dimensions and leaves it as is.

I just checkit and it hadles images from imageshack, as it should, because the images are downloaded at full size and then shows them at the size you set from admin panel.
Title: Re: Highslide Image Viewer
Post by: tycms on April 11, 2010, 09:58:06 AM
Quote from: nikan on April 10, 2010, 05:20:28 PM
QuoteBut the problem is, SMF 2.0 RC3 built-in resizer cannot handle imageshack and some other image hosts when maximum width is set globally from the admin panel. SMF cannot retrieve the image size and dimensions and leaves it as is.

I just checkit and it hadles images from imageshack, as it should, because the images are downloaded at full size and then shows them at the size you set from admin panel.

I checked it again on my test forum, and it doesn't work. The same image on imagehost.org is resized, but the one on imageshack.us is not. I have read in topics here in SMF community that this is a known problem with some of the imageshack and some other image host servers. So, SMF 2.0 resizer does not work with some servers because the image information cannot be retrieved. But, of course, it is always possible to resize any image (including the ones on any imageshack server) by manually setting the width parameter in-between the img tags.

You might want to check the following topics about this:
Problem with image resize (http://www.simplemachines.org/community/index.php?topic=321977.0)
Image Resizer in SMF 2.0 RC3 (http://www.simplemachines.org/community/index.php?topic=374492.0)

Anyway, this is not the right topic for it. I just wanted to know if it is possible to use Highslide script without a pop-up.

By the way Nikan, please post the link to your new mod's topic here as soon as it is approved. Thanks.  :)
Title: Re: Highslide Image Viewer
Post by: falken on April 19, 2010, 10:25:24 AM
How can I install this mod in RC3??

I read about emulation, where or how can I do it?

Thanks!
Title: Re: Highslide Image Viewer
Post by: tycms on April 19, 2010, 11:48:54 AM
Hello Falken,

Check this link:
http://www.simplemachines.org/community/index.php?topic=49410.msg2584095#msg2584095
Title: Re: Highslide Image Viewer
Post by: F34R on April 21, 2010, 12:52:29 PM
Ok, I am on 1.1.11 and installed the package just fine. 
After that, all images disappeared, but the codes are still there when you edit a post.

So, I disabled all custom themes, and reverted everyone back to default core, still no go.  Even after I uninstall the package, and delete it, now I can't get any images in posts to display.  Any help would be appreciated.

I've restored to a version prior to the mod installation.

EDIT:

All fixed.  I disabled the server setting for compression, and all seems to be working fine.
Title: Re: Highslide Image Viewer
Post by: masbuskado on April 26, 2010, 06:46:04 PM
Need help with this mod!!!

Install it everything was fine... even test it with bigger image... 2 hours later... the zoom and slideshow stop working, don't know what is causing it.

am running 1.1.11 with the follow mod on default: core
Adk Portal
Images On Board
Language Drop
Highslide Image Viewer
Ad Managment
AJAX Instant Quick Reply
Country Flags
SMF Multi Quote
Skype Integration
SMF Bay LITE
SMF Gallery Lite
Stop Spammer
Twitter and Facebook Publisher mod
Ultimate Profile
Aeva Media
Title: Re: Highslide Image Viewer
Post by: masbuskado on April 28, 2010, 10:51:53 AM
any one ???
previous post...
Title: Re: Highslide Image Viewer
Post by: tycms on April 29, 2010, 12:24:47 AM
Masbuskado, maybe someone can help if you could give more details. Did you install a new mod just before this happened? Or did you change the settings of Aeva Media mod?
Title: Re: Highslide Image Viewer
Post by: masbuskado on April 29, 2010, 10:41:21 PM
Quote from: budun on April 29, 2010, 12:24:47 AM
Masbuskado, maybe someone can help if you could give more details. Did you install a new mod just before this happened? Or did you change the settings of Aeva Media mod?

I install the mod in the same order as above... haven't change any setting in the Aeva Mod yet... am planning to unistall Aevea because I don't really know if I need it...

So basically I tell you what happen and I don't know why!
It resize the image but I can get the slider...  :-[
Title: Re: Highslide Image Viewer
Post by: tycms on April 30, 2010, 08:32:30 AM
Quote from: masbuskado on April 29, 2010, 10:41:21 PM

I install the mod in the same order as above... haven't change any setting in the Aeva Mod yet... am planning to unistall Aevea because I don't really know if I need it...

So basically I tell you what happen and I don't know why!
It resize the image but I can get the slider...  :-[

Are you sure it is the Highslide Image Viewer that resizes the image? Which type of cursor do you get on the resized image? Hand cursor, or the zoom cursor?

If you cannot access the viewer, the first thing I can think of is that something is messed up in the index.template.php file of your theme. It is where highslide.js is defined. Could you attach the index.template.php file of your theme and answer the question about the cursor?
Title: Re: Highslide Image Viewer
Post by: masbuskado on May 03, 2010, 06:39:56 PM
Quote from: budun on April 30, 2010, 08:32:30 AM
Quote from: masbuskado on April 29, 2010, 10:41:21 PM

I install the mod in the same order as above... haven't change any setting in the Aeva Mod yet... am planning to unistall Aevea because I don't really know if I need it...

So basically I tell you what happen and I don't know why!
It resize the image but I can get the slider...  :-[

Are you sure it is the Highslide Image Viewer that resizes the image? Which type of cursor do you get on the resized image? Hand cursor, or the zoom cursor?

If you cannot access the viewer, the first thing I can think of is that something is messed up in the index.template.php file of your theme. It is where highslide.js is defined. Could you attach the index.template.php file of your theme and answer the question about the cursor?

When I installed I was getting the zoom cursor and the slide... but now am just getting regular cursor...
Title: Re: Highslide Image Viewer
Post by: tycms on May 04, 2010, 03:57:52 AM
If you don't see the zoom cursor, it indicates that highslide.js is not active.

I looked at the index.template.php you uploaded. I don't know how this happened, but it doesn't have the part which should have been added by the Highslide Image Viewer mod. Obviously the mod doesn't work without that part.

Are you sure that Highslide Image Viewer mod is installed? Can you check the packages in your Admin Panel? If you see it installed, could you try uninstalling it? Normally it should give errors when you try to uninstall. Please do not continue to uninstall, just check if you get the error message.

Could you also upload $sourcedir/Subs.php, $sourcedir/Display.php and $themedir/Display.template.php files?
Title: Re: Highslide Image Viewer
Post by: luismanson on May 05, 2010, 03:26:18 PM
Quoteerror:
Error: The stylesheet http://www.foromilestone.com.ar.nyud.net/Themes/default/hs4smf/highslide.css was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://www.foromilestone.com.ar/foro-vip/propuestas-de-mejora-para-el-foro/new/?topicseen#new
Line: 0

any ideas on this?
www.foromilestone.com.ar.nyud.net/Themes/default/hs4smf/highslide.css
Title: Re: Highslide Image Viewer
Post by: digger on May 05, 2010, 04:13:15 PM
Quote from: luismanson on May 05, 2010, 03:26:18 PM
Quoteerror:
Error: The stylesheet http://www.foromilestone.com.ar.nyud.net/Themes/default/hs4smf/highslide.css was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://www.foromilestone.com.ar/foro-vip/propuestas-de-mejora-para-el-foro/new/?topicseen#new
Line: 0

any ideas on this?
www.foromilestone.com.ar.nyud.net/Themes/default/hs4smf/highslide.css

It's not Highslide Image Viewer mod. Use support topics for mods you are using.
Title: Re: Highslide Image Viewer
Post by: luismanson on May 05, 2010, 05:20:23 PM
oops, I'm really sorry
Title: Re: Highslide Image Viewer
Post by: btechnix on May 08, 2010, 05:28:00 AM
Quote from: falken on April 19, 2010, 10:25:24 AM
How can I install this mod in RC3??

I read about emulation, where or how can I do it?

Thanks!
I just test this with simple adjustement, it sembly run perfectly in smf 2.0 RC3

To process adjustements do:
1- unzip Highslide_Viewer_1.6.zip
2- open package-info.xml with an simple text editor (notepad++ is pefect for that)
3- modifications
Search:
<install for="1.1 - 1.1.99, 2.0 RC2">
replace with:
<install for="1.1 - 1.1.99, 2.0 RC2, 2.0 RC3">
Search:
  <uninstall for="1.1 - 1.1.99, 2.0 RC2">
  replace with:
  <uninstall for="1.1 - 1.1.99, 2.0 RC2, 2.0 RC3">
4-save package-info.xml and replace it in in zip file
then install package.

You can also use the joined file already modified.



Title: Re: Highslide Image Viewer
Post by: Arantor on May 08, 2010, 06:58:50 AM
If you're using emulate... in both 1.1.x and 2.0 you don't even need to leave the admin panel.

For 1.1.x you can do it through modifying the URL or Version Emulate Dropdown (http://custom.simplemachines.org/mods/index.php?mod=2113), for 2.0, Admin > Packages > Browse Packages > Advanced > enter the version of SMF you want to emulate.
Title: Re: Highslide Image Viewer
Post by: nikan on May 14, 2010, 04:45:17 AM
Quote from: budun on April 11, 2010, 09:58:06 AM
Quote
By the way Nikan, please post the link to your new mod's topic here as soon as it is approved. Thanks.  :)

This is the link to the support topic (http://www.simplemachines.org/community/index.php?topic=381402.0) of my Highslide BBCode and Image Viewer mod.
Budun you are welcome to modify it as you like.
Title: Re: Highslide Image Viewer
Post by: vinum on June 10, 2010, 05:55:48 PM
I'm a kind of noob, but i have to ask. how do i use Highslide BBCode and Image Viewer
Title: Re: Highslide Image Viewer
Post by: digger on June 11, 2010, 07:08:21 AM
Quote from: vinum on June 10, 2010, 05:55:48 PM
I'm a kind of noob, but i have to ask. how do i use Highslide BBCode and Image Viewer

You can ask about it in the Highslide BBCode and Image Viewer support topic.
Title: Re: Highslide Image Viewer
Post by: Sapinho® on June 27, 2010, 03:42:41 AM
I have some questions and hopefully you can help me, using this mod along with aeva, it works well, for example:

aeva gallery in this link if you work with the HS "index.php?action=media;sa=media;in=38;preview"

But in the same gallery, this link does not work with HS "index.php?action=media;sa=media;in=38" opens a new window.

Without the mod Highslide Image Viewer both links work well using  Highslide

I think the code that is added to source subs str_replace (array ('; preview', '; thumb') support for urls ending with "preview" for example "media, in = 38; preview" but with the urls of the images that end with "preview", but with that end in "media, in = 38" does not work

sorry my bad english, i hope hope I have explained well
Title: Re: Highslide Image Viewer
Post by: rocknroller on June 29, 2010, 04:15:46 PM
Thank you, great mod.

Croatian Translate.
Title: Re: Highslide Image Viewer
Post by: TechPrince on November 03, 2010, 11:48:51 PM
Updated for RC4
Title: Re: Highslide Image Viewer
Post by: bozo13 on November 22, 2010, 06:30:45 AM
Hi everyone,

We are using SMF 1.1.12.
Since we have some cyber attack to our forum, we have problems with "Highslide Image Viewer". The forum act, like there is no Highslide Image Viewer mod installed, but there should be.  We try almost everything. We un-install all mods except "Highslide Image Viewer",  reinstall whole forum, We manually install mod "Highslide Image Viewer" by the book (change 4 files, copy dir), but still nothing happened. Seems like "Highslide Image Viewer" is not installed.
There is NO error in logs. We also upgrade our CPanel from version (WHM 11.28.45 CENTOS 5.5 x86_64 standard on he01) to

Also pics uploaded before attack work properly (if You click on picture, picture open in pop-up window) , but only new pictures, uploaded after attack act like there is no "Highslide Image Viewer" installed.

Any hint or help how can we repair that?

Theme. SMF Default Theme - Core

Installed mod:
Mod Name  Version
1.  Attachments Positioning  1.2
2.  Reason For Editing Mod  2.3.2
3.  Unread and Replies Tabs in Main Menu  2.0.1
4.  Remove SMF Logo  1.301
5.  Enhanced Profile Header  1.2.3
6.  Watermark.light  1.5
7.  AddThis Social Bookmarks  1.0
8.  YouTube BBCode  2.6
9.  Users Online Today Mod  1.4.0
10.  Ad Managment  2.3.6.1
11.  Pretty URLs  1.0
12.  RedoPackageAction  1.3
13.  nCode Image Resizer  1.3



BR Bozo
Title: Re: Highslide Image Viewer
Post by: digger on November 22, 2010, 01:42:29 PM
Quote from: bozo13 on November 22, 2010, 06:30:45 AM

Since we have some cyber attack to our forum, we have problems with "Highslide Image Viewer". The forum act, like there is no Highslide Image Viewer mod installed, but there should be.  We try almost everything. We un-install all mods except "Highslide Image Viewer",  reinstall whole forum, We manually install mod "Highslide Image Viewer" by the book (change 4 files, copy dir), but still nothing happened. Seems like "Highslide Image Viewer" is not installed.
There is NO error in logs.

Can I see your forum?
Title: Re: Highslide Image Viewer
Post by: bozo13 on November 22, 2010, 02:40:08 PM
Forum adress is Paluba.info (http://www.paluba.info/smf/index.php)

But i think, that You would like to see in details. If so, pls contact me in PM, to give u details.

Thank You.

BR Bozo
Title: Re: Highslide Image Viewer
Post by: bozo13 on November 24, 2010, 09:51:10 AM
Any idea, guys?
Title: Re: Highslide Image Viewer
Post by: bozo13 on January 12, 2011, 07:07:41 AM
Problem was on "hosting".

Our hosting "forgot" to install GD modul while upgrading cPanel...


BRB
Title: Re: Highslide Image Viewer
Post by: dimdom on January 19, 2011, 03:38:48 AM
OK. I found the solution for the issues between this mod and Aeva's HS.

Find in your index. template.php the Highslide code and replace it with it:

// * Highslide mod
echo '<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/aeva/highslide-2.js"></script>
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/aeva/hs.css" />
<script type="text/javascript">
    hs.graphicsDir = "', $settings['default_theme_url'], '/aeva/hs/";
    hs.outlineType = "rounded-white";
    hs.captionEval = "this.thumb.alt";
    hs.transitions = ["expand", "crossfade"];
    hs.align = "center";
    hs.creditsText = "";
    hs.creditsHref = "";
    hs.creditsTitle = "";
    if (hs.addSlideshow) hs.addSlideshow({
        interval: 5000,
        repeat: false,
        useControls: false,
fixedControls: true,
        overlayOptions: {
        opacity: 1,
        position: "top right",
        hideOnMouseOut: false
}
    });
  </script>';
// Highslide mod *


Be carefule to set the right path to aeva directory (I use Aeva media 2.10). And to set  useControls to false.

This way, it loads the same js file with Aeva and there is no major confict between the two mods.

;)
Title: Re: Highslide Image Viewer
Post by: Vincent Volmer on March 10, 2011, 05:44:06 AM
Hello,

Maybe it isn't necessary for SMF2.0RC5 but is this mod compatible with SMF2.0RC5?

Thanks,

Vincent
Title: Re: Highslide Image Viewer
Post by: maciek1994 on March 14, 2011, 06:49:59 AM
Why doesn't the mod work? I've installed it, changed settings in ACP and it doesn't work at all!
While the instalation there weren't any problems etc, everything was fine.

I cannot find these parts in Sources/Display.php
$replace .= '
<a href="'. $attachment['href']. ';image" id="link_'. $attachment['id']. '" onclick="'. $attachment['thumbnail']['javascript'] .'"><img src="'. $attachment['thumbnail']['href']. '" alt="" id="thumb_'. $attachment['id']. '" border="0" /></a><br />';

and
  // thumbnail
                    $inlinedtext = '<a href="' . $attachment['href'] . ';image" id="link_' . $attachment['id'] . '" onclick="'. $attachment['thumbnail']['javascript']. '"><img src="'. $attachment['thumbnail']['href']. '" alt="" id="thumb_'. $attachment['id']. '" border="1" class="outsb" /></a>';


What's wrong?
Title: Re: Highslide Image Viewer
Post by: toma on March 14, 2011, 05:25:26 PM
Anyone running into problems with Highslide Image Viewer and  Chrome 10.0.648.133 beta version?
edit: it seems to do the same thing with 10.0.648.133 non beta as well.

If i clear the cache the image shows nicely and is scaled to the size of the window but when I close it end click it again it looks like the attached pic. Same goes for any other image viewed after the first successful one. The version of SMF is 1.1.13 and Highslide viewer is 1.6

the image in the sample can be viewed here: http://www.ilmailu.org/index.php?option=com_smf&Itemid=26&topic=3536.msg19070#msg19070

The mods installed are:

1.   Ad Managment    2.3 
2.   Aeva ~ Auto-Embed Video & Audio    7.0 
3.   Anti-Spam Verification Questions    1.02 
4.   Custom Profile Field Mod    3.16
5.   Custom Profile Field Mod    3.17
6.   Highslide Image Viewer    1.6
7.   Ignore user    1.4
8.   Inline Attachments    1.0.4.2
9.   Lots_o_Smileys    1.0
10.   Skype Name Mod    1.0
11.   SMFBlog    1.0   
12.   SSI Topics and Replies    1.4   
13.   Streaming 3    4.2.2b 
14.   Users Online Today Mod    1.4.0 Beta 2

Title: Re: Highslide Image Viewer
Post by: Biology Forums on April 29, 2011, 04:53:52 PM
How do I configure this so that if a guest is not allowed to view images, this mod becomes deactivated to the guest. But, as soon as the guest logs in, the mod becomes active to them. Current I have a mod installed so that if a guests clicks a thumbnail, a warning window pops up saying, you must log into to view image.

What should I do?
Title: Re: Highslide Image Viewer
Post by: alpheus on June 13, 2011, 05:56:11 PM
Hello digger. I installed this mod as manually. There is not a mistake but nothing change! My version is 1.1.13! It is working only with attachments images? Not working with images which are in the message area?
Title: Re: Highslide Image Viewer
Post by: Biology Forums on June 28, 2011, 01:08:18 AM
On linked images in posts, is there a way of disabling the URL link shown at the bottom of the image? I'm using 1.1.14.
Title: Re: Highslide Image Viewer
Post by: OMGPeace on December 04, 2011, 06:16:44 AM
For those that won't to use this with 2.0.1.   you just need to make 2 file changers .


download the 1.6 zip file  http://custom.simplemachines.org/mods/index.php?mod=1450  open it up and open this file package-info.xml

find this 
<install for="1.1 - 1.1.99, 2.0 RC2"">
replace with this
<install for="1.1 - 1.1.99, 2.0.1"">
find this
<uninstall for="1.1 - 1.1.99, 2.0 RC2"> 
replace with this
<uninstall for="1.1 - 1.1.99, 2.0.1"> 




<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<name>Highslide Image Viewer</name>
<id>digger:Highslide</id>
<type>modification</type>
<version>1.6</version>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<install for="1.1 - 1.1.99, 2.0.1">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<require-dir name="Highslide" destination="$themedir" />
<modification>install.xml</modification>
</install>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<uninstall for="1.1 - 1.1.99, 2.0 RC2">?>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<modification reverse="true">install.xml</modification>
<remove-dir name="$themedir/Highslide" />
</uninstall>
</package-info>



Then re-zip upload and install it, it will then say failed on this file Display.template.php

go to your  /Themes/default/Display.template.php edit


find this
<a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" onclick="', $attachment['thumbnail']['javascript'], '"><img src="', $attachment['thumbnail']['href'], '" alt="" id="thumb_', $attachment['id'], '" /></a><br />';


replace with this
<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">' , $context['subject'] , '</div>';

and it should work! well it did for me hope it helps some one else.


cheers peace.


Title: Re: Highslide Image Viewer
Post by: alienwebguy on December 12, 2011, 09:59:49 PM
Remove the credits for Highslide Image Viewer in SMF 2.0.1 by adding (hs.showCredits = false;) without quotes after (hs.graphicsDir = 'highslide/graphics/';) in /Sources/load.php, line 1619.

Title: Re: Highslide Image Viewer
Post by: Abhay Trivedi on May 09, 2012, 06:34:59 AM
No support left?
I want two features added to it??
Title: Re: Highslide Image Viewer
Post by: digger on May 09, 2012, 08:55:08 AM
Quote from: Abhay Trivedi on May 09, 2012, 06:34:59 AM
No support left?
I want two features added to it??
What features you want?
Title: Re: Highslide Image Viewer
Post by: Abhay Trivedi on May 14, 2012, 08:25:48 AM
Quote from: digger on May 09, 2012, 08:55:08 AM
Quote from: Abhay Trivedi on May 09, 2012, 06:34:59 AM
No support left?
I want two features added to it??
What features you want?
1. when opening an image the background should go dark so that it looks decent. Just like Fancybox 4 SMF
2. There should be a download button so that the users can download the image on their pc's. [Useful for Wallpapers forum.]
3. The most Important one is that the images should be resized to a smaller size so that it does not look ugly or atleast to the size of browser windows.

Thanks for replying. :)
Title: Re: Highslide Image Viewer
Post by: digger on May 14, 2012, 06:34:09 PM
Quote from: Abhay Trivedi on May 14, 2012, 08:25:48 AM
Quote
What features you want?
1. when opening an image the background should go dark so that it looks decent. Just like Fancybox 4 SMF
2. There should be a download button so that the users can download the image on their pc's. [Useful for Wallpapers forum.]
After a while I'll make a new version and add to it these options.

Quote
3. The most Important one is that the images should be resized to a smaller size so that it does not look ugly or atleast to the size of browser windows.
Mod already resize all images to a smaller size. What feature did you mean?
Title: Re: Highslide Image Viewer
Post by: Abhay Trivedi on May 21, 2012, 05:48:50 AM
ohk sorry
the resize option is already there but this mod does not work on my forum.
it shows various errors.
:(
http://forum.scubix.com
lagusta theme by DS
Title: Re: Highslide Image Viewer
Post by: Burke ♞ Knight on July 11, 2012, 05:06:07 PM
Any chance of an update that will install on SMF 2.0.2?

I get:
QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: Highslide Image Viewer
Post by: kat on July 11, 2012, 05:08:11 PM
I just replied in your other topic. :)
Title: Re: Highslide Image Viewer
Post by: Srinib on February 12, 2013, 04:50:52 AM
Does this work for 2.0.4?
Title: Re: Highslide Image Viewer
Post by: digger on February 12, 2013, 07:12:47 PM
Quote from: Srinib on February 12, 2013, 04:50:52 AM
Does this work for 2.0.4?
http://www.simplemachines.org/community/index.php?topic=266750.msg3221925#msg3221925
Title: Re: Highslide Image Viewer
Post by: digger on May 25, 2013, 03:17:49 AM
Updated for SMF2.0 Gold
Title: Re: Highslide Image Viewer
Post by: kerbob on October 02, 2013, 01:09:09 AM
Hey Guys,
I installed this mod on 2.0.5 and it works great.
However, after installing, I get a lot of these errors:

2: preg_match_all(): Unknown modifier 'b'
File: /home4/bobrekus/public_html/Sources/Subs.php
Line: 4444

Line 4444 of Subs.php is as follows:
      if(preg_match_all('~(<a href="([^"]*?)"(?:[^>]*?)>|)(<img src="((?!'. preg_quote($modSettings['smileys_url'], '#') .').*?)"(?:[^>]*?)>)(?:</a>|)~ism'.($context['utf8'] ? 'u' : ''), $message, $images, PREG_SET_ORDER))

Anyone have any idea? I'm not familiar with the preg_match_all function and that looks like an ugly regex! :O
Title: Re: Highslide Image Viewer
Post by: kerbob on October 04, 2013, 12:01:51 AM
Any ideas folks?  I still have the error flooding my logs.  This is an excellent mod so I'd love to be able to fix this.
Title: Re: Highslide Image Viewer
Post by: Arantor on October 04, 2013, 12:08:32 AM
I'd assume preg_quote($modSettings['smileys_url'], '#') should be preg_quote($modSettings['smileys_url'], '~')
Title: Re: Highslide Image Viewer
Post by: kerbob on October 09, 2013, 11:48:13 PM
Arantor for the win! +1 +1.. that fixed it!
Title: Re: Highslide Image Viewer
Post by: mackes on October 17, 2013, 12:20:45 AM
Quote from: digger on October 08, 2008, 04:15:17 PM
Quote from: puppeter on October 08, 2008, 04:11:16 PM
Im using custom theme... what should i do to make it work?
http://custom.simplemachines.org/mods/index.php?mod=1450
Manual Install Instructions for SMF x.x

Great mod. I tried this for Theme Ostara but it does not seems to work, any hints?

Thks
Title: Re: Highslide Image Viewer
Post by: sneakers on November 27, 2013, 11:00:33 AM
Hello,
I tried to install this mod. Unfortunately, when I installed it I got this error:

QuoteFatal error: Call to undefined function highslide_images() in /home/user/domains/domain.com/public_html/forum/Sources/Subs.php on line 2566


My subs.php is attached.


Thanks!
Title: Re: Highslide Image Viewer
Post by: digger on November 27, 2013, 12:10:49 PM
Quote from: sneakers on November 27, 2013, 11:00:33 AM
Hello,
I tried to install this mod. Unfortunately, when I installed it I got this error:

QuoteFatal error: Call to undefined function highslide_images() in /home/user/domains/domain.com/public_html/forum/Sources/Subs.php on line 2566


My subs.php is attached.

Your subs.php have function highslide_images defined. I don't know why you got this error.
Title: Re: Highslide Image Viewer
Post by: sneakers on November 27, 2013, 12:24:56 PM
Quote from: digger on November 27, 2013, 12:10:49 PM
Quote from: sneakers on November 27, 2013, 11:00:33 AM
Hello,
I tried to install this mod. Unfortunately, when I installed it I got this error:

QuoteFatal error: Call to undefined function highslide_images() in /home/user/domains/domain.com/public_html/forum/Sources/Subs.php on line 2566


My subs.php is attached.

Your subs.php have function highslide_images defined. I don't know why you got this error.

None of this can't be done? :(
Title: Re: Highslide Image Viewer
Post by: digger on November 27, 2013, 12:35:43 PM
Quote from: sneakers on November 27, 2013, 12:24:56 PM
Quote from: digger on November 27, 2013, 12:10:49 PM
Quote from: sneakers on November 27, 2013, 11:00:33 AM
Hello,
I tried to install this mod. Unfortunately, when I installed it I got this error:

QuoteFatal error: Call to undefined function highslide_images() in /home/user/domains/domain.com/public_html/forum/Sources/Subs.php on line 2566


My subs.php is attached.

Your subs.php have function highslide_images defined. I don't know why you got this error.

None of this can't be done? :(
Just comment line 2566 in Subs.php to fix fatal error.
Then try to reinstall mod. Ignore error while uninstall mod.
Title: Re: Highslide Image Viewer
Post by: sneakers on November 27, 2013, 03:39:53 PM
@digger,
I did a reinstall. I had to manually add the codes to Subs.php. I got this error:
Fatal error: Cannot redeclare highslide_fix_thumbs() (previously declared in /home/user/domains/domain.com/public_html/forum/Sources/Subs.php:4491) in /home/user/domains/domain.com/public_html/forum/Sources/Subs.php on line 4651

My Subs.php (after installation) is attached
Title: Re: Highslide Image Viewer
Post by: digger on November 27, 2013, 04:45:31 PM
Quote from: sneakers on November 27, 2013, 03:39:53 PM
@digger,
I did a reinstall. I had to manually add the codes to Subs.php. I got this error:
Fatal error: Cannot redeclare highslide_fix_thumbs() (previously declared in /home/user/domains/domain.com/public_html/forum/Sources/Subs.php:4491) in /home/user/domains/domain.com/public_html/forum/Sources/Subs.php on line 4651

My Subs.php (after installation) is attached
You already have highslide_fix_thumbs function in the Subs.php and don't need to add it manually.
Title: Re: Highslide Image Viewer
Post by: sneakers on November 27, 2013, 06:55:13 PM
@digger, thanks. it works ;)
Title: Re: Highslide Image Viewer
Post by: MikaZ on March 14, 2014, 08:53:01 AM
HI guys,

NIce mod, thanks.

But anyone knows how to add steam screenshot links to work this mod?

As like imgur, photobucket etc..works.
Title: Re: Highslide Image Viewer
Post by: lifeguard81 on March 15, 2014, 09:21:51 AM
Instal this mod, and it works good.
There is only one problem.

When i click on an image, it opens in a nice pop up
But on the background, the image is big! like without resizing.

How to fix this?

See screen
(http://i.imgur.com/LWXQ6rZ.jpg)
Title: Re: Highslide Image Viewer
Post by: w5hro on May 13, 2014, 04:30:12 PM
Hello,

I have SMF v2.0.7 installed this mod works except for leaving a control bar at the top left corner of your browser after closing the viewer. Every time I click on a photo in a topic it comes up correctly, but then it leaves a control bar after I close it. If I do it twice I get 2 bars at the top of the browser and  if I do it 3 times I get 3, etc...

Below is the a screen shot of the control bar it leaves at the top on the browser each time. I need to correct this...

Thanks...

Title: Re: Highslide Image Viewer
Post by: MESWEB on July 19, 2014, 02:13:47 PM
Quote from: sneakers on November 27, 2013, 03:39:53 PM
@digger,
I did a reinstall. I had to manually add the codes to Subs.php. I got this error:
Fatal error: Cannot redeclare highslide_fix_thumbs() (previously declared in /home/user/domains/domain.com/public_html/forum/Sources/Subs.php:4491) in /home/user/domains/domain.com/public_html/forum/Sources/Subs.php on line 4651

My Subs.php (after installation) is attached

WARNING - This solution is not working
Title: Re: Highslide Image Viewer
Post by: Yes-U-Can on July 27, 2014, 07:38:01 PM
Does highslide mod work with version 2.08 ? Thanks
Title: Re: Highslide Image Viewer
Post by: MESWEB on August 02, 2014, 11:46:48 AM
Yes its working but installation got error.
Title: Re: Highslide Image Viewer
Post by: Biology Forums on September 20, 2014, 03:03:27 PM
Hi Digger,

I'm using a link like this: [center][url=http://biology-forums.com/index.php?action=gallery;sa=view;id=18841][img]http://biology-forums.com/gallery/medium_6_19_09_14_9_29_50.jpeg[/img][/url][/center]

Is it possible to make the caption a link to http://biology-forums.com/index.php?action=gallery;sa=view;id=18841 instead of the actual image link http://biology-forums.com/gallery/medium_6_19_09_14_9_29_50.jpeg?

Here's the code that handles this:

$b[5] = str_ireplace('alt=""', 'alt="' . $b[2] . '"', $b[5]); // Add filename to the caption
Title: Re: Highslide Image Viewer
Post by: digger on September 21, 2014, 06:45:38 PM
Quote from: Shuban on September 20, 2014, 03:03:27 PM
Hi Digger,

I'm using a link like this: [center][url=http://biology-forums.com/index.php?action=gallery;sa=view;id=18841][img]http://biology-forums.com/gallery/medium_6_19_09_14_9_29_50.jpeg[/img][/url][/center]

Is it possible to make the caption a link to http://biology-forums.com/index.php?action=gallery;sa=view;id=18841 instead of the actual image link http://biology-forums.com/gallery/medium_6_19_09_14_9_29_50.jpeg?

Here's the code that handles this:

$b[5] = str_ireplace('alt=""', 'alt="' . $b[2] . '"', $b[5]); // Add filename to the caption
Try to replace $b[2] with $b[4]
Title: Re: Highslide Image Viewer
Post by: Biology Forums on September 25, 2014, 11:29:33 PM
Hey digger, I tried that, but it didn't do it :-\

It just shows the link to the image, still.
Title: Re: Highslide Image Viewer
Post by: Biology Forums on October 30, 2014, 12:21:28 AM
Quote from: Shuban on September 25, 2014, 11:29:33 PM
Hey digger, I tried that, but it didn't do it :-\

It just shows the link to the image, still.

Hey digger, any chance you can try something else?

For example, if I use this [url=http://biology-forums.com/index.php?action=gallery;sa=view&id=19319][img width=350 height=315]http://biology-forums.com/gallery/46687_30_10_14_12_14_25.gif[/img][/url]

I get:

http://biology-forums.com/index.php?topic=151512.msg458692#msg458692

Notice, if I click the image, it doesn't direct to http://biology-forums.com/index.php?action=gallery;sa=view&id=19319 - which is good, but ideally I would like the link as a caption for the image when it's clicked and popped up.

Will pay for a fix if necessary, just message me...
Title: Re: Highslide Image Viewer
Post by: digger on November 01, 2014, 07:55:14 AM
Quote from: Shuban on October 30, 2014, 12:21:28 AM
Hey digger, any chance you can try something else?
Just wait some time.
Title: Re: Highslide Image Viewer
Post by: kinematics on December 13, 2014, 10:56:14 PM
This mod work in SimplePortal index page?
Title: Re: Highslide Image Viewer
Post by: fotografo74 on December 15, 2014, 07:32:15 AM
Hi digger, this Mod has option in Admin panel? In my just fresh installed forum not works :(
Title: Re: Highslide Image Viewer
Post by: 420Connect.co.uk on April 15, 2015, 07:44:44 AM
Hey digger,

Would it be possible for you to share the edits needed to have this mod work on a few other pages..

I have asked dougiefresh about if he could make his Post and PM Inline Attachments mod do the same thing and would love to solve this little issue to tie everything together nicely..

I'm basically wondering if the highslide can work on the following pages:

index.php?action=profile;area=showposts
index.php?action=profile;area=unreadreplies
index.php?action=profile;area=unread

etc. ?


Currently when I click on the image (on these pages), to view the larger size I get directed to url of the image rather than the highslide taking over..

Many thanks!
Title: Re: Highslide Image Viewer
Post by: digger on April 29, 2015, 10:45:04 AM
Quote from: 420connect.info on April 15, 2015, 07:44:44 AM
Hey digger,

Would it be possible for you to share the edits needed to have this mod work on a few other pages..

I have asked dougiefresh about if he could make his Post and PM Inline Attachments mod do the same thing and would love to solve this little issue to tie everything together nicely..

I'm basically wondering if the highslide can work on the following pages:

index.php?action=profile;area=showposts
index.php?action=profile;area=unreadreplies
index.php?action=profile;area=unread

etc. ?


Currently when I click on the image (on these pages), to view the larger size I get directed to url of the image rather than the highslide taking over..

Many thanks!
Mod works on any forum pages. Image shold be attachment, IMG tag with width or IMG from supported image hosting.
Title: Re: Highslide Image Viewer
Post by: roshaoar on April 30, 2015, 05:36:36 PM
Working fine for me on 2.0.10, as one of the first mods added. One question though - my server error logs are full of lines "File does not exist: (stuff)/htdocs/forums/zoomin.cur, referer: http://(domain)/forums/index.php?topic=3.0"

I tried removing zoomin from highslide.js but that changed the behaviour, so put it back. Any idea please what's causing this, and how I can possibly prevent these log entries?

Thank you for your time,

-Johan
Title: Re: Highslide Image Viewer
Post by: roshaoar on May 01, 2015, 07:17:48 AM
Fyi - I solved it: copying zoomin.cur from /Highslide to the right directory seems to have stopped these errors. Looks like there's a path error in here somewhere and rather than fixing the error just copying it was a less intrusive fix.
Title: Re: Highslide Image Viewer
Post by: GenesisMUGEN on September 29, 2015, 12:43:12 PM
Quote from: lifeguard81 on March 15, 2014, 09:21:51 AM
Instal this mod, and it works good.
There is only one problem.

When i click on an image, it opens in a nice pop up
But on the background, the image is big! like without resizing.

How to fix this?

See screen
(http://i.imgur.com/LWXQ6rZ.jpg)
I'm experiencing this problem. Is there something that needs to be edited or?
Title: Re: Highslide Image Viewer
Post by: Ned.net on March 29, 2016, 08:27:45 AM
Hi guys,

First, I want to say that this mod is great. Thank you Digger for having made it.

Maybe what follows has already been answered, if so I apologize for asking again, but I tried to read the 31 (!) pages of posts about this mod, did some search, and didn't find my answer.

I wish to use it on a forum (2.11) which has no gallery, where I post many "howtos" to my users. In order to avoid hard reading posts due to wide screenshots all along them, this mod is exactly what I need. But it would be a great time saver for me to avoid typing
[url=http://.../big_image.jpg][img]http://.../small_image.jpg[/img][/url]each time I want to include a screenshot.

If I use img tag with lower width parameter to fake my previews I'm facing the same trouble as lifeguard81 mentionned in answer #587 (http://www.simplemachines.org/community/index.php?topic=266750.msg3678593#msg3678593), and as GenesisMUGEN in answer #603.

Is there a way to configure the mod so it finds automatically the small (or big) images in a given folder ?
for example a using sub-folder named "preview" in the folder which contains my images ?

.../images/my_image.jpg (big size)
.../images/preview/my_image.jpg (small size)

Or maybe based on a naming rule for images in the same folder ? For example "my_image.jpg" and "my_image_preview.jpg" ?

It's no big deal for me generating the small images  but I'd relally like to simplify the integration code (even if width parameter of img tag would be the simplest solution).

TIA
Title: Re: Highslide Image Viewer
Post by: maxya on November 10, 2017, 10:17:03 AM
Hi all!
How to setup on SMF 2.0 RC5 ?
./Sources/Display.php
Not have this
$replace .= '
<a href="'. $attachment['href']. ';image" id="link_'. $attachment['id']. '" onclick="'. $attachment['thumbnail']['javascript'] .'"><img src="'. $attachment['thumbnail']['href']. '" alt="" id="thumb_'. $attachment['id']. '" border="0" /></a><br />';

and this
                    // thumbnail
                    $inlinedtext = '<a href="' . $attachment['href'] . ';image" id="link_' . $attachment['id'] . '" onclick="'. $attachment['thumbnail']['javascript']. '"><img src="'. $attachment['thumbnail']['href']. '" alt="" id="thumb_'. $attachment['id']. '" border="1" class="outsb" /></a>';
Title: Re: Highslide Image Viewer
Post by: Arantor on November 10, 2017, 10:20:02 AM
You shouldn't be using RC5, you are massively insecure at this point.
Title: Re: Highslide Image Viewer
Post by: Leszko on September 28, 2018, 05:41:45 PM
Quote from: GenesisMUGEN on September 29, 2015, 12:43:12 PM
Quote from: lifeguard81 on March 15, 2014, 09:21:51 AM
Instal this mod, and it works good.
There is only one problem.

When i click on an image, it opens in a nice pop up
But on the background, the image is big! like without resizing.

How to fix this?

See screen
(http://i.imgur.com/LWXQ6rZ.jpg)
I'm experiencing this problem. Is there something that needs to be edited or?

Me an my friend have the same problem.
Is there any solution to this. I use 2.0.15
(http://swietageometria.info/ao/di-DWD7.jpg)
Title: Re: Highslide Image Viewer
Post by: Leszko on October 01, 2018, 09:57:09 AM
Ok, I found the solution.
Find in index.template.php of your style this:

// Add a load event for the function above.
addLoadEvent(smc_toggleImageDimensions);


and do this:

// Add a load event for the function above.
/*addLoadEvent(smc_toggleImageDimensions);*/


That is all!  :)
Title: Re: Highslide Image Viewer
Post by: Leszko on October 01, 2018, 10:00:17 AM
Next and the last question.
How to make more space between buttons on the pop-up below to be more comfortable on mobile devices?

Exactly like on the version below:
(http://swietageometria.info/ao/di-H8NW.jpg)
Title: Re: Highslide Image Viewer
Post by: digger on October 06, 2018, 10:20:04 AM
Quote from: Leszko on October 01, 2018, 10:00:17 AM
Next and the last question.
How to make more space between buttons on the pop-up below to be more comfortable on mobile devices?
This mod needs a major update. I will see it later.
Title: Re: Highslide Image Viewer
Post by: Leszko on October 09, 2018, 05:11:58 PM
Quote from: digger on October 06, 2018, 10:20:04 AM
Quote from: Leszko on October 01, 2018, 10:00:17 AM
Next and the last question.
How to make more space between buttons on the pop-up below to be more comfortable on mobile devices?
This mod needs a major update. I will see it later.
It would be great, but in the meantime I have done it in The way (image):

http://swietageometria.info/ao/di-2FVD.gif
Title: Re: Highslide Image Viewer
Post by: Antechinus on February 08, 2020, 09:00:25 PM
I was just playing with this. Nice little mod.
Re the icon spacing:

/* Testing tweaks for Digger's Highslide mod. */
/* Note: Only needs !important if being used as overrides in index.css. */
/* In practice, would make more sense to call custom copy of highslide.css. */
.highslide img {
    border: 0 !important;
}
.highslide-image + div>div {
left: 0;
}
.highslide-heading {
height: 40px !important;
white-space: nowrap;
text-indent: 100%;
}
.highslide-controls {
box-sizing: border-box !important;
width: 100% !important;
height: 38px !important;
top: -42px !important;
left: 0 !important;
padding: 0 !important;
}
.highslide-controls ul {
text-align: end;
}
.highslide-controls li {
box-sizing: border-box;
display: inline-block !important;
float: none !important;
width: 40px;
max-width: 13%;
margin: 0 .5%;
padding: 8px 0;
border: 1px solid #0000;
border-radius: 4px;
}
.highslide-controls li:hover {
background: #fff;
border-color: #ccc;
}
.highslide-controls a {
margin: 0 auto;
float: none !important;
}
/*--------------------------*/
Title: Re: Highslide Image Viewer
Post by: Sectomy on July 16, 2020, 08:42:19 AM
i dont know if i do something wrong, i installed this, but, if i attach an image, it wont be resized.... its same as it is.
do i need to set a limit of size on the Settings ? or something else ?
Title: Re: Highslide Image Viewer
Post by: digger on July 16, 2020, 10:02:17 AM
Quote from: Sectomy on July 16, 2020, 08:42:19 AM
i dont know if i do something wrong, i installed this, but, if i attach an image, it wont be resized.... its same as it is.
do i need to set a limit of size on the Settings ? or something else ?
You need to setup size for image thumbnail in the forum settings.
Title: Re: Highslide Image Viewer
Post by: Sectomy on July 16, 2020, 11:05:19 AM
i have 400x400
but it doesnt matter, i can attach a 1920x1920 image, and it is 1920x1920....so.. :/
Title: Re: Highslide Image Viewer
Post by: Sectomy on July 16, 2020, 12:34:48 PM
ok, solution via CSS
but now, if u view some images i have this in the upper left corner:

Title: Re: Highslide Image Viewer
Post by: Sectomy on July 19, 2020, 11:47:52 AM
no idea ? :) *bumb*
Title: Re: Highslide Image Viewer
Post by: GL700Wing on July 19, 2020, 06:20:41 PM
Highslide Image Viewer (https://custom.simplemachines.org/mods/index.php?mod=1450)
Post and PM Inline Attachments (https://custom.simplemachines.org/mods/index.php?mod=3770)
Automatic Attachment Rotation (and Resize) (https://custom.simplemachines.org/mods/index.php?mod=4087)

When these three mods are installed together in the order they are listed above and they are correctly configured they will resize images.
Title: Re: Highslide Image Viewer
Post by: Sectomy on July 25, 2020, 06:15:03 AM
Quote from: Sectomy on July 16, 2020, 12:34:48 PM
ok, solution via CSS
but now, if u view some images i have this in the upper left corner:


bump ? :)
Title: Re: Highslide Image Viewer
Post by: digger on July 25, 2020, 06:18:05 AM
Quote from: Sectomy on July 25, 2020, 06:15:03 AM
bump ? :)
Did you need support for this mod or anything else?
Title: Re: Highslide Image Viewer
Post by: Sectomy on July 25, 2020, 07:57:59 AM
@digger
yes, i have this little problem mentioned earlier
look at attachment, its appears as i open and closes different Images, i have to releoad the Page to dissappear...
Title: Re: Highslide Image Viewer
Post by: digger on July 25, 2020, 08:48:12 AM
Quote from: Sectomy on July 25, 2020, 07:57:59 AM
@digger
yes, i have this little problem mentioned earlier
look at attachment, its appears as i open and closes different Images, i have to releoad the Page to dissappear...
Can you show how it works on your forum?
Title: Re: Highslide Image Viewer
Post by: Sectomy on July 25, 2020, 08:57:58 AM
what u mean ? how it works ? :o
Title: Re: Highslide Image Viewer
Post by: Sectomy on July 25, 2020, 09:00:45 AM
its www.darkbricks.de
but we have a a guest dont see Images thingie, i could create an account for you...
those are 2 Pics...the thing in top corner, multiples, as many as pics i open..