• Welcome to Simple Machines Community Forum. Please login or sign up.
November 29, 2021, 05:24:57 PM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Highslide Image Viewer

Started by digger, October 07, 2008, 09:37:35 PM

Previous topic - Next topic

baijianpeng

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?
JoomlaGate: The way to the World of Joomla!

http://www.joomlagate.com

General_Naga

October 09, 2008, 09:02:05 AM #21 Last Edit: October 09, 2008, 09:06:21 AM by General_Naga
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

digger

October 09, 2008, 01:56:23 PM #22 Last Edit: October 09, 2008, 02:00:53 PM by digger
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;
}


4Kstore


¡¡NEW MOD: Sparkles User Names!!!

General_Naga

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

Nachtfalke

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???
>>> Tanja Gräff, Studentin aus Trier, wird seit 14 Monaten vermisst | http://www.findet-tanjagraeff.de <<<

digger

October 09, 2008, 06:25:54 PM #26 Last Edit: October 09, 2008, 07:08:30 PM by digger
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.


digger

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.

baijianpeng

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.
JoomlaGate: The way to the World of Joomla!

http://www.joomlagate.com

digger

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.

baijianpeng

Great !

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

Thanks to Digger! thumb up!
JoomlaGate: The way to the World of Joomla!

http://www.joomlagate.com

fals

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






500fan.dk - SMF 2.0 ~ custom theme
ls-forum.dk - SMF 2.0.2 ~ custom theme and custom iPhone theme

digger

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.

samurai-lupin

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

digger

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

fals







500fan.dk - SMF 2.0 ~ custom theme
ls-forum.dk - SMF 2.0.2 ~ custom theme and custom iPhone theme

Abavagada

One word: AWESOME!

One more: THANKS!



Sabre™

October 10, 2008, 07:42:27 PM #38 Last Edit: October 10, 2008, 07:48:26 PM by Sabre™
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  :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Tanks

I finaly got it to work - Thanks !

Advertisement: