626

(5 replies, posted in Showkase Support)

You can embed a YouTube video into any Showkase page which has a text editor where you can paste HTML code (basically any page type except a Gallery Index Page or a Navigation Link).
I would recommend using a Basic page as other pages (such as About, Contact or Gallery pages) may have set layouts and expect other content to be displayed.

On a YouTube video page, you should see a 'Share' icon immediately below the video itself. If you click this, it should reveal the 'Share' section with 'Share', 'Embed' and 'Email' tabs. Click on the 'Embed' tab and YouTube will present you with the required iframe embedding code.
Just copy this code and paste it into the text editor on your Showkase page. Make sure that you click 'Source' on the text editor's toolbar first to enter Soure Mode (otherwise the embedding code will just be displayed on your Showkase page as plain text).

Showkase has its own video fitting routine so you shouldn't need to worry about changing any dimensions.

Is there anyway to show the starting video frame within a gallery page?

Unfortunately, this is not possible.

627

(10 replies, posted in Showkase Support)

The first one I tried worked but i've now swapped to the address you suggested which also works.

If you hardcode the 'www' subdomain in the path, then your gallery might work only when visitors go to www.boxofbirds.kiwi.nz and not boxofbirds.kiwi.nz. The code I posted (with the leading slash to denote your root directory) should work for both addresses.

The only problem is that the social and navigation icons are not displaying now.

I have just viewed your gallery and the icons seem to display fine.
I'm not sure if you have solved your problem or if you are still experiencing difficulties but if you still cannot see the icons, then try clearing your browser's cache before reloading your web page to see if this helps.

Also, please bear in mind that the icons are characters in a custom font so make sure that you do not have any global CSS rules which might set a font-family for everything on your page and which might override the gallery's own font. It is not possible to isolate a Juicebox gallery (or any other element on a web page) from global CSS rules and Juicebox will have no option but to inherit such rules. If you do find such a global font-family CSS rule, then try applying it to only those elements on your web page which require them through use of ids and classes.
(This is perhaps one good thing about using an iframe: it isolates the gallery from all other code on the web page that it is loaded into.)

628

(10 replies, posted in Showkase Support)

Anyway, I have tried your first option with the iframe and it has resolved the transparency problem. thanks!

That's great! Thank you for letting me know.

I would like to use the baseURl method but it doesn't seem to work. (no gallery visible)


Sorry, my mistake. The baseUrl method should work fine. Juicebox galleries within Showkase share a common 'jbcore' folder so the path to your 'jbcore' folder was incorrect in my code above.
Please try the following code:

<!--START JUICEBOX EMBED-->
<script src="/showkase/_viewers/juicebox/jbcore/juicebox.js"></script>
<script>
  new juicebox({
    baseUrl : '/showkase/gallery/',
    containerId : 'juicebox-container',
    galleryWidth : '100%',
    galleryHeight : '800',
    backgroundColor: 'rgba(0,0,0,0)'
  });
  </script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

629

(10 replies, posted in Showkase Support)

Thank you for providing the URL to your web page. I now see the problem.
Your gallery does have a transparent background but the background color of the page that the gallery is embedded into (the Showkase page that you load into your iframe) has a background color of #222222.
You will need to make the background of the Showkase gallery page transparent, too.

Open the '_themes/manager/css/custom.css' file in a plain text editor and add the following code:

body, html {
    background-color: transparent !important;
}

