PDA

View Full Version : Wordpress/Smugmug PlugIn: SmugPress


alan.graham
Jun-09-2005, 03:09 PM
Hi,

I was wondering if anyone was interested in a WordPress plug-in that integrates WordPress and Smugmug. I'm developing one, which I am calling SmugPress (best get the name before anyone else!!!).

You can see the front-end of the site at http://alangraham.co.uk/

1 page of the back-end is shown in the screengrab below.

There are quite a few bugs I need to iron out, however it is all more-or-less working. If you know a bit of PHP, and use WordPress, then I'm eager to distribute versions of this (just needs a little bit of tidying up!).

Currently you have to upload using SmugMug, however once I work out how to do that via the WordPress admin interface, it'll mean you can fully host and manage photo blogs within WordPress, while the photo-blog images are hosted on SmugMug.

http://agraham.smugmug.com/photos/24504808-O.jpg

Anyway, let me know if you are interested....


Alan
_________________________
http://agraham.smugmug.com
http://alangraham.co.uk

rainforest1155
Jun-09-2005, 11:41 PM
Alan,

looks very nice. I would like to try it out, but I don't have much time and probably won't use it very much.
Nevertheless I could put some content on my homepage, because I still haven't managed to build some kind of homepage. :rofl

Sebastian

mdm
Sep-28-2005, 02:15 PM
Please do share! I'd like to use it as the basis for creating some alternative gallery layouts.

Thanks!
Michael
--
michael [at] themcdaniels [dot] net

Hi,

I was wondering if anyone was interested in a WordPress plug-in that integrates WordPress and Smugmug. I'm developing one, which I am calling SmugPress (best get the name before anyone else!!!).

You can see the front-end of the site at http://alangraham.co.uk/

1 page of the back-end is shown in the screengrab below.

There are quite a few bugs I need to iron out, however it is all more-or-less working. If you know a bit of PHP, and use WordPress, then I'm eager to distribute versions of this (just needs a little bit of tidying up!).

Currently you have to upload using SmugMug, however once I work out how to do that via the WordPress admin interface, it'll mean you can fully host and manage photo blogs within WordPress, while the photo-blog images are hosted on SmugMug.

http://agraham.smugmug.com/photos/24504808-O.jpg

Anyway, let me know if you are interested....


Alan
_________________________
http://agraham.smugmug.com
http://alangraham.co.uk

Andy
Sep-28-2005, 02:23 PM
i'm *in* would love it, please let me know how it's done.

Mike Lane
Sep-28-2005, 02:27 PM
Andy the photographer / blogger???

What don't you do man? I mean seriously!

DavidTO
Sep-28-2005, 02:35 PM
Can someone explain this to me?

