You are not logged in. Please login or register.
Active topics Unanswered topics
Juicebox v1.5.1 Released!
Search options (Page 210 of 235)
It looks like your WordPress installation is inserting <p> and <br /> tags in your embedding code which is adding extra space between the text 'Cakes' and the top of the gallery.
If you look at the source of your web page, your gallery's embedding code looks like this:
<p><!--START JUICEBOX EMBED--><br />
<script src="http://www.clairscakes.com/gallery2/cakes/jbcore/juicebox.js"></script><br />
<script>
new juicebox({
containerId : 'juicebox-container',
baseUrl : 'http://www.clairscakes.com/gallery2/cakes/',
});
</script></p>
<div id="juicebox-container"></div>
<p><!--END JUICEBOX EMBED--></p>
... whereas, it should look like the code in your original post.
When entering the embedding code, make sure that the method of entry is 'HTML' rather than 'Visual'.
If that does not help, try temporarily reverting to the default WordPress theme to see if your current WordPress theme is the cause of the extra HTML tags.
You could hide the thumbnail navigation buttons by adding the following to your gallery's 'jbcore/classic/theme.css' file:
.jbn-nav-button { display: none !important; }
However, this would not help as the logic behind the gallery's layout is contained within the 'juicebox.js' JavaScript file which is obfuscated and cannot be modified. Juicebox would still reserve space for the thumbnail navigation buttons depending on the value of the thumbNavPosition configuration option, regardless of whether or not you hide the buttons using CSS.
Also, if the user has a small browser window (in which Juicebox would display fewer thumbnails), then there would be no way to jump between thumbnail pages.
You should be able to embed a Juicebox gallery by using either the baseUrl or iframe method documented here.
If you are unsure as to what the relative paths should be within your gallery's embedding code (which can be difficult to figure out in a CMS environment), try using absolute paths instead, e.g.:
<!--START JUICEBOX EMBED-->
<script src="http://www.example.com/my_gallery_folder/jbcore/juicebox.js"></script>
<script>
new juicebox({
containerId : 'juicebox-container',
baseUrl : 'http://www.example.com/my_gallery_folder/',
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->
... or:
<iframe src="http://www.example.com/my_gallery_folder/index.html" width="800" height="600" frameborder="0" scrolling="no"></iframe>
Will I need to use the baseUrl type instructions for the Joomla example?
Please see the Embedding in a Joomla Site section of the Juicebox Embedding Guide for instructions.
You could use either the baseUrl or iframe method of embedding but I would recommend using the baseUrl method as the iframe method has certain restrictions which the baseUrl method does not have. Please see here for details.
I am not sure exactly what you are trying to do but you can style captions using HTML tags within the captions themselves.
For example, you could enter a caption such as the following into an image's caption field in the 'Images' tab of JuiceboxBuilder-Pro to achieve a multi-line caption with different indentations for each line.
<span style="margin: 20px;">Line 1</span><br /><span style="margin: 40px;">Line 2</span>
There are also configuration options available (such as maxCaptionHeight) which might help with your scenario (depending on where in your gallery your captions are positioned).
Otherwise, if you wish to modify the 'jbcore/classic/theme.css' file, the section which deals with the gallery caption area can be found starting at line 193 of the Juicebox-Pro v1.2.0 version.
Relative paths within a gallery's embedding code are relative to the HTML page which contains the embedding code so the embedding code for your gallery on the http://www.scorpiontree.com/design/ page would be:
<!--START JUICEBOX EMBED-->
<script src="../svmanager/g2/jbcore/juicebox.js"></script>
<script>
new juicebox({
containerId : 'juicebox-container',
baseUrl : '../svmanager/g2/',
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->
Alternatively, you could use absolute paths within the embedding code:
<!--START JUICEBOX EMBED-->
<script src="http://www.scorpiontree.com/svmanager/g2/jbcore/juicebox.js"></script>
<script>
new juicebox({
containerId : 'juicebox-container',
baseUrl : 'http://www.scorpiontree.com/svmanager/g2/',
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->
Otherwise, you could use WP-Juicebox, the dedicated Juicebox plugin for WordPress (which uses recommended embedding code such as that above and not an iframe).
Having set all the margin and padding options in the 'jbcore/classic/theme.css' to zero with no difference in the gap you describe, it looks like this margin of 10px is hardcoded in the 'jbcore/juicebox.js' file and as this file is obfuscated, it cannot be modified.
Please see this FAQ: Does Juicebox-Pro include the source code?
JuiceboxBuilder-Pro reserves space for elements such as the thumbnail navigation arrows and uses the maxThumbRows configuration option as a maximum value (the actual number of thumbnail rows displayed may be less that this value depending on the height of the user's browser window). In a browser window of limited height, there may be enough room to display only one row of thumbnails.
Try viewing your gallery in a browser (rather than just in the live preview window of JuiceboxBuilder-Pro) and maximize the window by pressing F11. This will allow the maximum height possible for the browser window on your monitor and you may then see three rows of thumbnails.
JuiceboxBuilder-Pro does not retain IPTC (or EXIF) data from the original images when generating new resized images.
A workaround would be to resize your images in Photoshop prior to feeding them to JuiceboxBuilder-Pro and deselect the 'Resize Images' checkbox (in the 'Image Size' control panel on the 'Images' tab) so that JuiceboxBuilder-Pro simply copies your images across into the gallery's 'images' folder, complete with the embedded meta data.
Make sure that all the container's of your gallery have heights specified via CSS.
Your gallery is currently nested within the 'Container', 'background' and 'master' divs but only the 'Container' div has been given a height.
For example, try adding the following code to the CSS section of your web page:
#background, #master {
height: 100%;
}
Make sure that you are using the latest versions of both Adobe Air (v3.5) and JuiceboxBuilder-Lite (v1.2.0).
The latest version of Adobe Air can be downloaded from this web page.
Please see the Upgrading Juicebox web page for instructions on how to download and install the latest version of JuiceboxBuilder-Lite.
If this does not help, try manually deleting the following folder:
Mac: /Users/your_username/Library/Application Support/Adobe/AIR/ELS/JuiceboxBuilder-Lite
Windows (XP): C:\Documents and Settings\your_username\Application Data\Adobe\AIR\ELS\JuiceboxBuilder-Lite
Windows (Vista, Win 7): C:\Users\your_username\AppData\Roaming\Adobe\AIR\ELS\JuiceboxBuilder-Lite
Juicebox does not scale thumbnail images (it crops them instead) and your problem arises from your WordPress installation creating and using thumbnail images of 130px x 120px and your gallery using settings of thumbWidth="81" and thumbHeight="64".
Workarounds would be to either:
(1) Set the thumbWidth and thumbHeight configuration options to the same dimensions as your WordPress Media Library Thumbnail Size.
... or:
(2) Change the WordPress Media Library Thumbnail Size (in the 'Dashboard -> Settings -> Media' section) to the same dimensions as your thumbWidth and thumbHeight configuration options.
It looks like the bottom of your Juicebox gallery is being obscured by the 'footer3' div on your web page (and the second row of thumbnails is being displayed by Juicebox but is hidden from view).
Check the CSS heights of all containers on your web page and make sure that everything add up correctly to see if this helps solve your problem.
If you are using the BulletProof Security plugin, you will need to add a bypass rule to your root .htaccess file to allow WP-SimpleViewer to function correctly.
Add the following code to your root .htaccess file:
# Juicebox skip/bypass rule
RewriteCond %{REQUEST_URI} ^/wp-content/plugins/wp-juicebox/ [NC]
RewriteRule . - [S=13]
If you are not using the BulletProof Security plugin, then try deactivating all your installed plugins other than WP-Juicebox and re-activate them one by one (checking your WP-Juicebox functionality after each one) to see if you can find a conflict.
I want to add images into the middle of a large gallery. I can do this by the images menuor by dragging and dropping, but always the images are added at the end. This requires a tedious select and scroll of the image list to put the new images where I want them. Is there a better way?
You can move multiple images at once in the 'Images' tab in JuiceboxBuilder-Pro by Ctrl-clicking several individual thumbnail images at once or by Shift-clicking the first and last thumbnail images of a selection. The thumbnail images will not be highlighted (as you have discovered) but by dragging and dropping the selection, all the selected images will be moved at once in a single action.
It looks like the CSS of your WordPress theme may be conflicting with the CSS of the Juicebox gallery.
If there are any general CSS rules on the web page which apply to all divs or to all images, then they will also apply to all divs or to all images within the Juicebox gallery.
Try temporarily reverting to the default WordPress theme to see if this makes a difference.
I tried it myself before posting (with Photo Mechanic v4.6.9 and JuiceboxBuilder-Pro v1.2.0) and it worked fine for me.
If you are using a different version of Photo Mechanic, try adding IPTC data to a test image.
Insert different text to every available IPTC text field and then see if JuiceboxBuilder-Pro picks up anything for the Caption and Title. Perhaps the IPTC fields are labelled differently in different versions of Photo Mechanic.
If you continue to experience difficulties, please upload one of the images that you are having trouble with (and provide a download link) so that I can try it for myself and investigate further.
You could initially hide the main image by adding the following to the CSS of your main page into which the gallery is embedded:
.jb-dt-main-frame { visibility: hidden; }
... and then, using the API onImageChange(id) method and JavaScript, set the visibility to 'visible' when a thumbnail is clicked.
As the image filenames form part of a URL when uploaded to your web server, make sure that the filenames use only web-safe characters.
Please see section 2.3 of this document for details.
Characters that are allowed in a URI but do not have a reserved purpose are called unreserved. These include uppercase and lowercase letters, decimal digits, hyphen, period, underscore, and tilde.
Make sure that you are entering the data into the correct fields in Photo Mechanic.
When using Photo Mechanic to add IPTC data to your images, JuiceboxBuilder-Pro takes the 'IPTC Caption' from Photo Mechanic's 'Caption' field and the 'IPTC Title' from Photo Mechanic's 'Object Name' field.
The default image resizing settings for JuiceboxBuilder-Pro (1024px x 768px, 80% quality) usually generate images of a quality suitable for web gallery use provided that the original images are not too small.
First of all, make sure that you are using the most recent version of JuiceboxBuidler-Pro (v1.2.0).
Please see the Upgrading Juicebox section of the support pages if necessary.
Also, make sure that the 'Max Image Size' dimensions are not set too low in the 'Image Size' control panel on the 'Images' tab.
If you continue to experience difficulties, please post the URL to your gallery so that I can take a look and, if possible, please upload (and provide a download link for) one of your original images so that I can investigate further. Thank you.
Try validating your web page with the W3C Markup Validation Service and fix the errors reported (there are currently 7 errors and 2 warnings on the page).
Although most of the problems seem to be trivial, once your page's code validates against the Doctype Declaration you use, it should be rendered with greater consistency across different browsers.
Please see here for more information about Juicebox and Doctypes.
If you continue to experience difficulties, try temporarily removing your own custom CSS (the 'base.css' and 'gallery.css' files) from your web page to see if this makes a difference.
Also, your gallery has entries such as:
Juicebox expects a numeric value for such configuration options so try using:
... instead.
You could perhaps adapt the SimpleViewer SEO script from this web page for use with Juicebox as SimpleViewer and Juicebox share a very similar format for their XML files.
In order to embed a Juicebox gallery in any web page, you will need to be able to do two things:
(1) Upload your gallery folder to a web server
(2) Insert HTML embedding code into the web page
Please check with Opencart support to see if they allow you to upload files and folders to the web space that they provide.
If they do not, you would need to find an alternate host for your Juicebox-Pro gallery, such as Dropbox.
Please see this forum thread for instructions on how to upload a Juicebox-Pro gallery to Dropbox.
If using Dropbox, you would then need to insert an iframe (documented as Option #2 here) into your Opencart web page.
Again, please check with Opencart support to see if they allow the use of iframes in their web pages.
It certainly sounds like the paths to the 'juicebox.js' file and your baseUrl are incorrect but without seeing the gallery and knowing the structure of your web site and locations and names of all your files, it is impossible to know exactly what the paths should be.
If your Joomla installation is in a folder named 'joomla' in your root directory and your gallery is in a folder named 'juicebox_gallery' within the 'joomla' folder, then the following embedding code should work fine.
<!--START JUICEBOX EMBED-->
<script src="/joomla/juicebox_gallery/jbcore/juicebox.js"></script>
<script>
new juicebox({
containerId : "juicebox-container",
baseUrl : "/joomla/juicebox_gallery/",
galleryWidth: "90%",
galleryHeight: "90%",
backgroundColor: "rgba(51,51,51,0)"
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->
Posts found: 5,226 to 5,250 of 5,851