View full size image in new window

ckleiman

Joined: 2006-07-05
Posts: 26
Posted: Tue, 2011-04-26 12:48

I can use Gallery 2.3 if only able to view full size image in new browser window or lightbox window. How to do in Matrix theme? have searched all over and finding 0 working answers.If not possible to do in Matrix theme any other theme will do. Help floridave r u there?

I added the Panorama module and it was the solution I was looking for. The problem was it was working great and then stopped working. I cleared some template caches and user sessions, however, I don't know if that was the problem or not.

Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2011-04-26 17:57

Most themes have that already.
See the "Full Size" icon above and below the image in my example using the carbon theme.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
ckleiman

Joined: 2006-07-05
Posts: 26
Posted: Tue, 2011-04-26 19:42

Thanks, I see the feature in the Carbon theme. Unfortunately, its not in the Matrix theme. Rather than tweak the Carbon theme to change the colors etc. I think I'll try out some of the other themes to see if they have the feature. Thanks for the info!

 
ckleiman

Joined: 2006-07-05
Posts: 26
Posted: Tue, 2011-04-26 20:02

On second thought, it will be easier to change the colors in the Carbon theme.

 
ckleiman

Joined: 2006-07-05
Posts: 26
Posted: Tue, 2011-04-26 20:11

After more thought I think its better to wait for the Drupal integration of Gallery 3. I like the behavior better where the full size image fits the browser window. BTW, nice photo of Curacao! Now I want to visit.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2011-04-26 23:29

It may be quite a wait for G3.1
I have some great integration tools for G2.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
ckleiman

Joined: 2006-07-05
Posts: 26
Posted: Wed, 2011-04-27 00:14

That's incredible! It looks identical to the Gallery2 embedded in my Drupal site. Sounds like its a lot easier to install too! Looking forward to trying it out!

 
ckleiman

Joined: 2006-07-05
Posts: 26
Posted: Wed, 2011-04-27 01:37

I feel like a total newbie. I filled in all the info and generated the gallery2Embedded.php and saved into the gallery2 root, which is a sub domain to my Drupal located at http://localhost/drupal-6.11/gallery2/

I really don't need any content above or below the embedded gallery. Next I made a menu link in Drupal to the gallery2Embedded.php and it opened g2 not embedded. Obviously, I'm doing something wrong. Can u tell me? I've attached my generated page if it helps.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2011-04-27 01:53

since you have not added anything to the page(except for the copyright) its going to give you gallery.

The idea is to be able to wrap gallery into any webpage like the samples shown on mysite.

Take this one for example. I've attached the file, notice all that went into it.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
ckleiman

Joined: 2006-07-05
Posts: 26
Posted: Wed, 2011-04-27 05:42

Whew! That's a lot of work. I'll need some more time to work onto it. In the meantime wondering if I can put Carbon behavior into Matrix. Using Firebug I found the code for the full size image opening in separate popup browser window in Carbon theme. Its found in the navigator.tpl line 75 as follows;

<td class="gsActionIcon">
<div class="buttonPopup"><a href="{$smarty.capture.url}" target="_blank"
onclick="popImage(this.href, '{$theme.item.title|escape:"quotes"}'); return false;"
title="{g->text text="Full Size"}"></a></div>
</td>

How to put into the Matrix theme? Do u know?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2011-04-27 11:20

you'll need to get the popImage function from the carbon javascript and the buttonPopup class from the carbon css as well.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
ckleiman

Joined: 2006-07-05
Posts: 26
Posted: Wed, 2011-04-27 16:57

Thanks. Will give it a try. In the meantime, do u know why there's no G3 integration for Drupal? especially given the fact this is a Drupal site, I think? What are your thoughts?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2011-04-27 21:11
Quote:
do u know why there's no G3 integration for Drupal? especially given the fact this is a Drupal site, I think? What are your thoughts?

there is no embed API for G3 yet. Not till 3.1
Not for Drupal, not for Joomla, not for WP none... nada... still.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
ckleiman

Joined: 2006-07-05
Posts: 26
Posted: Wed, 2011-04-27 22:19

That's a drag. G3 looks to be a big improvement, however, prefer to embed so looking at G2. I think the matrix theme is best, however, I like the behavior of the Carbon theme showing full size in separate browser window. Have tried implementing into matrix without success, so far. These themes are not so easy to modify. Do you think its even possible or am I just wasting time?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2011-04-27 22:22
Quote:
Do you think its even possible

Absolutely

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
ckleiman

Joined: 2006-07-05
Posts: 26
Posted: Thu, 2011-04-28 15:07

I mean for a newbie? Unfortunately, I'm not a great hacker. It seems reasonable enough to me one should be able to put the Carbon theme full size image code into the Matrix theme, modify the css, copy the js file into the matrix theme and it should works, right? So far, I've tried without luck. Am I missing something?