Mike Lane
Sep-28-2005, 11:53 PM
Can someone explain this to me?
It's a way to get yourself a photo blog that isn't tied to the look of your smugmug account. You could get something like chromasia (http://www.chromasia.com/iblog/) or chromogenic (http://chromogenic.net/) or any of the other fancy photo bloggers out there....

DavidTO
Sep-29-2005, 05:52 AM
It's a way to get yourself a photo blog that isn't tied to the look of your smugmug account. You could get something like chromasia (http://www.chromasia.com/iblog/) or chromogenic (http://chromogenic.net/) or any of the other fancy photo bloggers out there....


It's something you need to host elsewhere and link the photos to smugmug?

Mike Lane
Sep-29-2005, 06:42 AM
It's something you need to host elsewhere and link the photos to smugmug?
Yeah, something like that. I'm not exactly sure what the need to integrate with the smugmug API is. Why can't you simply link to images from a photoblog?

:dunno

DJ-S1
Sep-29-2005, 07:34 AM
Sounds like a cool thing, but isn't using "smug" in the name a no-no? Better ask before you get too attached to the name...

Mike Lane
Sep-29-2005, 07:35 AM
Sounds like a cool thing, but isn't using "smug" in the name a no-no? Better ask before you get too attached to the name...
Yup, forgot to mention that. http://www.dgrin.com/showthread.php?t=9093

luke_church
Sep-29-2005, 08:13 AM
Yup, forgot to mention that. http://www.dgrin.com/showthread.php?t=9093
Mike, I don't think this thread means that you can't use 'smug' in the name. Don even suggested that Nik call S*E 'Smug Explorer'

So I don't think that SmugPress would be a problem, whereas 'SmugmugPress' would not be OK.

This is my read of it anyhow (hoping, I have a number of Smug* things in the works.... :-S

But of course, it's up to Don and Blady... :):

Cheers,

Luke

Mike Lane
Sep-29-2005, 12:07 PM
Mike, I don't think this thread means that you can't use 'smug' in the name. Don even suggested that Nik call S*E 'Smug Explorer'

So I don't think that SmugPress would be a problem, whereas 'SmugmugPress' would not be OK.

This is my read of it anyhow (hoping, I have a number of Smug* things in the works.... :-S

But of course, it's up to Don and Blady... :):

Cheers,

Luke
You may be right about that. I'd probably talk to Baldy or Onethumb about that just to be sure.

dominik
Feb-23-2006, 11:26 AM
did anything ever come of smugpress?

eworley
Feb-23-2006, 11:48 AM
Hi,

I was wondering if anyone was interested in a WordPress plug-in that integrates WordPress and Smugmug. I'm developing one, which I am calling SmugPress (best get the name before anyone else!!!).

You can see the front-end of the site at http://alangraham.co.uk/


I just saw this post and I recognize it is old. Is there anything going on now? If so I am interested in finding about it and learning about Wordpress and Smugmug working together, if that is possible.

Thanks for any information that you might give me.

pjb923
Mar-02-2006, 09:23 AM
I am also very interested in this. I just started using wordpress and would love to be able to integrate my smugmug gallery into it.

Does anyone have any more information about this plugin?

tsk1979
Apr-06-2006, 10:48 PM
Really want to try this out

Scott Buel
Apr-07-2006, 10:48 AM
Anything cookin' with this?

I know this is an old post, but I'm very interested, as well...

tsk1979
Apr-10-2006, 08:36 AM
I started mailing him, and it seems he was not aware everybody was so interested, so I bugged him and he will start working again. It will be released in about 2 weeks as a wordpress plugin under GPL. So we can have it under hacks maybe?

eworley
Apr-10-2006, 04:25 PM
I started mailing him, and it seems he was not aware everybody was so interested, so I bugged him and he will start working again. It will be released in about 2 weeks as a wordpress plugin under GPL. So we can have it under hacks maybe?

Good news! Thanks for the effort. I thought that this had fallen in a hole somewhere.:clap

Wireless
Apr-10-2006, 06:31 PM
cool, I was hoping this would be released :)

LOVEphotos
Apr-11-2006, 08:41 PM
C :): :): L ... would luv to check it out when it becomes available!

Scott Buel
Apr-12-2006, 06:31 AM
This is so cool! Excuse me if this is a stupid question (I usually get these "great" ideas with no knowledge of what is really involved), but I am wondering if I will be able to link MP3 posts from my Smugmug Wordpress blog? I know they would have to be hosted somewhere else, like on my GoDaddy hosting account, right?

The reason I ask is because I want to do "podcasts" and feature them on my blog that will be featured as part of my Smugmug business.

alan.graham
Apr-12-2006, 08:03 AM
Sorry everybody, I had not been following DGrin in a while.

Yes every photo post on http://alangraham.co.uk is linked with smugmug. The image is held in a smugmug album but is referred via my own installation of WordPress. This means that I my smugmug accounts host the images (and the disk space/bandwidth costs that relate to this).

I have to manually upload the images to smugmug, which I do online through adding the upload page for that album to my favourites.

Once the image is uploaded I can graphically choose which image I want to blog about, it then creates a post which is "tied" to this image through the use of custom properties. As I prefer to have full control of my images I tend to upload them already sized to fit my blog (650 pixels wide or smaller).

I will try and have the code ready for 10 days time. I have not tested it in any other version of Wordpress other than the one I have!


Alan
-----
http://alangraham.co.uk

Mike Lane
Apr-12-2006, 09:06 AM
I have not tested it in any other version of Wordpress other than the one I have!

Welcome back:D Which version of Wordpress do you have anyhow?

flyingdutchie
Apr-12-2006, 01:22 PM
Kewl!! I just stumbled upon this thread :D

I have also tied in Smugmug into my WordPress blog. It did not require an extra plugin or extra coding.

In your WordPress installation directory, there is this file:

/wp-admin/import-rss.php

This allows you to import rss feeds.
I modified the import-rss.php (as is described inside the file itself), put some protection around it (so that other people won't start importing into my blog :D) and whenever i go to this URL, i import the latest updates on my site into WordPress. Very simple, very kewl! :D

alan.graham
Apr-12-2006, 11:49 PM
Hi folks,

I have WordPress v1.5.1. Is that old?

Mike Lane
Apr-13-2006, 05:45 AM
Yup, they're up to wordpress v2.0.2 (http://wordpress.org/download/). It's much nicer you should give it a try :thumb

flyingdutchie
Apr-13-2006, 06:37 AM
Yup, they're up to wordpress v2.0.2 (http://wordpress.org/download/). It's much nicer you should give it a try :thumb

I'm running 1.5.2. I'm not planning to upgrade soon. It works fine for me as it is now. :D

Mike, what functionality is improved over 1.5 that is really usefull for someone reading the blog, or what new services are added?

Mike Lane
Apr-13-2006, 06:46 AM
http://codex.wordpress.org/Changelog/2.0

dogwood
Apr-14-2006, 08:34 AM
Kewl!! I just stumbled upon this thread :D

I have also tied in Smugmug into my WordPress blog. It did not require an extra plugin or extra coding.

In your WordPress installation directory, there is this file:

/wp-admin/import-rss.php

This allows you to import rss feeds.
I modified the import-rss.php (as is described inside the file itself), put some protection around it (so that other people won't start importing into my blog :D) and whenever i go to this URL, i import the latest updates on my site into WordPress. Very simple, very kewl! :D

Dutchie:

Your blog tie-in to your smugmug site is awesome. I just hooked up with wordpress (I was using blogspot... wordpress seems a lot better though) and will try to mess around this weekend (after taxes-- groan-- of course) to see if I can do something similar.

I'm continually amazed at what kind of hacks people here come up with-- and like many others-- I'd be very interested in tips or code that helps implement the wordpress/smugmug concept.

jev
Apr-14-2006, 03:08 PM
Can you post some instructions ?
Thanks

flyingdutchie
Apr-14-2006, 03:14 PM
Dutchie:

Your blog tie-in to your smugmug site is awesome. I just hooked up with wordpress (I was using blogspot... wordpress seems a lot better though) and will try to mess around this weekend (after taxes-- groan-- of course) to see if I can do something similar.

I'm continually amazed at what kind of hacks people here come up with-- and like many others-- I'd be very interested in tips or code that helps implement the wordpress/smugmug concept.

- I installed WordPress on my 'own' host (server hosted by SpeakEasy).
- I used the WordPress' default theme (look and feel).
- Then i modified some of the PHP and the CSS files a little to make it look like my smugmug-site (sand in the background, colors, etc.) and i made a copy of my smugmug-header (logo/photocrawl) and put it into the WordPress header.
- For importing pics from smugmug (changes in galleries, etc.) i use the /wp-admin/import-rss.php on my WordPress installation. You need to modify it by providing it with the RSS-url (just copy the RSS feed URL as provided by smugmug) and I added a secret code so that no-one else can go to this URL and execute the import-rss.php scripts.

That's it :D

jev
Apr-14-2006, 03:22 PM
Thank you
I will try to set it up

- I installed WordPress on my 'own' host (server hosted by SpeakEasy).
- I used the WordPress' default theme (look and feel).
- Then i modified some of the PHP and the CSS files a little to make it look like my smugmug-site (sand in the background, colors, etc.) and i made a copy of my smugmug-header (logo/photocrawl) and put it into the WordPress header.
- For importing pics from smugmug (changes in galleries, etc.) i use the /wp-admin/import-rss.php on my WordPress installation. You need to modify it by providing it with the RSS-url (just copy the RSS feed URL as provided by smugmug) and I added a secret code so that no-one else can go to this URL and execute the import-rss.php scripts.

That's it :D

dogwood
Apr-14-2006, 03:25 PM
Thanks for sharing. This may be a bit more than I want to tackle this weekend-- but it's a fantastic idea and much cooler than what I have set-up right now.

LOVEphotos
Apr-16-2006, 04:51 PM
I decided to set up a blog and try out WordPress yesterday, and of course they have been down most of today and still down @ the moment :huh

Quote from their site...
Hello folks. We’re doing a little unplanned emergency maintainance to some systems that were causing problems over the past few weeks. Your blog will be unavailable for a few more minutes while we get everything situated. Relax and enjoy this Easter Sunday morning, and know that everybunny at WordPress.com is working their butts off to get your blog back online. — Matt and the team

renstar
Apr-29-2006, 09:45 PM
A bump on this.. Any progress?

-r

jev
May-03-2006, 05:26 PM
Any updates on that ?
Can you please post some code ?

tsk1979
May-03-2006, 09:50 PM
Any updates on that ?
Can you please post some code ?
I have the code now. I will be trying it over the weekend and will be reporting any issues to alan. Once we both sync up this will be released under GPL

jev
May-03-2006, 11:24 PM
Thank you for the update

I have the code now. I will be trying it over the weekend and will be reporting any issues to alan. Once we both sync up this will be released under GPL

sebpayne
Jun-03-2006, 03:54 AM
Any news on this? I'm dying for some Smugmug/WordPress intergration so I can stop using Flickr :-D

Seb

eworley
Jun-13-2006, 04:59 PM
Is there anything going on here or is this a dead issue?

tsk1979
Jun-13-2006, 06:59 PM
Is there anything going on here or is this a dead issue?

did not work as expected. It actually uploads images to smugmug.
So I shifted to one page view on smugmug with every post a img src link to the photo I want to post. All you need is a good theme, and things work like a charm, check out http://tanveer.in/photoblog

flyingdutchie
Jun-14-2006, 06:50 AM
Is there anything going on here or is this a dead issue?

If you installed WordPress on your own server, take a look at post #33 (http://www.dgrin.com/showpost.php?p=289363&postcount=33). For me, it works like a charm. I import changes on my galleries into my blog (WordPress installation) and sometimes edit the imported posts to make them look better or to add some extra text.

dominik
Jun-28-2006, 09:33 PM
Was the code of the original plug-in ever released?

The import-rss solution works if you want to import photos as blog posts, true, but I'm looking for a bit more integration than that. I might end up writing something myself, but if there's code out there already I'd love to take a look at it as a starting point.

spellboundphoto
Jul-13-2006, 06:01 AM
Hello everyone! I just joined DigitalGrin so I could reply to this thread. I would LOVE an easy plugin way to show random or recent photos from my smugmug galleries on my wordpress blog. I don't want to have to pick specific photos ahead - I want it to work more like the recent photos RSS feed. I tried that - but it just gave links to the recent photos. I want the thumbnail or tiny size.

What do you all think?

Thanks!
Jeanne
http://www.spellboundphoto.com
http://www.spellboundblog.com

PS - see the banner at the top of the DigitalGrin forum? The one that changes everytime you load the page. I want something like that with the photos coming from my smugmug galleries... and clickable back to the gallery from which they came. Thanks!

MacHeadCase
Jul-13-2006, 11:20 AM
Hello everyone! I just joined DigitalGrin so I could reply to this thread. I would LOVE an easy plugin way to show random or recent photos from my smugmug galleries on my wordpress blog. I don't want to have to pick specific photos ahead - I want it to work more like the recent photos RSS feed. I tried that - but it just gave links to the recent photos. I want the thumbnail or tiny size.

What do you all think?

Thanks!
Jeanne
http://www.spellboundphoto.com
http://www.spellboundblog.com

PS - see the banner at the top of the DigitalGrin forum? The one that changes everytime you load the page. I want something like that with the photos coming from my smugmug galleries... and clickable back to the gallery from which they came. Thanks!

Jeanne, you mean a rotating header image? On my blog, I use a script I found, the The Random Image Rotator (http://www.automaticlabs.com/products/rotator) by Automatic Labs. Problem is that you would need to import your images and store them in a folder and drop the script in that folder because I don't think you can get the script to link to an outside source for your images (script absolutely has to reside in the image folder to work).

Maybe a PHP guru can come in this thread and post some code you could use...

spellboundphoto
Jul-13-2006, 11:30 AM
Jeanne, you mean a rotating header image? On my blog, I use a script I found, the The Random Image Rotator (http://www.automaticlabs.com/products/rotator) by Automatic Labs. Problem is that you would need to import your images and store them in a folder and drop the script in that folder because I don't think you can get the script to link to an outside source for your images (script absolutely has to reside in the image folder to work).

Maybe a PHP guru can come in this thread and post some code you could use...
Not exactly - but close.
Basically I want to be able to put a vertical stack of thumbnails on a sidebar in wordpress. Pretty little tempting pics that encourage folks to click on them and go to my galleries at smugmug. I know I can do that by hand.. my big dream is a plugin that can use the recent photo RSS feed to display the pics dynamically.

I guess if it doesn't exist I will try and figure out the logic myself - but would so much rather discovery that this has already been solved by someone else. I also will try hunting for a generic rss feed/image plugin of some sort - but the trick would be to get it to dynamically link back to the proper gallery.

Thanks for the ideas!
Jeanne
http://www.spellboundphoto.com
http://www.spellboundblog.com

MacHeadCase
Jul-13-2006, 11:39 AM
Not exactly - but close.
Basically I want to be able to put a vertical stack of thumbnails on a sidebar in wordpress. Pretty little tempting pics that encourage folks to click on them and go to my galleries at smugmug. I know I can do that by hand.. my big dream is a plugin that can use the recent photo RSS feed to display the pics dynamically.

I guess if it doesn't exist I will try and figure out the logic myself - but would so much rather discovery that this has already been solved by someone else. I also will try hunting for a generic rss feed/image plugin of some sort - but the trick would be to get it to dynamically link back to the proper gallery.

Thanks for the ideas!
Jeanne
http://www.spellboundphoto.com
http://www.spellboundblog.com

It would be very cool indeed if we could put a SmugMug badge in our sidebars just like Flickr offers its users (http://www.flickr.com/badge_new.gne). If it can be done with Flickr, it can be done with SmugMug for sure.

GarethLewin
Jul-13-2006, 06:52 PM
Not exactly - but close.
Basically I want to be able to put a vertical stack of thumbnails on a sidebar in wordpress. Pretty little tempting pics that encourage folks to click on them and go to my galleries at smugmug. I know I can do that by hand.. my big dream is a plugin that can use the recent photo RSS feed to display the pics dynamically.

I guess if it doesn't exist I will try and figure out the logic myself - but would so much rather discovery that this has already been solved by someone else. I also will try hunting for a generic rss feed/image plugin of some sort - but the trick would be to get it to dynamically link back to the proper gallery.

Thanks for the ideas!
Jeanne
http://www.spellboundphoto.com
http://www.spellboundblog.com

It should be pretty easy to write some xsl to convert the rss feed to what you want. I might hack on it this weekend, see if I can come up with a way.

GarethLewin
Jul-13-2006, 10:48 PM
Well, I got what i wanted done, it's not great xsl, I'm sure people here can do a lot better, my xsl is very rusty, but it works

http://www.garethlewin.com/smugmug/

Please tell me the results of your efforts if you use this.

spellboundphoto
Jul-14-2006, 09:47 AM
Well, I got what i wanted done, it's not great xsl, I'm sure people here can do a lot better, my xsl is very rusty, but it works

http://www.garethlewin.com/smugmug/

Please tell me the results of your efforts if you use this.

Gareth-

Neat! I will have to play with this this weekend if I can make some time.
In a perfect world I would set this up such that it could be encapsulated in a Wordpress widget and give you some sort of control panel option from within Wordpress to refresh the retrieval as you like. Of course, I don't know how to do any of that (yet) - but I suspect I will be able to sort it out.

I will DEFINITELY let you know if/when I work it out.

Thanks!
Jeanne
http://www.spellboundblog.com
http://www.spellboundphoto.com

GarethLewin
Jul-14-2006, 11:02 AM
Gareth-

Neat! I will have to play with this this weekend if I can make some time.
In a perfect world I would set this up such that it could be encapsulated in a Wordpress widget and give you some sort of control panel option from within Wordpress to refresh the retrieval as you like. Of course, I don't know how to do any of that (yet) - but I suspect I will be able to sort it out.

I will DEFINITELY let you know if/when I work it out.

Thanks!
Jeanne
http://www.spellboundblog.com
http://www.spellboundphoto.com

Jeanne, I will also try to make time to look into that.

I don't think you can have the updates be done automatically from inside wordpress though, based on other plugins I've seen you will probably have to add a cron job.

MacHeadCase
Jul-14-2006, 12:42 PM
I really do like the Flash-based sidebar Flickr badge. Can it be ported to accommodate SmugMug galleries, one at a time, do you think?

I am not much of a CSS/PHP guru but will try to look into what you posted this weekend to see. Thanks a lot, gareth! :thumb

GarethLewin
Jul-14-2006, 01:09 PM
I really do like the Flash-based sidebar Flickr badge. Can it be ported to accommodate SmugMug galleries, one at a time, do you think?

I am not much of a CSS/PHP guru but will try to look into what you posted this weekend to see. Thanks a lot, gareth! :thumb

I need to see an example of the flash badge, but what I did should be doable in flash, I just don't know any flash.

MacHeadCase
Jul-14-2006, 02:42 PM
I don't know if you can see this page or not but here goes: Create your own Flickr badge (http://www.flickr.com/badge_new.gne).

I hope this is apparent to you. There is an animation that goes on: one of the pictures (random) is bigger (fills four squares) then it grows smaller and it gets back into its own little square.

http://static.flickr.com/55/189679697_71dffd5b85.jpg

As the screenshot was taken, one of the images was integrating its own square. It gives you the code when you click on the link first link I gave you, if you have a Flickr account. It's javascript I think? :dunno

Edited to add:

DOH!!! *head hits desk*

I completely forgot! You can see the badge in action on an old blog of mine right here, in the blog's sidebar: http://macheadcase.blogspot.com/.

spellboundphoto
Jul-18-2006, 07:03 AM
So.. I tried an experiment with a plugin called Ad-Rotator (http://kpumuk.info/wordpress/wordpress-widgets-ad-rotator/)<!--more-->. It will take any text or basic HTML and rotate which one is shown (you separate each bit with < ! - - more - - > without the spaces).

See http://www.spellboundblog.com and reload a few times to see different images on my sidebar. Definitely not automatic in terms of picking new photos.... but gives a nice sense of changing images that can be easily changed without uploading images onto the server where wordpress is. I may also try to play with the Lightbox plugin (http://zeo.unic.net.my/notes/lightbox-js-version-20/) - but I am torn about showing the photos large in place - or taking the opportunity to bring the person to my smugmug gallery.

I am happy with this answer for now - but will try and play with the more automated options if I get some time. Thought I would share this option in case anyone else here wants to try.

Good luck everyone!
Jeanne
http://www.spellboundblog.com
http://www.spellboundphoto.com

MacHeadCase
Jul-18-2006, 07:10 AM
Whoah! That is very cool, Jeanne! :thumb

flyingdutchie
Jul-18-2006, 07:44 AM
I use a similar 'rotator' on my blog-site. It is a scaled down version of the one i use on my smugmug-site.

I wrote it my self. Here is the main code as found on my blog. You can use it as you like and modify it to fit your blog:

Go to my blog (blog.antonspaans.com), and do 'View Source'. Look for the DIV elements that have the ids ml_1, ml_2, ml_3 and ml_4.
The left-most DIV has id ml_4 and is invisible (it pre-loads the image so that you won't see a delay in loading the image).
Then three visible DIVs follow: ml_3, ml_2 and ml_1.

This is the javascript code that determines which images are shown. It does so by writing out a STYLE element assigning background images to the above DIVs:

var g_logoImgs = new Array();
g_logoImgs[g_logoImgs.length] = "32759999-Th.jpg"; // Bell Lady
g_logoImgs[g_logoImgs.length] = "539999-Th.jpg"; // Downtown Statue
g_logoImgs[g_logoImgs.length] = "14919999-Th.jpg"; // Hyannis Boat
g_logoImgs[g_logoImgs.length] = "18679999-Th.jpg"; // Hancock
g_logoImgs[g_logoImgs.length] = "29769999-Th.jpg"; // Girls downtown
g_logoImgs[g_logoImgs.length] = "29769999-Th.jpg"; // Sleeping couple
g_logoImgs[g_logoImgs.length] = "4179999-Th.jpg"; // Cops on bikes
g_logoImgs[g_logoImgs.length] = "4179999-Th.jpg"; // Shopping cart
g_logoImgs[g_logoImgs.length] = "17819999-Th.jpg"; // Sunset Charles;
g_logoImgs[g_logoImgs.length] = "17819999-Th.jpg"; // Comm Ave. Statue
g_logoImgs[g_logoImgs.length] = "29769999-Th.jpg"; // North End bikers
g_logoImgs[g_logoImgs.length] = "22179999-Th.jpg"; // France Gites
g_logoImgs[g_logoImgs.length] = "22179999-Th.jpg"; // France watertap.
g_logoImgs[g_logoImgs.length] = "23629999-Th.jpg"; // 3 brothers
g_logoImgs[g_logoImgs.length] = "21459999-Th.jpg"; // Flowers 1
g_logoImgs[g_logoImgs.length] = "21459999-Th.jpg"; // Flowers 2
g_logoImgs[g_logoImgs.length] = "23489999-Th.jpg"; // Lente
g_logoImgs[g_logoImgs.length] = "21359999-Th-1.jpg"; // JamSession.
g_logoImgs[g_logoImgs.length] = "21789999-Th.jpg"; // A'dam bike
g_logoImgs[g_logoImgs.length] = "9909999-Th.jpg"; // Portugal
g_logoImgs[g_logoImgs.length] = "9909999-Th.jpg"; // Aveiro
g_logoImgs[g_logoImgs.length] = "36209999-Th.jpg"; // BBQ NLBorrels
g_logoImgs[g_logoImgs.length] = "32759999-Th.jpg"; // Kermit on biker
g_logoImgs[g_logoImgs.length] = "6729999-Th.jpg"; // Blink 182
g_logoImgs[g_logoImgs.length] = "15559999-Th.jpg"; // 2 cops
g_logoImgs[g_logoImgs.length] = "15559999-Th.jpg"; // T Bruschi
g_logoImgs[g_logoImgs.length] = "38969999-Th.jpg"; // Elizabeth Hurley
g_logoImgs[g_logoImgs.length] = "20009999-Th.jpg"; // Marathon 2005
g_logoImgs[g_logoImgs.length] = "20009999-Th.jpg"; // Marathon 2005
g_logoImgs[g_logoImgs.length] = "17909999-Th.jpg"; // De Cordova
g_logoImgs[g_logoImgs.length] = "9019999-Th.jpg"; // New York
g_logoImgs[g_logoImgs.length] = "9019999-Th.jpg"; // Cristina Yotham
var g_rotateCntr;
var g_imgBase = "http://flyingdutchie.smugmug.com/photos/";
function doRotate()
{
var aLen = g_logoImgs.length;
var idx = ((new Date()).getTime()) / 100;
g_rotateCntr = Math.round(idx) % aLen;
var wrStr = "";
wrStr += ('<'+'style type="text/css">');
for (var i = 0; i < 4; i++)
{
var urlImg = "url("+g_imgBase+g_logoImgs[(i+g_rotateCntr)%aLen]+")";
var imgID = "ml_"+(i+1);
wrStr += ("#"+imgID+" { background-image: "+urlImg+"; } ");
}
wrStr += ("<"+"/style>");
document.writeln(wrStr);
}
doRotate();


note: the above code may be incorrect. DGrin tries to interpret HTML tags (anything that starts with '<'), even inside [ CODE ] sections... :dunno

MacHeadCase
Jul-18-2006, 07:52 AM
Excellent stuff, flyingdutchie! I think this is what I've been looking for. Thank you very much! :clap

Mike Lane
Jul-18-2006, 08:34 AM
note: the above code may be incorrect. DGrin tries to interpret HTML tags (anything that starts with '<'), even inside [ CODE ] sections... :dunno

It doesn't do that in the customization room :thumb

GarethLewin
Jul-23-2006, 05:26 PM
I use a similar 'rotator' on my blog-site. It is a scaled down version of the one i use on my smugmug-site.
[ SNIP ]


Cool.

You could combine your thing with my thing, and get it to rotate 3 images from your last 20 images on your website or something.

jev
Aug-03-2006, 08:25 AM
So is there any update or some instructions on how to integrate Wordpress and Smugmug

It would be really nice to have it working

flyingdutchie
Aug-03-2006, 10:17 AM
So is there any update or some instructions on how to integrate Wordpress and Smugmug

It would be really nice to have it working

Is the RSS import not good enough (described in earlier posts in this thread)? What would you like to see?

jim_escalante
Aug-05-2006, 10:57 AM
Is the RSS import not good enough (described in earlier posts in this thread)? What would you like to see?

I found the rss.php file but I am not sure how to edit it. If I open in MS word or dreamweaver it is blank. I have co-workers at work with BBedit, It that how I edit the file?
thanks
Jim

flyingdutchie
Aug-05-2006, 11:03 AM
I found the rss.php file but I am not sure how to edit it. If I open in MS word or dreamweaver it is blank. I have co-workers at work with BBedit, It that how I edit the file?
thanks
Jim

You have to edit the rss.php file on the server itself.
When you use the browser (IE6.0) and open this rss.php file, it will execute and return an empty document.

Telnet into the web-server (or access it directly, if you can) that runs your blog. Edit the rss.php file there, by adding/editing the RSS-feed URL.

If i were you, i would add some extra stuff (simple authentication) to this PHP file, to make sure that no one but you can go to this rss.php. Otherwise other people may go to this URL and cause your feeds to be uploaded into your blog.

A little knowledge of PHP may help :D

Good luck!

jim_escalante
Aug-05-2006, 11:11 AM
You have to edit the rss.php file on the server itself.
When you use the browser (IE6.0) and open this rss.php file, it will execute and return an empty document.

Telnet into the web-server (or access it directly, if you can) that runs your blog. Edit the rss.php file there, by adding/editing the RSS-feed URL.

If i were you, i would add some extra stuff (simple authentication) to this PHP file, to make sure that no one but you can go to this rss.php. Otherwise other people may go to this URL and cause your feeds to be uploaded into your blog.

A little knowledge of PHP may help :D

Good luck!

Thanks - I seem to forget the obvious. I will wait till I get to work on Monday as my co worker is way more savy on this matter. I am excited to try it. thanks for the quick reply.

jim

jev
Aug-07-2006, 04:12 PM
Is the RSS import not good enough (described in earlier posts in this thread)? What would you like to see?
I am not too much in computers, but i have my own blog hosted.

Ideally if possible i would like to see a simple but detailed howto on:

- configure wordpress to take smugmug feeds
- how to secure RSS file you mention
- how to post (and configure) display of recent galleries, specific gallery, images with specific keywords

If you can help that would be great

Thank you

happy-imp
Sep-16-2006, 11:47 AM
I tried out using the flickr widget (http://blog.donncha.net/flickr-widget/) with a smugmug feed url and it works! You can see it on my blog http://benklusman.com. However, the pictures are really big, as smugmug puts fairly large ones in the feed. Anyone know a feed paramter that we can use to get thumbs? I've seen some threads on feed parameters, but nothing specifying image size. That would be awesome to have...

Also, is any progress being made on the integration for posting? There's a nice plugin for flickr which lets you choose from your flickr pictures while on the post composition page. It's very slick. It would ROCK to have that for smugmug. Wish I knew more php magic and stuff or I'd work on it...

flyingdutchie
Sep-21-2006, 08:03 PM
I tried out using the flickr widget (http://blog.donncha.net/flickr-widget/) with a smugmug feed url and it works! You can see it on my blog http://benklusman.com. However, the pictures are really big, as smugmug puts fairly large ones in the feed. Anyone know a feed paramter that we can use to get thumbs? I've seen some threads on feed parameters, but nothing specifying image size. That would be awesome to have...

Also, is any progress being made on the integration for posting? There's a nice plugin for flickr which lets you choose from your flickr pictures while on the post composition page. It's very slick. It would ROCK to have that for smugmug. Wish I knew more php magic and stuff or I'd work on it...

I managed something similar with such a widget on Smugmug.
See this thread:
http://www.dgrin.com/showthread.php?t=40139&page=11
posts 101, 105, 106, 132 and 133.

-- Anton.

pjb923
Oct-03-2006, 09:54 AM
I tried using the flickr widget with a smugmug rss feed and it works great, but it only displays the most recent images from the gallery I choose.

Does anyone have any idea how to modify the flickr widget to make it display random images from a gallery?

Right now it only shows 2 images, and they will never change unless I upload new ones to the gallery. Take a look here:
http://www.pberge.com

Jason Dunn
Nov-03-2006, 10:21 PM
Just found this thread while looking for a nice Wordpress Smugmug plugin - is this a dead project? I can't seem to find anything to download... :huh

dogwood
Nov-06-2006, 03:44 PM
Just found this thread while looking for a nice Wordpress Smugmug plugin - is this a dead project? I can't seem to find anything to download... :huh

Basically, as I understand it, you'll need to host wordpress on a seperate server (companies like dreamhost offer this for reasonable prices). Then you have to tweak it a bit to customize it like your site. There's instructions in a previous post in this thread.

beline
Apr-27-2008, 09:55 AM
This project seems to have died the lonely death. Perhaps I can help.

I had never heard of this plugin until now, and because of that, I wrote my own... Kind of a pain, but it seems to have worked out for the better.

Anyone looking for a WordPress Plugin that integrates your WordPress website with your SmugMug website, may I present to you:

SmugWP (http://www.coverthisphotography.com/services/web-designdevelopment/smugwp-wordpress-plugin)

SmugWP (http://www.coverthisphotography.com/services/web-designdevelopment/smugwp-wordpress-plugin) offers a front-end to browse your SmugMug Galleries, and insert selected images in to your Post or Page. It offers Lightbox 2 support, CSS Styling, and more.

It integrated directly into your WordPress 2.5 install, adding a tab in the Media Manager to browse your SmugMug account.

SmugWP (http://www.coverthisphotography.com/services/web-designdevelopment/smugwp-wordpress-plugin) also has a Gallery ID confirm and redirect feature that can give you DigiProofs (http://www.digiproofs.com/)-like functionality on your own website (see it in action HERE (http://www.coverthisphotography.com/), use Gallery IDs 4694066_22Baf and 4193076_21Faf [the second ID should fail]).

Not to mention this plugin is under active development, and is likely to gain a good number of features in short-order.

Check it out. I think it should have what you are looking for.

Mike Lane
Apr-28-2008, 09:28 AM
This project seems to have died the lonely death. Perhaps I can help.

I had never heard of this plugin until now, and because of that, I wrote my own... Kind of a pain, but it seems to have worked out for the better.

Anyone looking for a WordPress Plugin that integrates your WordPress website with your SmugMug website, may I present to you:

SmugWP (http://www.coverthisphotography.com/services/web-designdevelopment/smugwp-wordpress-plugin)

SmugWP (http://www.coverthisphotography.com/services/web-designdevelopment/smugwp-wordpress-plugin) offers a front-end to browse your SmugMug Galleries, and insert selected images in to your Post or Page. It offers Lightbox 2 support, CSS Styling, and more.

It integrated directly into your WordPress 2.5 install, adding a tab in the Media Manager to browse your SmugMug account.

SmugWP (http://www.coverthisphotography.com/services/web-designdevelopment/smugwp-wordpress-plugin) also has a Gallery ID confirm and redirect feature that can give you DigiProofs (http://www.digiproofs.com/)-like functionality on your own website (see it in action HERE (http://www.coverthisphotography.com/), use Gallery IDs 4694066_22Baf and 4193076_21Faf [the second ID should fail]).

Not to mention this plugin is under active development, and is likely to gain a good number of features in short-order.

Check it out. I think it should have what you are looking for.:barb Wow, awesome!

beline
Apr-29-2008, 03:49 PM
:barb Wow, awesome!
Are you using it? Like it? Drop me a comment on my website.

Rhuarc
Jun-11-2008, 09:26 AM
I am trying to use this, but I am wanting to use it more for just the functionality of using the media library to find images on my smugmug galleries and add them as thumbnails in my posts with links that will open lightbox.

I am having two issues with it however.

1) The only way the link will actually add, is if I put it in a group. Supposedly if I leave that field blank it won't use groups.

2) When I use this to add even an image even Tiny sized to my post it messes up the post width. It pushes the post out to the side and overlaps my right sidebar. This is the main problem with using this.

3) One thing that make this much easier to use would be the ability to select 4 or 5 or however many pictures, and mass create the tags. There are times when I want to put 10 pics in a post, and it would be amazing to be able to select all 10, enter a group number, enter the size setting and lightbox setting, and then hit insert tag. It could then put all 10 tags one after another in the post. How about it? This would be awesome!

Thank you!