Modules: Shadowbox 3 integration - v.1.9
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
sluggy wrote:
OK. I'm using the grey dragon theme now. I'm unable to get this behaviour. Do I need to add custom css to get this behaviour? Also how can I remove the space between the images similar to your site and can I do this on an album by album basis? did you install 3.1 beta? (it is special link from dedicated beta thread |
|
undagiga
Joined: 2010-11-26
Posts: 693 |
![]() |
Feature request: Option for overlayOpacity In previous versions (1.6) I was able to edit ui.support.js in the Greydragon theme (3.0.6) to include "overlayOpacity: 0.9" as a parameter. This means that the overlay stands out a lot better over the clutter of the resize page. I guess I could do the same to shadowbox-init.js in V1.8, but I'd need to repeat this each time I changed the admin settings. U-G |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
Will check |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
version 1.9 is up:
|
|
undagiga
Joined: 2010-11-26
Posts: 693 |
![]() |
V 1.9 with overlayOpacity works like a charm. Thank you. |
|
eddy@inpulsearts.com
![]()
Joined: 2009-08-04
Posts: 14 |
![]() |
After installing and activation I get the following error. ? |
|
undagiga
Joined: 2010-11-26
Posts: 693 |
![]() |
You're not using the Greydragon theme I take it. Some themes need modifications to be able to use Shadowbow. See the Codex for details for how to get it to work in the Wind theme. |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
eddy@inpulsearts.com wrote:
After installing and activation I get the following error. you did not install module correctly |
|
Billan
Joined: 2003-09-12
Posts: 31 |
![]() |
Is there a way to have the intermediate size image (set to 1280 in your theme) used for the shadowbox window? I see it shows (fullsize-link), can this be changed? My full size images are 5+mb so it takes a long time to open the window. |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
in general it is up to the theme |
|
Billan
Joined: 2003-09-12
Posts: 31 |
![]() |
Serge D wrote:
in general it is up to the theme My old G2 site had 3 sizes, inital page load, click to open intermediate, then a link to the full. Since this is a protected family gallery I want the ability for the full to be downloaded (for printing etc). I am using your GreyDragon theme and I don't see a place to set another image size. Any way around this? Thanks! |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
Theme is not designed to provide such option at this time |
|
krishansen
Joined: 2011-11-17
Posts: 5 |
![]() |
Ok, first, I LOVE shadowbox and fancybox! I'm using clean canvas wide, and am trying to figure a way to use either shadow or fancy in such a way that they display at 100% of the window size, and allow for full size download. I can find neither at the moment. Thanks! |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
you would need to play with settings - http://www.shadowbox-js.com/options.html adjusting shadowbox-init.js |
|
krishansen
Joined: 2011-11-17
Posts: 5 |
![]() |
Serge, Thanks for getting back to me! My issue is, I'm not a coder, so I need a little help. I suppose if I can be lead to where I can define the viewport padding, or something to make the displayed image as large as possible, that would be great. Also, is there a way to add the "download this image" link to the box? |
|
petri
![]()
Joined: 2005-12-15
Posts: 253 |
![]() |
Hi Serge, I love the Shadowbox, thank you for adding this to your great theme ! Although it is currently not working on my site, (opening the full pic but I guess it's some minor fix), I would love to have it take a bigger part on my website. Do you think it is possible to customize Shadowbox this way ? I mean insert a G3 comment block inside it ? ------ |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
Shadowbox itself does not change the theme so there is no way to block the photo page |
|
undagiga
Joined: 2010-11-26
Posts: 693 |
![]() |
Serge D wrote:
About comment integration, have not tried this. I believe some did make attempt to make it possible, I do not know if succeed You may be referring to me, as I expressed a similar interest a while back. I've done nothing about it. Perhaps it was someone else. Anything is possible. The questions are, how much work would it be and what skills would it need? U-G |
|
geodementia
Joined: 2012-02-16
Posts: 6 |
![]() |
I cannot get Shadowbox to work If I view the page source of the album, the hrefs for the images themselves do not contain a rel="g-preview" directive - I believe this is the trigger within the CSS to launch shadowbox? (I compared the source with one of the demo sites for the GD theme) If I check the gallery3 Advanced Settings, under Shadowbox I see shadowbox settings a:0:{} I'm not sure if this is the right string here.... Are there any tricks to getting it to work? I'd love to get it going so I can migrate all of my gallery2 albums over to gallery3. Geoff |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
geodementia wrote:
I cannot get Shadowbox to work I do not see init script loaded for SB. most likely you have not clicked Save button from SB Admin page at least once. Serge |
|
geodementia
Joined: 2012-02-16
Posts: 6 |
![]() |
Thanks Serge, Yes I have saved the SB Admin page multiple times. It is showing up as activated, yet it is not being called. To rule out the Apache configuration I downloaded the shadowbox classes and set up a simple test page (http://webdev.gatwards.org/test.html) and that does work correctly.... Are there any logs I can check to see why the SB is not working under gallery3? Regards, |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
OK, let's try next step Serge |
|
geodementia
Joined: 2012-02-16
Posts: 6 |
![]() |
Yep: [root@webserver gallery3]# ls -l modules/shadowbox/js/ Geoff |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
Oct 13 12:05 shadowbox-init.js Oct 13? we are in February, aren't we? I do not think file was updated Average size of this file when saved is around 300 - 500 bytes. 94 is too little... Serge |
|
geodementia
Joined: 2012-02-16
Posts: 6 |
![]() |
No there is nothing in the error logs, other than errors about not finding favicon.ico (I haven't defined one so that's expected at the moment) 2012-02-17 15:56:03 +11:00 --- error: File not found: Test/lib/images/favicon.ico I've saved the shadowbox settings through the admin page many times (default values) and each time I get the green tick to say it's saved... BUT I think you have pointed us in the right direction. I changed the permissions on shadowbox-init.js to be globally writable and re-saved the parameters, and now I have: -rwxrwxrwx 1 web65 client1 430 Feb 17 16:24 shadowbox-init.js but it's still not working when I preview an image.... Regards, |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
clicking on the image here http://webdev.gatwards.org/gallery3/index.php/Test/Chrysanthemum did open shadowbox popup allowing view of all 3 images Serge |
|
geodementia
Joined: 2012-02-16
Posts: 6 |
![]() |
No there is nothing in the error logs, other than errors about not finding favicon.ico (I haven't defined one so that's expected at the moment) 2012-02-17 15:56:03 +11:00 --- error: File not found: Test/lib/images/favicon.ico I've saved the shadowbox settings through the admin page many times (default values) and each time I get the green tick to say it's saved... BUT I think you have pointed us in the right direction. I changed the permissions on shadowbox-init.js to be globally writable and re-saved the parameters, and now I have: -rwxrwxrwx 1 web65 client1 430 Feb 17 16:24 shadowbox-init.js Now when I click on the thumbnail shadowbox is not working but going fullscreen it is... Regards, |
|
geodementia
Joined: 2012-02-16
Posts: 6 |
![]() |
Sorry for duplicate posting - my browser just went beserk! I may have a cache problem here behind corporate firewall - I will try from home this evening and see if it's working there. Thanks for your help - maybe worth a note on the shadowbox module page that the -init.js file should be writable by the webserver... I've locked it down further now that I know the problem [root@webserver js]# ls -l Regards, |
|
undagiga
Joined: 2010-11-26
Posts: 693 |
![]() |
You should be aware that shadowbox has a "feature" which means that it won't work if you click the resize image before the page is fully loaded. There are a number of things that can delay the completion of the loading of the page. Your server speed is one. The social plugin modules (e.g. Facebook Like) is another, although you don't seem to have these installed. Perhaps a corporate firewall is yet another, as would be a slow connection. The other photobox modules don't have this "feature", because they're not javascript-activated. I'd really like to solve this "feature" of SB, as I prefer it to the others. U-G |
|
sickonede
Joined: 2012-04-12
Posts: 6 |
![]() |
Hello Serge, I use dragontheme and shadowbox and it is wonderful. Thank you for this great work. I have two questions: 1) Some icons on the uper right menu bar ar cut at the bottom, becaus ethey hve a size of 34x27 pix (e.g. icons from module "Download Album" or "Exif GPS"). The other icons, which fit, are 26x21 and 22x22 pix. Is there a way to open up space (modify code / css?) that all icons are displayed correctly? 2)When I click on photo page on an image shadowbox opens up, but is loading very long (10-30sec for 3 images in the album with full size size of ca. 200kb each over a 20mbit dsl line) until the first image shows up. Only the loading animation is visible. Then I tried fancybox and the first image appears within a second. It seems to me, that shadobox first preloads alle the images of an album before displaying the first one. I couldn't find an option to change that. I would prefer continouus preloading and displaying the first image as soon as possible. Is there a difference for fancybox or shadowbox if I encode my jpegs as progressive scans? I couldn#t see an advantage in loading speeds... Would be nice, if you could help me, because I like shadowbox more. Thanks for your help in advance Marcus |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
sickonede wrote:
1) Some icons on the upper right menu bar are cut at the bottom, because they have a size of 34x27 pix (e.g. icons from module "Download Album" or "Exif GPS"). The other icons, which fit, are 26x21 and 22x22 pix. Is there a way to open up space (modify code / css?) that all icons are displayed correctly? I would suggest to make icons smaller instead, it would be easier. sickonede wrote:
2)When I click on photo page on an image shadowbox opens up, but is loading very long (10-30sec for 3 images in the album with full size size of ca. 200kb each over a 20mbit dsl line) until the first image shows up. Only the loading animation is visible. Then I tried fancybox and the first image appears within a second. It seems to me, that shadobox first preloads all the images of an album before displaying the first one. I couldn't find an option to change that. I would prefer continuous preloading and displaying the first image as soon as possible. it is two different systems so they may work differently Serge |
|
shidarin
Joined: 2005-09-27
Posts: 14 |
![]() |
smallIT
Joined: 2012-10-28
Posts: 7 |
![]() |
Hi, |
|
mike365
![]()
Joined: 2012-10-30
Posts: 1 |
![]() |
Did you get resolution to the above? |
|
solareclipse2
Joined: 2013-07-19
Posts: 1 |
![]() |
I just installed shadowbox on my gallery3 gallery and removed the plugin but my photos are still shadowboxing. When shadowbox was installed I could not see the close icon or anything else butt he photo. If I clicked off of the photo it would close but I'd like the icons. Furthermore, if it was a small photo it would not center on the screen it would display at the top. Only large photos would be centered on the screen. Can someone either help me remove shadowbox completely (deleting the plugin from my ftp did not work) or help me fix the issues that I have? Thanks |
|
costu
Joined: 2013-08-23
Posts: 2 |
![]() |
I am using Gallery 3.0.9 and the latest version of Shadowbox and have two questions. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
I have a new slideshow for G3 almost complete http://testr.suprsidr.com/gallery3/index.php/diffs <- click the slideshow button. All I have left to do is add tag support. -s |
|
undagiga
Joined: 2010-11-26
Posts: 693 |
![]() |
costu wrote:
I am using Gallery 3.0.9 and the latest version of Shadowbox and have two questions. Which theme are you using? I have been working with rWatcher to solve problems with the Greydragon theme, and one of them was pretty much this. There is a patch rWatcher provided at the end of the tag albums thread: http://galleryproject.org/node/102022?page=4#comment-405593 which I think should also work for shadowbox. If it's another theme then it won't work. |
|
undagiga
Joined: 2010-11-26
Posts: 693 |
![]() |
suprsidr wrote:
I have a new slideshow for G3 almost complete http://testr.suprsidr.com/gallery3/index.php/diffs <- click the slideshow button. This would be a great leap forward! The Cooliris slideshow is not very good. By which I mean that it's slow to load and its image resizing produces terrible image quality. Tag support is highly relevant for me. My gallery relies heavily on being able to navigate tags and tag albums and other dynamic pages. I rely very much on the new tag navigation code introduced around 3.0.3 0 3.0.4 and also on rWatcher's tag albums module. He and I have been working offline in recent days to fix some bugs regarding the way that all this works in Greydragon. I'll post our findings when we've finished. (When I say "he and I have been working" what I really mean is that I've been finding problems and rWatcher has been kind enough to fix them, and I'm very, very grateful for his assistance.) But something that we haven't been able to do is get the cooliris slideshow to work with such dynamic albums, given its dependence on RSS. It would be really great if yours could. Is your new slideshow something that we're likely to be able to use with G3.0.9 or will we have to wait for G3.1, as I see that your site is running build 365 of the beta for G3.1? |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
undagiga wrote:
Is your new slideshow something that we're likely to be able to use with G3.0.9 or will we have to wait for G3.1 I was asked to create a new slideshow module for 3.1 to replace cooliris, but I see no reason it would not work for 3.0.x BTW Galleria has other themes. I have purchased Twelve and Miniml <- Don't think Miniml would work for G3 -s |
|
undagiga
Joined: 2010-11-26
Posts: 693 |
![]() |
I'd like to ask some further questions, but rather hijack the Shadowbox thread, perhaps you could start a new one and I could then ask? |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
http://galleryproject.org/node/111999 -s |
|
costu
Joined: 2013-08-23
Posts: 2 |
![]() |
I am using the CleanCanvas theme so what you mention doesn't seem like it will work. |
|