Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2009-10-31 04:49:03

iaian7
Plugin Author
From: US
Registered: 2006-12-05
Posts: 57
Website

Re: an7_flickr

Unfortunately, that’s the way it works; the images are returned by Flickr without any ordering at all.

Do you know if the image ID is sequential or not? It might be possible to add sorting if they are… hmm.


VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios

Offline

#17 2009-10-31 20:13:49

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Re: an7_flickr

I don’t sorry.

The plugin will save me time but would be better if the photos were in photostream order for a more natural blogging interaction.
If thats down to Yahoo/Flickr – not a lot we can do?

Last edited by geoff777 (2009-10-31 20:16:40)


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#18 2009-11-07 16:56:19

iaian7
Plugin Author
From: US
Registered: 2006-12-05
Posts: 57
Website

Re: an7_flickr

geoff777 wrote:

The plugin will save me time but would be better if the photos were in photostream order for a more natural blogging interaction.
If thats down to Yahoo/Flickr – not a lot we can do?

It doesn’t appear that Flickr IDs are at all related to order – upload order, perhaps, but not actual photostream order (which makes sense, the ID has to be unique and constant, while the photostream can be reordered at will). Unless Flickr adds a sortable identifier to each photo, I don’t think there’s anything else that can be done. I’ll check with the guy that designed the Flickr integration just to be sure.


VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios

Offline

#19 2009-11-17 10:13:41

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Re: an7_flickr

Hi

I’m getting dome character code in the Title …. %20 instead of a space any cure for this?


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#20 2009-11-18 05:00:21

iaian7
Plugin Author
From: US
Registered: 2006-12-05
Posts: 57
Website

Re: an7_flickr

geoff777 wrote:

Hi I’m getting dome character code in the Title …. %20 instead of a space any cure for this?

Are you seeing this in the actual page itself, or just in the editing window? There were some issues with special characters in Flickr names, so the entities are often encoded to prevent issues with the javascript. They shouldn’t be showing up when the page is displayed on your site.

Iaian7 / John Einselen


VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios

Offline

#21 2009-11-20 14:52:50

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Re: an7_flickr

Hi John

Yes it is appearing in the title of the slimbox.

Try this page from the site I’m using it on.

Andalucia Blog

5th photo down – the tree & sky.

Should read “Madroño Strawberry Tree”

The ñ and spaces are not correctly displayed.

Thanks Geoff

Last edited by geoff777 (2009-11-20 14:53:08)


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#22 2009-11-23 07:37:26

iaian7
Plugin Author
From: US
Registered: 2006-12-05
Posts: 57
Website

Re: an7_flickr

Ah! I think I may know what’s going on here… the javascript that inserts the code has major issues with special characters, and requires careful encoding to prevent failure to run. I’ll need to fix it so titles are un-encoded when printed to the text area. I can’t make the modifications and tests necessary at the moment (it may be a couple week before I have time), but till an “official” update is released, this is what needs to happen:

• Modify the plugin javascript to un-encode characters while printing to the text area.

or

• Modify Slimbox’s title display to output the correct un-encoded text.

Sorry I can’t help more immediately,
Iaian7 / John Einselen


VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios

Offline

#23 2010-01-22 16:14:13

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: an7_flickr

Hi,

Great plug-in John, I’ve been looking for something like this to display Flickr streams.

I’ve no real experience with Javascript and run into a couple of very basic problems. I’m a little confused as to exactly where I need to add the script path in js_flickr.php, I can’t see a line that would do that. And finally, Would I be right in thinking that everywhere 'username' appears I should insert my own username?

Thanks for any help.

Offline

#24 2010-01-22 16:42:21

iaian7
Plugin Author
From: US
Registered: 2006-12-05
Posts: 57
Website

Re: an7_flickr

Once you’ve entered your Flickr API in one of the first lines, you shouldn’t need to make any more changes to the .php file at all. All other settings are in the TXP plugin (such as the location of the .php file on your server, so TXP can find it).

Hope that helps,

Iaian7 / John Einselen


VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios

Offline

#25 2010-01-22 17:04:24

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: an7_flickr

Hi John,

Thanks for your reply, I don’t have a personal API but I see now that I need to edit the installed plug-in rather than the original file, sorry about the confusion.

I’d also like to automatically display a set of recent thumbnails (pulled from Flickr) that then link to the actual Flickr photostream, is this possible or would I be better to use some of Flickr’s ‘sharing’ code? Finally, is it possible to have more than one user?

Thank you for all your help.

Offline

#26 2010-01-22 17:25:25

iaian7
Plugin Author
From: US
Registered: 2006-12-05
Posts: 57
Website

Re: an7_flickr

You may need to edit the code, but you should be able to insert Flickr links instead of overlays. It’s been awhile since I worked with this plugin! (it still erroneously inserts %20 instead of spaces… gotta get that fixed sometime…)

No support for multiple users, though that’s something someone could add, I suppose.

I’d recommend getting your own API – it’s not at all hard, and prevents your being affected by any errors with the default (since Flickr sometimes expires or revokes them, if you have control over your own API, it’s easier to deal with).


VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios

Offline

#27 2010-01-22 17:31:02

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: an7_flickr

No problem, thanks for that info John – I’ll apply for an API and take it from there.

Offline

#28 2010-02-11 11:54:27

Noxgenus
Member
Registered: 2009-03-12
Posts: 21

Re: an7_flickr

i dont get it…cant get it to work

if i install everything by default, and put in my own API key in the js_flick.php file, it loads all the images neatly under the write tab, BUT, it’s iaian7’s photostream…with my API key

when I change my flickr username in the plugin settings in anything else than ‘iaian7’, nothing loads??

anybody got an idea why my pics (or others) dont load??

Offline

#29 2010-02-11 12:48:38

Noxgenus
Member
Registered: 2009-03-12
Posts: 21

Re: an7_flickr

oops nevermind, it works

It’s not the username like you have in the flickr url, but your actual screen name, which may contain spaces and capitals

thx for another cool plugin Iaian7!

Offline

#30 2011-10-01 16:34:22

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: an7_flickr

Is this Plugin still active? Can I download the js_flickr.php file anywhere?

Offline

Board footer

Powered by FluxBB