The silaspartners flickr plugin is great, it add the ability for you to just be able to click an image and add links to it, but it doesnt link direct to the image, meaning it just dont lightbox! I’ve adjusted the file admin-photos-tab.html in the latest version to give me an extra option of direct linking to the medium image and using the thumbnail as the link image.
You can download the adusted file here
Pingback: Igesef’s Blog » Blog Archive » Lightbox, wordpress i flickr
Thanks alot, this is really great =D. I was just looking for something like this.
Thanks again, really appreciated.
su-weet. Dude – this really rocks.
I have no expert skills, and i have just installed the flickr plugin to my wordpress – but when I try to run it, I get this:
Permissions Error
This plugin requires that the directory /usr/home/web/web177870/wp-content/plugins/silaspartners/flickr/flickr/flickr-cache/ be writable by the web server.
I don’t know what error i caused by – can U help me?
Thank-you so much for making this mod and sharing it. I finally can get the plugin to work in the way I wanted.
Would it be possible to change the code to use the square image and link to the medium size image displayed in lightbox? I love this addition but I like having the square photos as the thumbs.
nevermind figured it out:
Change Thumbnail to Square
//
The thumbnail is very small – is there any way to change it so that you can use a small or medium size image instead of the thumbnail? When I increase the size of the thumb, it pixelates.
yeah jabb, you’ll see some comments marked in the code where i said ‘changed here’ in between those comments you’ll find $thumb['source'] and $medium['source'].
Where i define them, you can easily define another, ie.
$small = $photo['sizes']['Small'] and then change the first link to from $thumb['source'] to $small['source']
can you tell me how i can insert the medium sized image and link to the original ?
thanks !
Hi
I have tried changing to code to
$medium = $photo['sizes']['Medium'];
$large = $photo['sizes']['Large'];
$thumb = $photo['sizes']['Thumbnail'];
and then created a new link called ‘Large w/Thumb’ where i have changed all $medium[‘ entries to $large[‘ but this doesnt seem to have worked,
any ideas what i have done wrong?
OK I worked it out, there is no Large size. I have instead used
$thumb = $photo[’sizes’][’Thumbnail’];
$small = $photo[’sizes’][’Small’];
$medium = $photo[’sizes’][’Medium’];
$original = $photo[’sizes’][’Original’];
and worked with those in the links. though Original is often too large, and medium at 500px to small. It would be nice to have a Large option. Any ideas where I start looking to make this change?
The above sizes come directly from flickr, unfortunately these are the only sizes that they offer. So in short, the only way you’re going to get a large is to create it yourself (would be a bity silly) or petition flickr for a large size.
The sizes available are Square, Thumbnail, Small, Medium and Original.
Hope that helps
Pingback: Photo Album Plugin unter Wordpress MU mit Lightbox in 5 Schritten | Aerothought
Hey Ruxton Thanks for the Fix
Hey Phillip Ingle Thanks for the Idea!
Did some additional changes.
I changed the Code to:
<a href=”" onclick=”return silas_addPhoto(”,this, ”, ”, ”)”>LB Square (x)
<a href=”" onclick=”return silas_addPhoto(”,this, ”, ”, ”)”>LB Thumbnail (x)
<a href=”" onclick=”return silas_addPhoto(”,this, ”, ”, ”)”>LB Small (x)
<a href=”" onclick=”return silas_addPhoto(”,this, ”, ”, ”)”>LB Medium (x)
<a href=”" onclick=”return silas_addPhoto(”,this, ”, ”, ”)”>LB Large (x)
Looks like your comment function changed the code.
hey,
pretty cool site.The side bar u havin in ur theme the right side bar its split.. how did u split them up ??? and i want to posts on that side bar for my site wit a small thumbnail pic on the side bar , but wen the viewer opens the post dat should release a normal size pic.how do i do these 2 things ??? can u plz asist me ???
Did anyone figure it out for Version 0.96? the admin-photo-tab.html looks completely different.
I sure did, keep your eyes open, i’ll try get it up in the next few days.
I’d really like Joe to just integrate this as configuration options, perhaps i should find a way and get a patch to him.
Hey Ruxton, that’s great news. Looking forward to your patch. drop me a mail when it is done.
Send a mail to Joe too. Would be amazing if he implements this.
So we dont have to fix it in every version
Hoping to hear from you soon.
Hey Ruxton,
anything new so far?
Would be nice if you provide me your edited files from the flickr plugin so I can use the Lightbox in the Posts.
Thanks alot and happy fragging.
Hey, i’ve been pretty sick and consequently have fallen a bit behind in alot of my work. This basically means things like this take a back seat.
I’ll drop you an email in a 5 or so hours with my updated files, so you can get by for now.
Hey Ruxton,
nice to hear from You. Wish You good health and good progress with your work.
Take care
Kugelblitz
is it possible to put a download link to the original sized image in the popup from the lightbox? maybe instead of the name?
I know, that it is possible to write html code in the capture field, so i need a link to the picture_o_d.jpg
I did it manualy without the plugin
see http://www.sebastianf.net/test/