Alternatively, instead of using an iframe, you could embed the gallery directly into your web page using the baseUrl method as documented here (and set the gallery's background to be transparent in the embedding code).

Just replace your iframe code with the following:

<!--START JUICEBOX EMBED-->
<script src="/showkase/gallery/jbcore/juicebox.js"></script>
<script>
  new juicebox({
    baseUrl : '/showkase/gallery/',
    containerId : 'juicebox-container',
    galleryWidth : '100%',
    galleryHeight : '800',
    backgroundColor: 'rgba(0,0,0,0)'
  });
  </script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

This has none of the drawbacks that using an iframe has (please see here for details) and avoids the need to add any custom CSS to your Showkase pages.

630

(10 replies, posted in Showkase Support)

I'm using a Pro viewer, does this make any difference?

No, setting a gallery's background to be transparent is the same for both Juicebox-Lite and Juicebox-Pro.
Please post the URL to the web page containing your iframe so that I can take a look and investigate further. Thank you.

631

(10 replies, posted in Showkase Support)

First of all, you will need to set the gallery's 'Gallery background color opacity' to 0 (to set the background to be fully transparent) in the Juicebox page's 'Gallery Lite Options' section.

Then, for Internet Explorer, you may also need to use the allowtransparency="true" attribute in your iframe as follows:

<iframe src="/showkase/gallery/index.html" width="800" height="600" allowtransparency="true" frameborder="0" scrolling="no"></iframe>

632

(1 replies, posted in Showkase Support)

Great site!
Your home page certainly lends itself to a landscape display (rather than the standard portrait-orientation of most mobile devices), though.
Instead of using the manual layout that you currently do, you might like to consider using a standard Showkase Juicebox page and then entering your body text in the page's editor (which would be displayed below the gallery).
This should look fine on desktop monitors and might look a little more pleasing on small-screen portrait-orientation devices.

633

(6 replies, posted in Showkase Support)

I still need to make the caption area big enough for three lines of text.

Try increasing the captionHeight (in the 'Caption' section) from its current value to 40 to something large enough to accommodate your three lines of text. (The default value for captionHeight is 120.)
This should hopefully solve your problem.

Is there any way to make the gallery lower on the page?

You could push your SimpleViewer galleries down SimpleViewer Gallery Pages by editing the '_themes/base/pagetypes/simpleviewer.tpl' file in a plain text editor and adding a few HTML line breaks <br /> at the start of the {block "content"} section. Alternatively, you could add custom content instead of using <br /> tags.
Please note that this will apply to all SimpleViewer Gallery Pages within your Showkase site.
Also, after pushing the galleries down your pages, you might want to decrease the height of the galleries (so that users do not need to scroll down the pages to see the bottom of the galleries). You can do this in the Showkase interface by editing a SimpleViewer Gallery Page, scrolling down to the 'Override Theme Settings' section and entering a negative number (such as -200) for 'External fit px'. (Then click 'Update' and 'Publish').

634

(9 replies, posted in Showkase Support)

Why didn't it work before?

Possibly due to caching problems.
However, I'm glad you're now seeing what you should be seeing.

Have you tried just using a 100% x 100% iframe such as the following?

<iframe src="index.html" style="width: 100%; height: 100%;" frameborder="0" scrolling="no"></iframe>

It might be worth trying.

Another thing you might like to try is to use JavaScript to listen for a change in the user's browser window size and then assign new dimensions to your iframe accordingly.
There are examples of this technique in the Using a Resizable Gallery with a Header support section. In the online examples, JavaScript is used to dynamically set the gallery's dimensions. You could copy and modify the code as required to set your iframe's dimensions instead.

636

(4 replies, posted in Showkase Support)

Yes. If you still see an older version of your gallery after completely clearing your browser's cache, then the problem is likely to be with server-side caching (your server may be serving older versions of your gallery files).

637

(9 replies, posted in Showkase Support)

Is there any way to have instant keyboard focus so the user can use the arrow keys to change slides without first having to click on an image?

As noted in the short description for enableKeyboardControls in the Config Options page:

The gallery must be clicked on by the user to enable keyboard controls.

Having said that, you might like to try the following suggestion.
Open the '_themes/kosel/js/custom.js' file in a plain text editor and add the following code:

jb.onInitComplete = function() {
    $('#juicebox-container').find(':first-child').focus();
};

The code uses jQuery but Showkase already loads jQuery into web pages so there is no need to manually add jQuery to your site.
The code also relies on the juicebox object having been assigned the variable name 'jb'. This is already the case for all Juicebox galleries created within or inported into Showkase. However, if you embed your gallery manually, you will need to ensure that you use var jb = new juicebox({ instead of just new juicebox({.

The key to your other problem is to always leave the gallery's height at 100% in the embedding code. (Under normal circumstances, there should be no need to manually edit an HTML page created by Showkase.)
Showkase has its own gallery fitting routine to best display the gallery on the page (and always sets a gallery's height to be 100% when you create or import a gallery within the Showkase interface).
Showkase pages are responsive and change depending on the size of the user's browser window.
Manually setting a fixed height for a gallery by editing an HTML page directly is going to cause problems. (Showkase has no knowledge of any manual editing you may do and expects the height to be 100%.)

With default settings, the bottom of a gallery will rest on the bottom of the browser window (no matter what the height of the browser window is) and the user can vertically scroll down to see the page's footer below the gallery.
If you want to increase the height of your gallery, edit your Juicebox gallery page in Showkase, scroll down to the 'Override Theme Settings' section and entering a positive number for 'External fit px'. (Be sure to click 'Update' and 'Publish' afterwards.)

No problem. I'm glad it was an easy fix.

639

(9 replies, posted in Showkase Support)

First of all, it looks like you might need to increase the maxCaptionHeight (from its current value of 20) to allow the whole caption to be displayed. When captionPosition="BELOW_IMAGE" (as in your gallery), the maxCaptionHeight is used as the actual caption height (rather than a maximum). This is noted in the description of maxCaptionHeight in the Caption Options section of the Config Options page.
If you see too much space above and below the main images in your gallery, then please see this FAQ:
My Juicebox gallery shows too much space above or below the main image, how do I fix this?
Hopefully this will help.

I have just checked the "Gallery title position" (setting it to ABOVE_THUMBS) in a test site using Showkase-Pro v1.3.5 and Juicebox-Pro v1.4.3 and it seems to work fine. (There are also no known problems with any other Pro configuration options.)
If you do not see the changes you make, then please try clearing your browser's cache before reloading your web page to ensure that your browser is fetching and using the most recent versions of your gallery files.
Also, please double-check that your galleries use Juicebox-Pro (and not Juicebox-Lite).

If you like, please post the URL to a gallery where you set galleryTitlePosition="ABOVE_THUMBS" and I will let you know what I see when I view the gallery (and I will also check the gallery's configuration options).

That's great! It sounds like you have found the control you were looking for.

642

(4 replies, posted in Showkase Support)

As I noted in another one of your threads, I suspect that what you were seeing might have been due to caching of some kind (server or browser).

A Back Button will not be displayed in a Juicebox gallery unless Back Button settings are used and if you remove the Back Button options, the Back Button should no longer be displayed. If, after removing all Back Button options, you still see a Back Button, then this is likely to be due to a cached version of your gallery's XML file being used.

643

(17 replies, posted in Showkase Support)

What would be the best process to update a Gallery that's been tweaked in Lightroom.

By far the easiest thing to do would be to trash the existing page and import the new version of the gallery making sure that the Nav Order for the new Gallery Page is the same as the old Gallery Page (so that it displays in the same menu order).

What would happen if instead of re-import.... through FTP I replaced the contents of the Juicebox gallery. Would that screw up Showkase's database?

I would not recommend this at all. You would have to upload the gallery folder to somewhere on your web server anyway and the importing process does not take long so I would certainly just upload the gallery folder to your 'temp' directory and allow Showkase to import the gallery correctly.

But when I try to name it "landscapes", suddenly it reverts to having only 7 images, which was the state of the old landscapes folder that existed before the new import.

Changing a page name should not have any effect on the images or configuration options listed in a gallery's XML file. It sounds like there may be some server-side caching going on which is causing your problems. (When you revert to an older page name which previously existed, the corresponding older version of your gallery's XML file seems to be used. If you have since modified the gallery, then it sounds like the data must be coming from a cached version somewhere.)
If your web server is caching files, try switching it off to see if this helps.

So if I had previously created a folder with the name "landscapes", trash it, and then later create another one with that name, the characteristics of the previous folder may get put onto the new one.

I cannot replicate this behavior. I created a new Juicebox gallery page, named 'landscape', with a couple of images and a couple of custom settings. The gallery displayed as expected. I then trashed the page and the 'landscape' folder was moved to the '_trash' folder. (The 'landscape' folder no longer existed in the Showkase root directory.)
Next, I created another new Juicebox gallery page, again named 'landscape' with two different images and all default settings. Again, the gallery displayed as expected. Only the two new images were displayed and none of the original gallery's custom settings were used. A new 'landscape' folder was created in the root Showkase directory using none of the original 'landscape' folder's data.
I suspect that what you are seeing is due to some kind of caching (whether server-side or in your browser) so please check into this to see if it might be the cause of your problems.

644

(6 replies, posted in Showkase Support)

The forum wouldn't let me post a link.

The forum has anti-spam measures in place which prevent new forum members from posting links in their first few posts. Apologies for the inconvenience.
If you try again, you should hopefully be able to post links now. If not, you can just disguise a link as follows: example dot com slash index.html

Showkase creates responsive pages by design and if you are currently using a Fixed Layout for your SimpleViewer-Pro gallery, then the height of the gallery (determined by Showkase depending on the size of the browser window) may not be large enough to accommodate the fixed height of your gallery.

Turning off the Fixed Layout (if you are currently using one) should solve your problem.

... and the External fit px to 300 with no difference at all.

Changing the 'External fit px' should certainly make a difference.
Normally, when you open a Gallery Page within a Showkase site, the bottom of the gallery rests on the bottom of the browser window (and the user would scroll down vertically to see the page's footer below the gallery).
If you were to increase the 'External fit px', then the gallery's height should be increased by the specified amount (and the user would have to scroll down vertically to see the bottom of the gallery). Increasing the 'External fit px' increases the height of the gallery.
Likewise, if you use a negative value for the 'External fit px', then the height of the gallery will be reduced.
If you do not see a difference when setting a value for 'External fit px', then please try clearing your browser's cache before reloading your Gallery Page and try a 'before' and 'after' comparison.

Please note that even if you increase the 'External fit px', the height of the gallery will essentially be (Browser Window Height + Specified External fit px) and if the browser window height is small, then the actual gallery height still may not be large enough to accommodate a Fixed Layout.

I need the ShowKase pages to look somewhat like the old pages and I don't know how to do that without a fixed layout.

If you let me know exactly what layout you are trying to achieve, I might be able to help.

645

(17 replies, posted in Showkase Support)

If I may tag onto this thread --- I'm sorry, it's listed as "solved" but I'm having some problems related to the thread.

I've moved your query to a new forum thread to keep each case separate. You may have similar symptoms to another user but the solution may be different. (The original poster's solution was to remove an 'open_basedir' restriction and turn off Safe Mode.)

Are you familiar with all the PHP directives which are used by Showkase and which ones I should change in the configuration?

There are too many PHP directives to list individually but the Showkase Server Compatibility Test should flag any problems which should be addressed.

But what's going to happen when I reupload some changed images from Lightroom? Should I re-import? Trash then import? This really seems counterproductive.

Showkase was designed with the idea that galleries would be created and edited within the Showkase interface. The import functionality was added as a convenience for users who already had existing Juicebox galleries and did not want to have to recreate them all from scratch.
If you want to add images to an existing gallery which has been imported into Showkase, just edit the gallery page in question, go to the 'Upload' tab and upload your additional images.

Mouse over image and you will see the recalcitrant back button text and a functional link.

I do not see a Back Button in the gallery whose link you provided. (Perhaps you have changed the gallery since I have had a chance to look.)

I can't find ANYTHING in the configurations that include a back button request or a link.

I can't imagine that a Back Button would have been present in a Juicebox gallery without some Back Button configuration options being set. However, I would really need to see the problem for myself to be able to troubleshoot it further.

Wow....  with standard permissions, Showkase can hardly do anything right.

Just for the record, I've installed Showkase on several different web servers (each with a slightly different configuration, no doubt), but I've never had to change any permissions to get Showkase to work.
I do not know why you may need permissions of 777 on your own web server but if this is the only thing that works, then you might need to keep them. More information on file permissions within Showkase can be found here.

As long as I name my folder and nav menu something other than Landscapes, I do not have the back button bug.

It sounds like the problem may be to do with caching. Try completely clearing your browser's cache before reloading your web site to see if this helps.

If you continue to experience difficulties, then we should perhaps try to tackle each issue individually.

First of all, with permissions set to 777 (which seems to work on your web server), make sure that all tests in the Showkase Server Compatibility Test pass OK. If any tests still fail, then they should be looked into further.

Also, if you still have a gallery which still displays a Back Button, please post the URL so that I can take a look at the configuration options from my end (using a browser that has never visited your web site) to see if any Back Button settings are being used.

[Query moved to new thread to keep each case separate.]

646

(6 replies, posted in Showkase Support)

Please post the URL to your gallery's web page so that I can take a look at the problem and hopefully help.
The problem may be to do with SimpleViewer or Showkase but without being able to see the problem, I do not know.

In a Showkase site where the size of the gallery is dynamic (depending on the size of the user's browser window), it might be wise to not use a Fixed Layout. Please try this to see if it helps.

Depending on the layout of your SimpleViewer gallery, you might also need to set floatCaption="FALSE" (in the 'Caption' section) to ensure that the height of the caption area is taken into account in your gallery's layout.

Also, you could try editing your SimpleViewer gallery page in Showkase, scrolling down to the 'Override Theme Settings' section and entering a positive number for 'External fit px' to increase the height of your gallery on your page. (Be sure to click 'Update' and 'Publish' afterwards.)

Hopefully one of these suggestions will help but, if not, please let me know the URL to your gallery so that I can take a look and help further.

You might like to take a look at this forum thread, entitled "How to get an IFrame to be responsive in iOS Safari?". It might help with your problem. http://stackoverflow.com/questions/2308 … ios-safari
If you need to add any custom CSS to your Showkase web pages, you can add it to the '_themes/theme_name/css/custom.css' file as noted here.

648

(3 replies, posted in Showkase Support)

You're welcome!
I'm glad it works. Thank you for letting me know.

649

(9 replies, posted in Showkase Support)

That's great!
Thanks for letting me know.

650

(3 replies, posted in Showkase Support)

The maximum width of the image may be limited by the page's layout.

If you currently use a '1-column-narrow' layout, please try the following:
(1) Go to 'Site -> Customize Theme'.
(2) Scroll down to 'All Pages'.
(3) In the 'Body text layout', select '1-column wide'.

Hopefully this will help.