• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug APIs, Hacks & Tricks Announcing: SmugMug plugin for Galleria (Javascript image viewer)

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Page 2  of  2
1 2
Old May-19-2011, 03:27 PM
#21
surratta is offline surratta
jerk
just found this thread. so far I'm unable to get my code working with the devbobo smugmug plugin. I'm a jquery novice, so that's not a big surprise. I tried the example code at the top of this thread, but without success. as it predates the devbobo version, though, it's not clear to me whether it's supposed to Just Work.

looking in firefbug, it appears I'm accessing the smugmug api fine and getting a json response back with photo urls, so I think that part's working ok. however, I can't get galleria to load the images and do its magic.

help? pointers? example code?

thanks in advance for any help.
Old Jun-16-2011, 10:51 AM
#22
TourKick is offline TourKick
TourKick.com
Exclude Video Preview Images
Quote:
Originally Posted by devbobo View Post
Samir,

My code is different from Andrew's in so far that it makes less and lighter api calls...so it should be nicer from an end user perspective.

In regard to video, I believe that would require major changes to the galleria framework. Right now, it will just display the associated still image of the video.

Cheers,

David
DevBobo, I agree Galleria is probably just a photo viewer (and therefore would require significant modification to become a video player - I really don't know though)... BUT, is it at all possible to have a yes/no switch to exclude video preview images? In other words, just have Galleria as a photo viewer? That would be SOOO helpful.

Thanks!
-Cliff
Old Jul-07-2011, 06:48 AM
#23
TourKick is offline TourKick
TourKick.com
Quote:
Originally Posted by JoiJoi View Post
Another alternative with galleria is using the php api to load the images from smugmug into galleria without the need for an extra-plugin.

You could also easily mash galleries that way to do a randomizer.
Nothing against JS but I personally rather do certain things server side if they can be done easily rather than client side.
Since the jQuery Galleria version (i.e. the topic of this post) requires entering the API, which is viewable under "view source", is that a security issue?

I'd REALLY like more information about your PHP possibility. I'm guessing the API key wouldn't be displayed via "view source".

What I'm trying to do is have a WordPress page/post with 2 custom fields where you enter "galleryID" and "galleryKEY". Then, the theme/template has some PHP or other code that says "if this page/post has custom_field_gallery_id not null AND custom_field_gallery_key not null, then DO GALLERIA, displaying that gallery.
-I know it's not slick (wouldn't allow multiple galleries on a page), but I'm just looking for ANY way to pull in SmugMug into WordPress and display with Galleria. I'm surprised it has been so difficult.
-I'm also thinking a solution like http://wordpress.org/extend/plugins/...r-connections/ would accomplish Step 1 - now, how to get Galleria to use that info? (or from another plugin, like the SmugMug RSS ones)

BECAUSE, having to code the jQuery/javascript/whatever for Galleria into the template would mean each gallery would need to be a different template - yikes!
Old Jul-26-2011, 05:43 PM
#24
Tim Kamppinen is offline Tim Kamppinen
Major grins
Tim Kamppinen's Avatar
Quote:
Originally Posted by sidepocket View Post
I guess I don't completely understand. How do I "install" this onto my smugmug gallery?
I'm in the same boat. Is this something that can be embedded easily in a smugmug gallery with some copy/pasting or is there a lot more to it than that? I tried the old simpleviewer thing and it worked but the photos were way too small, and I would also like to get away from flash.
Old Nov-13-2011, 04:05 PM
#25
naveed617 is offline naveed617
Beginner grinner
need help using the galleria plug-in
Im a jquery novice, just got galleria installed, and using the smugmug plugin, but its not working. Is the code correct? Also, can I not use this Dreamweaver, do I have to customize my smugmug page for this to work? Thanks in advance!

Trying to load this album: http://naveedahmad.smugmug.com/Weddi...532440_SRWsL37

<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Photography SITE</title>
</head>
<body>

<div id="galleria"></div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="galleria/galleria.js"></script>
<script src="galleria/plugins/galleria.smumug.js"></script>

<script>
// Load theme
Galleria.loadTheme('galleria/themes/classic/galleria.classic.js');

// intialize SmugMug plugin
var sm = new Galleria.SmugMug('1a734cc49ed7cce3c7460bcd2565d8d3 ');

// inject a photset into galleria
window.onload = function(){
sm.getAlbum('20068337','Jdxtk8', {
size: 'medium'},
function(data) {
$('#galleria').galleria({
data_source: data,
width: 500,
height: 500
});
})};
</script>
</body>
</html>
Old Aug-31-2012, 03:42 PM
#26
gsenthil is offline gsenthil
Beginner grinner
Is there a version of the smugmug plugin that supports the latest galleria? I have an older version but want to upgrade to the latest galleria for video/mobile support
Page 2  of  2
1 2
Tell The World!  
Similar Threads Thread Starter Forum Replies Last Post
Any interest in using full-featured templates to customize your SmugMug site? rhjf SmugMug Customization 2 Jul-03-2009 09:08 PM
Vanity URLs on smugmug jfriend SmugMug Customization 165 Feb-29-2008 11:24 AM
A Smugmug world with color-managed browsers jfriend SmugMug Support 78 Feb-19-2008 03:58 PM
ps elements 6 question meganh Finishing School 1 Dec-06-2007 11:44 PM
smugmug vs. pbase - Does anyone use the smugmug "traditional" view? jfriend SmugMug Support 45 Feb-17-2006 08:48 AM


Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump