Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 251
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 105
Total: 105

Author Topic: Zoom support  (Read 9238 times)

0 Members and 1 Guest are viewing this topic.

Offline Michel68

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 165
    • 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: 16452
    • 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

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 165
    • 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: 16452
    • 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

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 165
    • 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: 16452
    • 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

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 165
    • 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

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 165
    • 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

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 165
    • 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
5956 Views
Last post March 24, 2008, 08:35:25 pm
by SMFHacks
4 Replies
6863 Views
Last post April 14, 2008, 01:16:24 pm
by vkot
1 Replies
5166 Views
Last post March 25, 2009, 07:15:23 pm
by SMFHacks
1 Replies
4233 Views
Last post October 09, 2009, 09:50:24 am
by SMFHacks
0 Replies
2309 Views
Last post December 29, 2014, 09:16:22 pm
by Empire

+- Recent Topics

Please Help! by SMFHacks
Today at 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

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

Powered by EzPortal