Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4253
Latest: Ineedsmfhelp
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43242
Total Topics: 7516
Most Online Today: 94
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 99
Total: 99

Author Topic: Zoom support  (Read 9178 times)

0 Members and 1 Guest are viewing this topic.

Offline Michel68

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Zoom support
« on: August 23, 2014, 03:09:30 pm »
Would be great to have a Zoom like this

http://www.elevateweb.co.uk/image-zoom


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Zoom support
« Reply #1 on: August 25, 2014, 10:46:07 am »
I think there is a way to do this with highslide have to look into it's settings.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Michel68

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Zoom support
« Reply #2 on: October 12, 2014, 09:24:53 am »
Please could you give me a hint, how I can add this Zoom support in combination with your gallery ?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Zoom support
« Reply #3 on: October 13, 2014, 06:50:08 am »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Michel68

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Zoom support
« Reply #4 on: October 13, 2014, 12:37:26 pm »
Thanks but my main interest is in Zoom the picture.

I test the smf mod http://custom.simplemachines.org/mods/index.php?mod=1450

there is also in the thread a hint for Smf Gallery but the whole mod is not working under Actualism http://custom.simplemachines.org/themes/index.php?lemma=1852

I gave up, I am not the php/html freak to combine the 3 things ,  zooom+highslide+gallery

I just want http://www.elevateweb.co.uk/image-zoom/examples  ;D

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Zoom support
« Reply #5 on: October 15, 2014, 12:45:15 pm »
Look at highslide a bit doesn't seem like it has the option to do the things you want it to do
http://www.elevateweb.co.uk/image-zoom/examples does have good examples but would have to find a way to get them to work together.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Michel68

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Zoom support
« Reply #6 on: October 15, 2014, 12:54:02 pm »
You are the crack not me ..... before I installed your gallery I used a zoom script for attachments that was also very great http://www.pixeldevelopment.com/touchup.asp


I modified \Themes\default\Display.template.php

Code: [Select]
// Assuming there are attachments...
if (!empty($message['attachment']))
{
echo '
<hr width="100%" size="1" class="hrcolor" />
<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'], '" onclick="', $attachment['thumbnail']['javascript'], '"><img src="', $attachment['thumbnail']['href'], '" alt="" id="thumb_', $attachment['id'], '" border="0" /></a><br />';
else
echo '
<img src="' . $attachment['href'] . ';image" alt="" width="' . $attachment['width'] . '" height="' . $attachment['height'] . '" border="0" /><br />';
echo '
<a href="javascript:zoom(\'' , "./../foren", substr($attachment['href'], strpos($attachment['href'],'foren')+strlen('foren')) , ';image\') ;">Zoom Funktion</a>';


last line

and than

 \Themes\default\index.template.php

Code: [Select]
current_header = mode;
}
// ]]></script>


add than

<script language="JavaScript">
function zoom(content) {
 top.consoleRef=window.open(\'\',\'myconsole\',
  \'width=800,height=600\'
   +\',menubar=1\'
   +\',toolbar=1\'
   +\',status=1\'
   +\',scrollbars=1\'
   +\',resizable=1\')
 top.consoleRef.document.writeln(
  \'<html><head><title>Zoom Fenster</title></head>\'
   +\'<body bgcolor=white onLoad="self.focus()">\'
   +\'<APPLET MAYSCRIPT STYLE="ALIGN=LEFT LEFT: 0px; WIDTH: 800px; TOP: 0px; HEIGHT: 600px" name=Touchup CODE=Touchup.class CODEBASE="./../foren/" ARCHIVE=Touchup.jar WIDTH=266 HEIGHT=157 align="middle">\'
   +\'<PARAM NAME="image" VALUE="\' + content + \'">\'
   +\'<param name="title" value>\'
   +\'<param name="foreground" value="FFFFFF">\'
   +\'<param name="brightness" value>\'+\'</applet>\'
   +\'</body></html>\'
 )
 top.consoleRef.document.close()
}
</script>

If I click on the exta line at the end of the picture than Touchup cames up ...... This script is even better because you can change the contrast, brightness and and and ... but I did event not get it to work with your Gallery attachments  ;D

« Last Edit: October 15, 2014, 12:56:21 pm by Michel68 »

Offline Michel68

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Zoom support
« Reply #7 on: October 15, 2014, 12:58:42 pm »
Forget about Touchup since the new Java restrictions it will not work without giving access rights on your browser, thats to complicate for Users.

Offline Michel68

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: Zoom support
« Reply #8 on: May 20, 2015, 02:29:13 am »
If found another great zoom site. You can move the Image free around and with a mouse scroll zoom in/out....... This kind of Image view is amazing.

http://www.kenom.de/objekt/record_DE-MUS-062622_kenom_153125/1/LOG_0000/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
5827 Views
Last post March 24, 2008, 08:35:25 pm
by SMFHacks
4 Replies
6711 Views
Last post April 14, 2008, 01:16:24 pm
by vkot
1 Replies
5014 Views
Last post March 25, 2009, 07:15:23 pm
by SMFHacks
1 Replies
4117 Views
Last post October 09, 2009, 09:50:24 am
by SMFHacks
0 Replies
2297 Views
Last post December 29, 2014, 09:16:22 pm
by Empire

+- Recent Topics

is it possible to add support for odysee.com by SMFHacks
March 13, 2024, 10:53:28 pm

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

User Gallery Feature: move / bulk move images by SMFHacks
January 30, 2024, 05:48:25 pm

In the future it may be for smf 2.1.x? by smithloo
January 30, 2024, 12:55:34 am

Powered by EzPortal