1 (edited by tove 2014-01-07 09:45:40)

Topic: Need some assistance with presets and fonts

Im working on some galleries, and Im experiencing some issues.

Im having issues with fonts not showing right, can anyone show me the correct way to write in multiple fonts in the gallery font face box?

Lastly, Im making several galleries and want them all to have the same appearance, so I made a preset. However when I add the preset to a new gallery, it also copies the gallery name, which is an easy fix I suppose, but in addition to the config.xml I now get all the presets I ever made copied into the same folder, so I now have test1.xml and custom.xml together with the config.xml file, is there any way to prevent this? Ive deleted all my custom preset files but they still show up when I publish the gallery.

Thanks! :)

edit: Seems like the thumbs issue was my fault, sorry!

Re: Need some assistance with presets and fonts

You can set only a single font for gallery text using the galleryFontFace configuration option (in JuiceboxBuilder-Pro's 'Customize -> General' section).

If you want to use multiple fonts throughout your gallery, you can override the galleryFontFace by using HTML formatting (for elements such as the Gallery Title, Back Button and image titles and captions) as documented in these FAQs:
How do I add HTML formatting to image captions and titles?
How do I add HTML formatting to the Gallery Title or Back Button?

I would recommend saving preset XML files in a folder dedicated to preset XML files and then save each gallery into a separate folder. This should keep your preset XML files separate from your gallery files.

If you like, you can keep each gallery in its own individual folder, upload your complete gallery folders (not just the contents) to your web server and embed the galleries into your web pages using the baseUrl method of embedding.
Keeping each gallery in its own folder may help to keeps things organized on your web server.

Re: Need some assistance with presets and fonts

Thanks! I dont want to use multiple fonts, Im just used to writing in "back-up" fonts in case the user dont have the first font installed. I tried using only "Century+Gothic" since this is the font the client wants me to use, but it wont work. Ill look more at the faq to figure it out.

The preset issue suddenly worked itself out, I do have each gallery in individual folders which is why I found it odd that juicebox added my old presets to each folder every time I made a new gallery.

Thanks for the help

Re: Need some assistance with presets and fonts

Im just used to writing in "back-up" fonts in case the user dont have the first font installed.

You can enter a number of different fonts separated by commas, for example:

galleryFontFace="Century+Gothic,Helvetica,Arial,sans-serif"

The preset issue suddenly worked itself out

That's good to hear.