Modules

Support Forums
Wish: Picture showing
Last Post 28 Nov 2008 12:30 AM by digmike. 7 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
KalaK
New Member
New Member
Posts:46

--
05 Feb 2008 01:20 AM  

I have one little wish, if it is not too much.

When I click a thumbnail picture inside the content, I would like it to shown as "lightbox animation". Like in "Simple Gallery" module from Ventrian.

This could be a very cool way to show a larger image.

I can not praise you enough to have maked this great module !

Greetings from Sisimiut, Greenland.

Ulrik Motzfeldt
ARCTIC-IT
digmike
Veteran Member
Veteran Member
Posts:1262

--
05 Feb 2008 09:44 PM  

Hi Kalak,

You mean like this?

Here is what I did:

1. Download LightBox2 from here.

2. Made a folder in my web root called /LightBox

3. Modified paths at the top of lightbox.js to reference "/lightbox/images.."

4. Uploaded files to /LightBox on server (keep everything in the same folders)

5. In Blog module > Settings > Header, I put the following:


[script type="text/javascript" src="http://www.dignuke.com/lightbox/js/prototype.js">
[script type="text/javascript" src="http://www.dignuke.com/lightbox/js/scriptaculous.js?load=effects">
[script type="text/javascript" src="http://www.dignuke.com/lightbox/js/lightbox.js">
[link rel="stylesheet" href="/lightbox/css/lightbox.css" type="text/css" media="screen" /]

The above will setup light box for the blog module.  Every time you want a picture to open in lightbox, you will need to do the following:

In LiveWriter, after you insert the image (leave it as link to source picture).  Go to View > HTML Code, and where you see the tag for the picture, add rel="lightbox".  Like this:

 

[a rel="lightbox" href="$Sunset[2].jpg"]

Or, right click on image and go to Hyperlink, and put lightbox in the "rel" box.

It's a round-about way, but it works!

Thanks,

Mike

 

NOTE: I'm getting fits with AF and FCK editor, I replaced GreaterThan with [ above.

KalaK
New Member
New Member
Posts:46

--
05 Feb 2008 10:03 PM  

Great ! Just what I was looking for !
Is it possible aswell for the News Article ? Have you tried ?

Ulrik Motzfeldt
ARCTIC-IT
digmike
Veteran Member
Veteran Member
Posts:1262

--
06 Feb 2008 03:30 AM  
Hi,
Sure, you can use it with Ventrian.
Thanks,
Mike
KalaK
New Member
New Member
Posts:46

--
27 Nov 2008 03:42 PM  
Hi again
Do you plan to implement this lightbox feature ?
I have implement it with your "work-around" at my site. But it would be nice, if this was done more automatic.
Ulrik Motzfeldt
ARCTIC-IT
digmike
Veteran Member
Veteran Member
Posts:1262

--
27 Nov 2008 05:04 PM  
Hi Kalak,
So you want digMeta to automatically put the rel="lightbox" on the hyperlink?
Thanks,
Mike
KalaK
New Member
New Member
Posts:46

--
27 Nov 2008 05:20 PM  
For users who are using lightbox, it would be nice with this automatic insertion to the hyperlink.

Personally i think this is much better way to show larger images than a "_blank" method.

Thank you again for your ongoing development and support. I'm a very big fan of DigMeta, and are using it on my sites. I can't think of having a DNN site without it.
Ulrik Motzfeldt
ARCTIC-IT
digmike
Veteran Member
Veteran Member
Posts:1262

--
28 Nov 2008 12:30 AM  
Hi Kalak,
Thanks for you great words about digMeta, we really do appreciate it. I will look into putting that feature in the next release, it souldn't be a big change.
Thanks,
Mike
You are not authorized to post a reply.

Active Forums 4.2