Advertisement:

Author Topic: Highslide Image Viewer  (Read 271890 times)

Offline fals

  • Jr. Member
  • **
  • Posts: 287
  • Gender: Male
  • bouncing through codes...
    • Large Scale Forum Denmark
Re: Highslide Image Viewer
« Reply #120 on: October 23, 2008, 09:18:35 AM »
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

My Display.template.php around the "Show the images"
Code: [Select]

   //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>';
     }
    }
   }
500fan.dk - SMF 2.0 ~ custom theme
ls-forum.dk - SMF 2.0.2 ~ custom theme and custom iPhone theme

Offline AlenNS

  • Full Member
  • ***
  • Posts: 617
  • Gender: Male
    • Baklja forum - Vaš forum
Re: Highslide Image Viewer
« Reply #121 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?

Offline Ratz

  • Newbie
  • *
  • Posts: 3
Re: Highslide Image Viewer
« Reply #122 on: October 23, 2008, 09:49:44 AM »
Is it possible to make Highslide Viewer work along with another mod called "Attachment Layout 1.3"?
No problem, tjeck out my forum hxxp:www.fg-forum.dk/smf/index.php?topic=25035.0 [nonactive]

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
« Last Edit: October 23, 2008, 10:08:38 AM by Ratz »

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #123 on: October 23, 2008, 11:52:54 AM »
Is there any way I could put Watermark on all pictures on my forum with HS mod?
No

Offline AlenNS

  • Full Member
  • ***
  • Posts: 617
  • Gender: Male
    • Baklja forum - Vaš forum
Re: Highslide Image Viewer
« Reply #124 on: October 23, 2008, 12:14:24 PM »
Ok. Thanks for the answer. :)

Offline jdizine

  • Semi-Newbie
  • *
  • Posts: 99
  • Gender: Female
    • GFX Unleashed
Re: Highslide Image Viewer
« Reply #125 on: October 27, 2008, 01:24:50 PM »
For some reason I see this in some posts:


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.
« Last Edit: October 27, 2008, 06:42:44 PM by jdizine »



Offline jayc7176

  • Jr. Member
  • **
  • Posts: 139
  • Gender: Male
    • Hack that ifone
Re: Highslide Image Viewer
« Reply #126 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 ..
« Last Edit: November 01, 2008, 11:47:59 AM by jayc7176 »
I cannot teach anybody anything, I can only make them think -  Socrates™ 469 BC

SMF- 1.1.5

Offline fals

  • Jr. Member
  • **
  • Posts: 287
  • Gender: Male
  • bouncing through codes...
    • Large Scale Forum Denmark
Re: Highslide Image Viewer
« Reply #127 on: November 01, 2008, 01:59:54 PM »
@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
500fan.dk - SMF 2.0 ~ custom theme
ls-forum.dk - SMF 2.0.2 ~ custom theme and custom iPhone theme

Offline jayc7176

  • Jr. Member
  • **
  • Posts: 139
  • Gender: Male
    • Hack that ifone
Re: Highslide Image Viewer
« Reply #128 on: November 01, 2008, 10:54:13 PM »
Thnx for the reply.. Fals.. i changed the Size @ admin and then attatchments & Avatars .. works great :)

I cannot teach anybody anything, I can only make them think -  Socrates™ 469 BC

SMF- 1.1.5

Offline Sabre™

  • SMF Hero
  • ******
  • Posts: 2,527
  • Gender: Male
  • IF IT AINT BROKE, I CAN FIX IT TILL IT IS!!
Re: Highslide Image Viewer
« Reply #129 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 :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Offline Neons

  • Semi-Newbie
  • *
  • Posts: 42
Re: Highslide Image Viewer
« Reply #130 on: November 03, 2008, 03:59:38 PM »
Any directions on how to make this work with SMF Media Gallery?
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? :/
« Last Edit: November 03, 2008, 04:10:31 PM by neon401 »

Offline ziddy123

  • Semi-Newbie
  • *
  • Posts: 14
Re: Highslide Image Viewer
« Reply #131 on: November 03, 2008, 04:50:38 PM »
Any directions on how to make this work with SMF Media Gallery?
A direct link from the media gallery looks like this:
http://chanzi.be/MGalleryItem.php?id=83 [nofollow]
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.

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #132 on: November 03, 2008, 05:29:53 PM »
Any directions on how to make this work with SMF Media Gallery?
I will try to do something.
Quote
EDIT: Where are the admin options? :/
Will be in a next version.

Offline Neons

  • Semi-Newbie
  • *
  • Posts: 42
Re: Highslide Image Viewer
« Reply #133 on: November 03, 2008, 05:33:55 PM »
Any directions on how to make this work with SMF Media Gallery?
I will try to do something.
Quote
EDIT: Where are the admin options? :/
Will be in a next version.

Wonderful, thank you very much :)

Offline ziddy123

  • Semi-Newbie
  • *
  • Posts: 14
Re: Highslide Image Viewer
« Reply #134 on: November 04, 2008, 09:46:47 AM »
Any directions on how to make this work with SMF Media Gallery?
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:
Code: [Select]
[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.

Offline ziddy123

  • Semi-Newbie
  • *
  • Posts: 14
Re: Highslide Image Viewer
« Reply #135 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.

Code: [Select]
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

Offline Neons

  • Semi-Newbie
  • *
  • Posts: 42
Re: Highslide Image Viewer
« Reply #136 on: November 09, 2008, 06:54:51 PM »
Any directions on how to make this work with SMF Media Gallery?
I will try to do something.
Any progress on this?  :)

Offline jayc7176

  • Jr. Member
  • **
  • Posts: 139
  • Gender: Male
    • Hack that ifone
Re: Highslide Image Viewer
« Reply #137 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!
I cannot teach anybody anything, I can only make them think -  Socrates™ 469 BC

SMF- 1.1.5

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #138 on: November 14, 2008, 03:13:12 PM »
Any directions on how to make this work with SMF Media Gallery?
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

Offline Neons

  • Semi-Newbie
  • *
  • Posts: 42
Re: Highslide Image Viewer
« Reply #139 on: November 15, 2008, 06:38:08 AM »
Any directions on how to make this work with SMF Media Gallery?
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 :(