You aren't signed in     Sign In    Help

Flickr Hacks / Discuss

Current Discussion

Hidden / Hard to find pages on Flickr. The definitive list.
Latest: 80 minutes ago
Is there a way round posting videos set to private elsewhere?
Latest: 7 hours ago
No Comments Script
Latest: 9 hours ago
GM Script: See a user's photos by camera model.
Latest: 15 hours ago
Searching through the Recent Activity pages
Latest: 18 hours ago
Best Practices for Writing Flickr Greasemonkey Scripts
Latest: 33 hours ago
GM Script: Smilies and other tools
Latest: 2 days ago
Batch adding the same description to all my pictures?
Latest: 2 days ago
Download all pics IN A SET at once.
Latest: 3 days ago
Search and Replace Comment Text Script Needed
Latest: 4 days ago
GM Script: Groups Organiser - Tag your groups, sort your group list and quit groups more easily [ script updated 23-May-2009 ]
Latest: 4 days ago
Can't open or download GM scripts
Latest: 5 days ago
More...

GM Script: AllSizes+ v1.5

view profile

premasagar  Pro User  says:

GM Script: AllSizes+ (by premasagar)

To use this script:
1. Install the Firefox browser and fire it up
2. Install Greasemonkey and restart the browser
3. Install AllSizes+
4. Go to a photo page and click the "All Sizes" button


Summary
AllSizes+ gives you quick access to the different sizes available for a photo on Flickr. It produces better HTML code for posting photos on to blogs and Flickr discussion threads, lets you quickly view and download images, and does a few other things too.

Simply install the script and click the AllSizes button on any photopage. Further documentation and settings are available in the pop-up window that appears.


Features
• Quickly choose between any of the available sizes
• Better HTML to post photos on blogs and Flickr discussion threads
• Appends '(by *Username*)' to the title and alt attributes
• Gives 'Untitled' for untitled photos
• Download images, copy the code to your clipboard, view the image
• BB Code for posting photos on forums and bulletin boards
• Video still images can be accessed as if they were photos
• Shortcut keys for quick actions
• Default settings can be modified
• Automatically checks for updates


Respecting Copyright
Please respect the copyright attributed to a photo. You should only re-post a photo if the license permits it or if the owner has given you specific permission. Karma is as karma does...


The AllSizes Button
Some users have their Flickr account set to restrict downloads on their photos. This is usually done as a deterrent against people misusing their photos. By default, Flickr will not show the AllSizes button on such user's photos.

There are many reasons why people may legitimately want to use the AllSizes button. For example, those who want to see the details present in a large-size image, or those who want to download images for their personal, offline use, or those who want to talk about photos in Flickr discussion groups and use the HTML code to post the relevant photo.

The script will add the AllSizes button to a photo if it is not already present, but it will only show those image sizes that are already viewable on the Flickr website. In other words, it will not show the Original size image for that photo.

(The script used to always give access to the Original size. Some people felt that this was a good thing, others not. Either way, Flickr has since changed the system so that it is now impossible to access the Original size if the owner has chosen to hide it. So that solved that debate...)

You will always be able to use the script for your own photos (if you are logged in), regardless of your privacy settings.


Uninstalling
To uninstall a Greasemonkey script from your browser, go to the Tools menu, select Greasemonkey, then Manage User Scripts, highlight the script and click Uninstall.


RSS feed Follow The Discussion
With the handy-dandy RSS feed for this thread. (If you find this useful, see the group feeds script).


Changelog
(Previous versions of the script)

v1 (28-8-2006):
• Basic features - changes HTML on All Sizes page

v1.01 (20-10-2006):
• Bug-fix: Now displays correct src for original sizes that are gifs or pngs

v1.1 (01-11-2006):
• The whole pop-up paradigm is introduced!

v1.101 (01-11-2006):
• Bug fix: Image notes can now be moved after the pop-up is opened

v1.102 (03-11-2006):
• Now supports BB Code
• Bug fix: Now gets the correct width and height for photos that have been rotated by the owner.
• Bug fix: When you change the title for one of your photos and then open the pop-up, you will now get the updated title.
• Bug fix: The auto-updater now checks every day, as it should have done before!

v1.11 (04-11-2006):
• The script now makes less assumptions when looking on the page for information, such as the photo title and owner username. This should help avoid clashes with other scripts.

v1.111 (08-11-2006):
• In the Code panel of the pop-up, the 'View Image' and 'AllSizes Page' buttons can now be right-clicked to show the browser's context menu - in case you want to open the link in a new tab or window.
• Added support for Attribution-NoDerivs license.
• Fixed bug in recognising users who have the default Flickr buddyicon.
• Fixed bug that prevented the script working when not logged in.

v1.112 (05-12-2006):
• If the AllSizes page has been disabled for a photo, the AllSizes icon in the pop-up becomes faded and not clickable.
• When comments have been disabled for a photo, the 'Add a comment' link no longer appears.
• Fixed bug in getting the dimensions for some non-Pro photos, which had been accidentally introduced when 'cleaning up the code' on a previous release.

v1.113 (07-12-2006):
• Little bug fix relating to the AllSizes icon.
• Auto-update check now gets around Greasemonkey's cacheing by always ensuring the latest version of the script is available.

v1.114 (21-12-2006):
• Flickr has added new image servers, which broke the script. Now fixed.
• Added support for additional user id formats.

v1.115 (23-01-2007):
• Bug fix: Now recognises usernames that end with 's'!
• No longer adds AllSizes button where the photo owner's settings had disabled it.

v1.116 (23-08-2007):
• A change to Flickr's scripting resulted in the AllSizes pop-up quickly disappearing. Now fixed.

v1.117 (23-08-2007):
• A bug introduced during the previous update prevented double-clicking on the AllSizes button to show the AllSizes page. Now fixed.

v1.118 (25-08-2007):
• A bug introduced during the previous update introduced a problem with accessing the 'Add to Set' and 'Send to Group' buttons. Now fixed.

v1.119 (24-09-2007):
• New code on the Flickr site required a script update.

v1.12 (07-02-2008):
• HTML on the Flickr photo page had changed. Script updated to handle this.
• Links to Creative Commons licenses now given in the language registered to your account.
• The Flickr server 'farm' is now included in each image src url.
• The link to the 'Original' size is temporarily disabled, while the original size is not recognised.

v1.121 (07-02-2008):
• Works again when viewing photos by users who have not uploaded their own buddy icon. There had been a change in the buddy icon url structure.

v1.122 (07-02-2008):
• Flickr's HTML for the AllSizes button changed, breaking the script. Now fixed.

v1.123 (21-02-2008):
• Bug fix: Photo buttons no longer split on to two lines, for ones own photos.

v1.124 (11-04-2008):
• Updated code in line with Flickr HTML changes.

v1.2 (02-05-2008):
• Supports original sizes again!
• Clicking the AllSizes button when the pop-up is open will close it.
• The Documentation and About panels have been updated.
• BBCode now includes line breaks.
• The original Flickr 'All Sizes' page is now left untouched.
• Anonymous usage stats are collected (can be turned off - see here)
• The AllSizes+ title in the pop-up is now a handy link to this discussion thread.
• A 'Donate' button has been added to the About panel. Go on... make my day!

v1.3 (10-06-2008):
• Adds AllSizes button *if* you 'Allow Downloads' on your own Flickr account
• Fixes change to Flickr site on 'All Rights Reserved' photos
• Supports Flickr's international languages
• BB Code has line breaks removed (again)

v1.4 (05-07-2008):
• Video stills can now be accessed with AllSizes button
• AllSizes button now always added (but won't include Original size if owner has restricted access)
• "No known copyright restrictions" license now supported
• Copy To Clipboard now working in Firefox3

v1.41 (06-07-2008):
• Fixed bug in downloading / copy to clipboard

v1.42 (06-07-2008):
• Fixed bug on videos available to Friends & Family

v1.43 (07-07-2008):
• Fixed bug on private videos

v1.44 (10-07-2008):
• Fixed bug for accessing videos with Firefox 3 on Mac OSX, plus a few other internal improvements.

v1.5 (09-01-2009):
• Updated to work with new Flickr HTML
• Fixed bug with Download button (re-opening pop-up after clicking download button would re-initiate the download)
• Fixed bug on stats pages (now excluded from stats pages)


===============
INSTALL
AllSizes+ (This will always link to the latest version)
Mirror site - (Userscripts.org)
===============
Originally posted at 3:06PM, 28 September 2006 PDT ( permalink )
premasagar edited this topic 6 months ago.

< Prev 1 2 3 4
(1 to 100 of 318 replies in GM Script: AllSizes+ v1.5)
view photostream

Vieira says:

Cool! I always wondered why Flickr had that static title...
Posted 34 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

@Viera - I think the reason is so that countless links around the Web point to Flickr.com with the title "Photo Sharing", which boosts Flickr's rankings in search engines for being a photo-sharing website. But it's not the most relevant title for a photo in the context that it is usually used.
Posted 34 months ago. ( permalink )

view photostream

laihiu  Pro User  says:

really cool for that changing "the title attribute from "Photo Sharing" to the actual photo title"!!!!!!! :) :) thanks a lot!
Posted 34 months ago. ( permalink )

view photostream

Silly Luis  Pro User  says:

I have made that change by hand a gazillion times. Thanks you!
Posted 34 months ago. ( permalink )

view photostream

Pierpol  Pro User  says:

Is interesting to be able to automate the size of the picture.

Could it be possible to copy automaticaly the hml code?

By this way, you'll just have to do a Ctrl-P and it's done!

Thanks in advance ^_^
Posted 34 months ago. ( permalink )

view photostream

john w  Pro User  says:

@premasagar - Thanks. This is really useful.
Posted 33 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

Thanks all!
I just posted a minor upgrade to fix a wee bug.
Major upgrade coming soon...
Posted 33 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

Version 1.1 is now out!

Big changes - please see the original post on this thread, which is now updated.

For technical reasons, if you already installed version 1 or 1.01, you should uninstall the old script before upgrading.

Enjoy!
Posted 33 months ago. ( permalink )

view photostream

KWentin  Pro User  says:

very nice work!
i just thought that with this version i need an extra klick to get where i wanted - to the larger view, but i just set "original" as default code/picture since i view the large versions more often than to post the html code anywhere.

well done!
Posted 33 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

Thanks KWentin.

You could select "Large" as your default size. Then, to view the image, just hold down 'v' and click the AllSizes button.
Posted 33 months ago. ( permalink )

view photostream

KWentin  Pro User  says:

works good too, yeah! i noticed the shortcuts, but in total contradiction to my other computer-usage, flickr is one of the few sites i totally browse with my mouse :)

i just noticed a minor bug: once i had the "all sizes" dialog opened and closed, i can no longer move notes on my picture. thought i'd have to share this with you!

thanks.
Posted 33 months ago. ( permalink )

view photostream

Pierpol  Pro User  says:

Ah premasagar, i understand why it took you time to achieve this masterpiece !

^_^

Two comments :

- the copy fonctionnality doesn't work for me either in shortcut (c + (size key) + Click Copy code to clipboard) or with the little copy button.
I've got windows xp

- the user insertion is strange, i'm becoming nge Rel. For instance :

Trou de Souris (by nge Rel)
Originally posted 33 months ago. ( permalink )
Pierpol edited this topic 33 months ago.

view photostream

premasagar  Pro User  says:

@KWentin - I'll look into the notes issue. Thanks for letting me know.
Update: Now fixed


@Pierpol - Two strange bugs you are having!

For the Copy to Clipboard function, did you see a security pop-up from the browser asking whether to allow the action?
Try installing the AllowClipboard Helper browser extension, then add www.flickr.com as an allowed site. Restart your browser and try again. Any change?

Update: Further info on the Copy to Clipboard functionality in a later comment.


Your second bug has got me confused.
Does this happen on the photopage or the All Sizes page or both?
Does it work on other photos by you?
Does it work on photos by other people?
Did you uninstall the previous version of the script?
Perhaps you could send me a FlickrMail with the source code of the page you are viewing (or ask me for my email address if it is too long to FlickrMail).
Originally posted 33 months ago. ( permalink )
premasagar edited this topic 31 months ago.

view photostream

flattop341 says:

I'm on to you Pierpol.
[8-)

The copy function works great.
It works on other user photos too.
Excellent script @premasagar!
Thank you.
Originally posted 33 months ago. ( permalink )
flattop341 edited this topic 33 months ago.

view photostream

premasagar  Pro User  says:

Update: The script now supports BB Code (a language used on forum websites). Just click the BB Code button to convert the HTML to BB Code. Click again to convert it back. The copy to clipboard function will copy either HTML or BB Code, depending on what type of code you most recently selected.

Important: There was a bug in the auto-updater. It kept thinking it had already checked for updates, but actually it hadn't! So this time you will need to manually install. There is no need to uninstall the previous version if you are upgrading from v1.1x

Any other bugs?: I've been unable to replicate Pierpol's problem with the username being added to the title. If anyone else has this problem, or any other, please report it. Thanks.
Originally posted 33 months ago. ( permalink )
premasagar edited this topic 33 months ago.

view photostream

Mr Jaded  Pro User  says:

Nice hack - good looking too!
Posted 33 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

Thanks for the feedback...

Inspired by this thread on avoiding clashes between different Greasemonkey scripts, I have made the process of looking for information on the page (such as the photo's title and the owner's username) a lot less dependent on the places it thinks it ought to find it.

This makes the code a little more convoluted, but will hopefully help to avoid any strange interactions between scripts.
Posted 33 months ago. ( permalink )

view photostream

Pierpol  Pro User  says:

I installed your last update and now it's working good for the user name.

Great job PREMASAGAR !

^_^
Posted 33 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

Must be those script clashes.

I'm glad it's working for you, Pierpol. And thanks for your original request for more features - it led to me developing the script much further than the original plan and building a modular system for Flickr Greasemonkey scripts, which can be used in future.
Posted 33 months ago. ( permalink )

view photostream

scragz  Pro User  says:

Can you put in an option to remove the width/height attributes on the img? I always remove that since I've posted stuff places before and then recropped later, which results in a warped image in the place you originally posted it.
Posted 33 months ago. ( permalink )

view photostream

paradox4600 says:

Good job.
One thing that would be nice is if you clicked the all sizes button again when it was open, it would close.
Posted 33 months ago. ( permalink )

view photostream

paradox4600 says:

IMPORTANT:
DO NOT INSTALL Allow Clipboard Helper! IT WILL PREVENT JAVASCRIPT AND FLASH FROM WORKING ON FLICKR.

Simply uninstalling this plugin doesnt fix this, you have to go in and remove flickr from the list.
Posted 33 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

@Paradox4600 - I don't find this. I think that may have happened when I first installed it, though. When I clicked 'Remove All Servers' and restarted Firefox, it was fine.

Scragz & Paradox4600 - Feature requests noted.
Posted 33 months ago. ( permalink )

view photostream

paradox4600 says:

No, i mean if you install it, then uninstall it, the glich is still there, you have to reinstall and remove it, then uninstall.
Posted 33 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

Copy to Clipboard Functionality
If you find that the Copy to Clipboard function doesn't seem to work, then try enabling this in your Firefox browser:

1) Open a new tab and go to the address about:config
2) In the 'Filter' bar, type signed.applets.codebase_principal_support
3) Right-click on the line of text that appears and choose Toggle, so that the value goes from 'false' to 'true'.

Then try the Copy to Clipboard function again.
Originally posted 32 months ago. ( permalink )
premasagar edited this topic 32 months ago.

view photostream

Andy Macdonald says:

Request for a varient of the all sizes script.
I'm new to GM so apologies if this is already available somewhere.

What I would like is a script to make up for the omission in Flickr Gamma for a menu on the all sizes option. What I would like is an easy way for non-GM installed users to be able to access (usually the Large but not always) their chosen size of image on a single click. This could be a script generated main comment such as "Best Viewed ORIGINAL" or even give direct access to all sizes.

What do people think?
Can anyone help me?
Originally posted 32 months ago. ( permalink )
Andy Macdonald edited this topic 32 months ago.

view photostream

Pierpol  Pro User  says:

You are Magic Premasagar !

Now copy function is working...

Yes, yes, YES !

^__^
Posted 32 months ago. ( permalink )

view photostream

Brenda Anderson  Pro User  says:

Here's an enhancement that I would like.

Can you please indicate somewhere whether or not you have added the ALL SIZES button if the person has their account settings set to not display it? Or do you not know if that is the case?

I only ask because if someone has All Sizes turned off, I would like to respect their wishes. I had been assuming that the script only enhances the All Sizes button by giving us more choices for formatting, etc. I didn't realise that it added the All Sizes button to images where I ordinarily would have no access.
Posted 32 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

@Andy - Thanks for the suggestion. One possibility is to let the AllSizes button be draggable... simply drag the button into the comments box to create the link you ask for. (No promises for implementing this at the moment, though).


@Pierpol - I'm glad that did the trick. I only found this out when the script didn't function on a new computer at work...


@Brenda,
I have actually incorporated such an indicator (amongst a couple of other things), ready for the next update to the script. The AllSizes icon within the pop-up window fades and is not clickable if the AllSizes page has been blocked.

For the moment though, a simple way to see if the button was added by the script is to attempt to view the AllSizes page, by double-clicking the button or by clicking the AllSizes icon in the pop-up window: if the AllSizes page is blocked, then a message will appear to tell you.

Personally, I go by the license that the user has applied to the photo. If the photo is Creative Commons, but the AllSizes page is blocked, then I still consider that the user is happy for the photo to be used according to its license.

The matter is complicated by the fact that a user may block the AllSizes page, but not block the Flickr API from letting all the photos' details be known. So, as I say, I go by their license instead.


UPDATE: A minor update has just been released, which provides the functionality of fading the AllSizes icon, as mentioned above. See the Changelog in the first post of this thread for more details.
Originally posted 32 months ago. ( permalink )
premasagar edited this topic 32 months ago.

view photostream

madhavaji  Pro User  says:

Thankyou, thankyou, thankyou Prem. This is a brilliantly useful utility brilliantly written - you're attention to detail is to be celebrated - if only all programmers were so conscientious ...

Much appreciated,

m.
Posted 32 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

*blush*
Posted 31 months ago. ( permalink )

view photostream

-Nicole-  Pro User  says:

Wow, I just downloaded the new version (can't remember how long ago I last updated, but it definitely didn't have the popup). I just have to say that this is fantastic! Thank you for all your hard work on this, I love where you've gone with the script. :-)
Posted 31 months ago. ( permalink )

view photostream

Brenda Anderson  Pro User  says:

As of today, the script is no longer working at all. Clicking the all sizes button does nothing for me.

I suspect it is because Flickr has changed the static database for the photos, and they seem to default to farm1.static.flickr.com/<... now.

I fixed my copy temporarily by updating the static bits here:


// FLICKR REFERENCE OBJECT
var Flickr = {
// Urls
imgRoot: 'http://farm1.static.flickr.com/',
siteRoot: 'http://www.flickr.com/',

// Flickr Regular Expressions
regex: {
photoSrc:
/^(http:\/\/farm1\.static\.flickr\.com\/(\d+)\/(\d+)_(\w+?)((_[stmb])?\.jpg|_o\.(jpg|gif|png))).*$/,
photoPageUrl:
/^((http:\/\/(www\.)?flickr\.com)?\/photos\/([\w@_-]+)\/(\d+))(\/.*)?$/,
allSizesPageUrl: /^http:\/\/(www\.)?flickr\.com\/photo_zoom\.gne\?id=(\d+)&size=(sq?|[tmlo])$/,
buddyiconSrc:
/^(http:\/\/(farm1.static.flickr.com\/(\d+)\/buddyicons\/([\w@_-]+)\.jpg(\?\d+)?|(www\.)?flickr\.com\/images\/buddyicon\.jpg\?([\w@_-]+)))$/,
nsid:
/^\d{8,12}@N00$/
}
};
Originally posted 31 months ago. ( permalink )
Brenda Anderson edited this topic 31 months ago.

view photostream

GustavoG is a group administrator GustavoG  Pro User  says:

I haven't gone through the entire script, but from what you posted here, I noticed the bit saying:

nsid:/^\d{8,12}@N00$/

If this is meant to match all user NSIDs, it's missing those ending in N01.
For example, emdot.
Posted 31 months ago. ( permalink )

view photostream

Canopus Archives  Pro User  says:

Thanks Brenda, I was just scratching my head over that one and thought a recent reinstall of XP, Firefox et all was to blame. The edit has cured it.
Posted 31 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

Thanks Brenda for hacking in and sharing your changes. I've now updated the script to recognise the new image server(s). (Download)

Teccie info:
Flickr will be adding further 'farm' servers in future to balance the load from image requests. The script will now recognise photos served from static.flickr.com or farm(zero to three digits).static.flickr.com.

Currently, the script still outputs the src address of an image from static.flickr.com. According to the official changes to url structure, this src format will work indefinitely. However, I could update the script again to give the specific farm server, which would avoid the Flickr servers having to redirect an image request to the appropriate farm server.

@GustavoG - Thank you for reminding me about addtional NSID formats. I meant to change that some time ago :o)

[Edited comment to give more teccie info!]
Originally posted 31 months ago. ( permalink )
premasagar edited this topic 31 months ago.

view photostream

Canopus Archives  Pro User  says:

After manually editing the original script to include farm1 which worked and seeing you updated the script I uninstalled the script and downloaded the new updated one from your link. It seems the original one without references to farm1 has been downloaded and installed again.
Posted 31 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

@Canopus Archives: That's strange. Try clearing your browser cache to see if it is retrieving an older version...?

If not, take a look at the script code, in the first few lines. The new version number should be 1.114. If it is the new version and it doesn't work, then I'll need to investigate. It works for me...
Posted 31 months ago. ( permalink )

view photostream

RMEIKLEJ  Pro User  says:

Premasagar: I love this script but... the link above is to 1.113
Posted 31 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

When I click on the link and choose 'Show Script Source' from the Greasemonkey pop-up, it most definitely says 'version 1.114'...
Posted 31 months ago. ( permalink )

view photostream

Canopus Archives  Pro User  says:

OK, it's now 1.114. I had been clearing my cache, I have FF set to clear it when closed and closed FF every time I uninstalled old script. Could have been a stale copy on the server cache and it's just caught up and meanwhile you were reading it from your cache which was up to date...or something like that :-)
Posted 31 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

I love a happy ending! ;o)
Posted 31 months ago. ( permalink )

view photostream

Brenda Anderson  Pro User  says:

Thanks!
Posted 31 months ago. ( permalink )

view photostream

RMEIKLEJ  Pro User  says:

Sorry everyone but I'm obviously doing something wrong - when I right click on the link to the script and select "view user script source" it opens up and the version is // @version 1.113 // @date 2006-12-7

I've cleared my cache etc - any advice on what I should be doing?? I use this script soooo much and I'm getting a little grumpy without it - so any help would be appreciated
Posted 31 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

@Rmeiklej - I'm very glad that you find the script useful. It's at times like this that I discover that people are using it, which is good to know.

I'm not quite sure what part of the chain is giving you stale pages. I don't suppose you are on a network that has intense caching of pages going on? Either that or the server must be erratically giving out cached files - but others have got the new version and you have tried several times...

Some possible solutions:
• Wait till the cached file (wherever it is) decides to expire - but I wouldn't want you to get too grumpy ;o)
• Try fooling the browser or server by asking for a slightly different url for the script:
i) www.premasagar.com/dev/gm/flickrallsizesplus.user.js
ii) premasagar.com/dev/gm/flickrallsizesplus.user.js?remember....
(Right-click on the links above and choose 'View User Script Source').

Please let me know what worked for you...
Originally posted 31 months ago. ( permalink )
premasagar edited this topic 31 months ago.

view photostream

Nammer  Pro User  says:

Thanks for the update, I'm back in business!!!!
Posted 31 months ago. ( permalink )

view photostream

RMEIKLEJ  Pro User  says:

IT WORKED thank you! I used one of your different URLs - I get the feeling that my ISP may have a slow cahce - so thanks again and I'm no-longer grumpy!
Posted 31 months ago. ( permalink )

view photostream

http://Geo8.ipernity.com/ says:

Dropping a note just to say that I find it extremely useful! Keep going! :-)
Originally posted 31 months ago. ( permalink )
http://Geo8.ipernity.com/ edited this topic 31 months ago.

view photostream

Ksionic says:

Why not post this in the Flickr changes and bugs forums? That way anyone and everyone will be able to enjoy the changes!
Posted 31 months ago. ( permalink )

view photostream

Vieira says:

I just upgraded from v1 to 1.114. You should really call it 2.0 - what a change!
Hats off to you, premasagar.
Posted 31 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

Thanks all! Good to hear from you.
Well, I think I'll call it version 2 and post it to the Flickr forums when I've managed to sort out the next big upgrade...

I'm planning a 'Custom Code' option, where you can construct the HTML that you want in the code, along with some special tags to insert information on the current photo. For example:

<p>{title}, by {user}</p>
<a href="{url}" title="{title}" ><img src="{src}" /></a>
<div class="desc">{desc}</div>

Now... a question:
Does anyone find it useful having the option to change the code depending on whether the photo is yours or somebody else's?

The original idea was that if you are posting your own photos to your blog then you probably don't want to include your username in every title, but I wonder if anyone else uses this. So, let me know what you do or don't find useful and what you'd like to see...

:o)
Posted 31 months ago. ( permalink )

view photostream

http://Geo8.ipernity.com/ says:

I want the username and it doesn't make any difference if the picture is mine or not. The script without options is, so far, just fine for me. But I don't mind having options to choose.
Originally posted 31 months ago. ( permalink )
http://Geo8.ipernity.com/ edited this topic 31 months ago.

view photostream

cmiper  Pro User  says:

Not sure if this has been mentioned before, apologies if so.

This is probably my favorite Flickr script of those that I use, and I really hope that it doesn't become an issue in the future, but right now, the script bypasses part of Flickr's privacy settings for accessing larger image sizes. I know the security that is in place is more of a deterrent rather than security, but either way, this scripts allows you to easily ignore the rules and brings you to the file in question. The button for all sizes is always shown, regardless of the user's settings, and though you can't get the photo's page, you can get both the code to it and view the photo directly.

I personally have no issue with this and my photos, but some people may. I know that it's easy enough to edit the URLs to get the originals when people disable downloads, but that is something that Flickr will hopefully straighten out at some point, and at the same time, this script makes it all the easier to accomplish.

Please don't take it as a complaint, I guess just don't want to see Flickr come down on this script for what it is capable of.
Originally posted 31 months ago. ( permalink )
cmiper edited this topic 31 months ago.

view photostream

Andreas Helke says:

Most third party applications ignore those privacy settings. You can always look at the page source code and find the oringianl photo there. The applications and scripts just make it a little easier to actually do it. I think it was a bad idea to offer privacy settings that are not enforcable and only keep the clueless out.
Posted 31 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

The Ethics of AllSizes+
This is indeed an issue that I have been anticipating. In fact, this was the other reason that I haven't yet released this into the major forums of Flickr (as suggested by Ksionic a few comments back).

I expect there will be people who want their photos protected from being used by others and who may be shocked at how easy it is for anyone to access their images. To be sure, this script doesn't do any black magic - anyone can manually access a photo's image in just a matter of seconds. The script simply saves those few seconds and presents it in a simple way.

I wrote the script because I am a blogger. I use my own and others' photos on my own blog, on Flickr forums and on social networking websites. I tend to use Creative Commons photos, or if I want to use a traditional copyright photo, then I ask for permission and I always credit the photographer. I make my own photos Creative Commons so that others can use them in the same way.

I have never yet had someone refuse me permission to use a photo in a project. So, while I could prevent the script accessing photos that have the AllSizes button disabled, or that don't appear via the Flickr API, I do have legitimate reasons for accessing such photos and I want to save the time taken to grab the photos manually. I imagine this is also true for other bloggers.

However, there will always be those who take advantage of others' creativity, who use it inappropriately and without credit. This script makes it easier for anyone to access the images and I sincerely hope that people use it responsibly, with consideration for the artist. For this reason, I have included a prominent reminder about getting permission in the script's main pop-up window.

The way I see it, we are all part of the human race and more and more people are getting access to the Internet. Pretty much anything posted on the Web can be accessed by anyone else. This brings unprecedented potential for collaboration and sharing - the human race can work together more closely as one. But there will always be people who only care for their own slice of the pie, at the expense of others. I don't see any way to stop that, other than educating people about the value of working together and respecting each other.


Possible Solutions
I can't think of a simple, effective and convenient way to change the AllSizes+ script that gives everyone the feeling that their photos are secure, yet also allows bloggers to use any photo that they have permission to use.

• I could block the script from accessing traditional copyright photos that also have the Flickr API and the AllSizes button disabled. As I mentioned, this would inconvenience the blogger who has permission to use such photos, but perhaps it is an appropriate limitation to the script.

• I could put a 'nag screen' that asks 'Do you have permission to use this photo?' before showing the code - but that would just be annoying and probably wouldn't convince anyone.

• There are other possibilities - such as exchanging a secret code between blogger and photographer through the script - but that would require the photographer to also install the script, along with Greasemonkey and Firefox.

I would love to see a system incorporated into Flickr like the last point above. In the same way that a user may invite another user to a group, allowing the recipient to either accept or decline through their FlickrMail, I can imagine a system where a user may request permission to use a photo - if the photographer agrees, the HTML code is then automatically sent to the requesting user, along with the download link...

Does anyone have any better ideas?
Posted 31 months ago. ( permalink )

view photostream

cmiper  Pro User  says:

@premasagar - I fully agree with what you have said, and I know where you are coming from, but as you stated, there are good and bad folk out there, ant those who will use this to their advantage against the original photo posters wishes. At that, all it takes is one person to complain over on one of the main Flickr forums and all hell breaks loose. I really don't want to see that happen, but at the same time, I don't know enough about scripting to offer you a solution either.

As I stated, I have no issues with what the script does, as I am using it for my own photos, and only to view other's photos. I would say that the only problem is that the script doesn't let the user know that the photos they are viewing are ones that are being blocked or not by the privacy rules. Other than that, if someone is going to use it maliciously, there is nothing that you can do that is going to stop them, so I don't think adding nags and such are a good idea, they only punish the honest users.

All in all, I don't feel that the concern over security and privacy should lie on script writers. Flickr is well aware of the issues with security and privacy and even calls their security "deterrents" rather than true security. But in the end, if Flickr feels that scripts like this are generating complaints, I think they would not only work harder on their privacy settings, but at the same time would most likely ask that the scripts disappear. I do recall this being the case with a Flickr Toolbar that came out about a year or so ago?

Either way, the script is appreciated, as are all that are posted here...to that I say Thank You.
Posted 31 months ago. ( permalink )

view photostream

Cromo  Pro User  says:

well something similar happened to Portable Flickr, a tool I created for donwloading photos from flickr.
First of all, it had the word flickr, so I has renamed it.
Second, it didn't look at the "license" of the photo to allow you to download. Now I'm finishing a version that tells you about you downloading all right reserved photos. It does allow you right now to download, but you are responsible of doing so or not. The same happens in flickr.
If we had a way to access the setting in your profile where you allow to download or not your photos, I could just filter contacts that have this options set, and ignore contacts that dont want people to download photos.
Posted 31 months ago. ( permalink )

view photostream

Christine Lebrasseur  Pro User  says:

Could this script be responsible of that... ?

www.flickr.com/photos/mc-shutter/355975463/

www.flickr.com/photos/hortonfogg/355937877/

www.flickr.com/photos/_lc/356688394/

...
Posted 30 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

Hi Christine,
I just looked at the links you posted. I see that someone has been posting other people's 'all rights reserved' photos to his blog and making them available for download - without permission.

I looked at the HTML source code on his blog and it looks like he is not using this script, because the HTML code that this script produces looks different.

If someone uses your photos without permission, the first thing to do is contact them and ask them to remove them. If that doesn't solve the problem, then contact the Flickr team directly and/or the webhost where the photos are being posted.

I have given a comment about this on the photo in the first link you gave.

Best wishes,
Prem.
Originally posted 30 months ago. ( permalink )
premasagar edited this topic 30 months ago.

view photostream

Christine Lebrasseur  Pro User  says:

I thank you for your answer Prem, all is already done but yet... this person continue to give for free our original pix

In the HTML code, the link toward the original appears, that why my question...
Posted 30 months ago. ( permalink )

view photostream

Stuck in Customs  Pro User  says:

Nice script and useful. However, I notice that it takes the "S" off my username!

For example (I took off the bracket)

a href="http://www.flickr.com/photos/stuckincustoms/361605704/" title="Kuala Lumpur from the Air (by Stuck in Custom)"

-- it should be Stuck in Customs
Posted 30 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

Thank you, Stuck in Customs! You found a bug. Previously, the script did not know how to handle possessives after a username that ended in 's'...

For example, it understood Premasagar's photos but not Stuck in Customs' photos.


New Version
1. I've fixed the bug above.
2. I've also stopped the script adding the AllSizes button where the photo owner's settings had disabled it. I anticipate that there would be more frustration for photo owners who didn't want the button added than there would be for bloggers who wanted to access those photos after getting permission.
Posted 30 months ago. ( permalink )

view photostream

Brenda Anderson  Pro User  says:

I've also stopped the script adding the AllSizes button where the photo owner's settings had disabled it.

You've just become a hero to many people who have complained about GMscripters who ignore user preferences.
Posted 30 months ago. ( permalink )

view photostream

יעקב  Pro User  says:

THANK YOU FOR THIS SCRIPT!
By the way, that apostrophe treatment is wrong, according to The Elements Of Style... :P
Posted 30 months ago. ( permalink )

view photostream

childish_david  Pro User  says:

i see the point of people not liking a scrip that takes the original size if they disabled it. It would still be very useful if you want to post a small/medium size image into a discussion. For example there are discussions in a couple of groups where you pick your favorite photo from the previous pserson and post it, then the next one picks a favorite from your stream and so on. Its wonderful idea but since many have disabled downloads all you can do is paste a text link.
I think if you anable anything up to medium size (which is the size that everyone can see anyway) it might be a good compromise.
Posted 30 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

@ Childish David - This is a good point.

I have heard before that any photo's square, thumbnail or small image can be used elsewhere (with attribution), regardless of the license. This would seem to fit with the Fair Use principle of posting excerpts from copyrighted works. Fair Use allows, for example, anyone to reprint a short passage from a book or article. It is also how Google can show small versions of copyrighted images on their image search engine - it is not a breach of copyright.

I'm not sure if medium-sized images would qualify and I cannot find any official Flickr rule that clears this up one way or another. I'd imagine that some photographers who choose to hide the AllSizes button would not be so pleased about medium-sized images of their photos appearing elsewhere.

It would be possible to offer square, thumbnail, small (and possibly medium) sizes for such photos, though the code would need to be changed a fair bit. At the moment, it either gives you everything or nothing.
Posted 30 months ago. ( permalink )

view photostream

Brenda Anderson  Pro User  says:

It appears that Flickr has starting giving originals a different secret, so the script no longer works to show original size.
Posted 29 months ago. ( permalink )

view photostream

ÐIÐËO  Pro User  says:

There doesn't appear to be any pattern to it either so I'm not sure if a new script can be created to get around it. Am I right?
Posted 29 months ago. ( permalink )

view photostream

Brenda Anderson  Pro User  says:

I don't think the script can be fixed to show original because it would have to call the API to find it... and scripts don't call the API do they? I don't know that much about how they work.
Posted 29 months ago. ( permalink )

view photostream

childish_david  Pro User  says:

I can't find the link right now, but it said that flickr is changing the naming for the original sized file so its different from the other sizes thus you can't access the originals any more based on using the normal size name. And I think thats the basis how this script works.

By looking at the page source it was pretty easy to get to the original size photo regardless if the download option was set ot not. I think flickr is trying to fix that with unique names for the large/original size images.

I don't think they are going to rename all existing images, but then I don't know.
Posted 29 months ago. ( permalink )

view photostream

mortimer?  Pro User  says:

Brenda, GM script can call the API, and very easilly, they don't even need a key as they can reuse the one already used for the basic default display :)

The new URL scheme is described here:
www.flickr.com/services/api/misc.urls.html

You can call the API, but then, you need the right rights to be able to get the secret for the original.
Posted 29 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

It's true - the AllSizes+ script in its current form will not get the correct url for the original sizes of newly uploaded photos. It will still work for photos uploaded before this changeover. However, a new Flickr option will allow owners to generate new secrets for their existing photos, so those photos could also be affected.

I knew that this changeover was imminent, but unfortunately I've been too busy on other work to bring the script up to date yet. It will require a little overhaul and I'll get on to it as soon as I possibly can.
Posted 29 months ago. ( permalink )

view photostream

childish_david  Pro User  says:

Have not found the "convert to new secret code" option. Is it something that is going to come or is it just me not finding it?
Posted 29 months ago. ( permalink )

view photostream

Brenda Anderson  Pro User  says:

The 'convert to new secret' function hasn't been released yet. It's been mentioned as coming, though.

Thanks premasagar. Will keep an eye out for an updated version.
Posted 29 months ago. ( permalink )

view photostream

Dr-Leech  Pro User  says:

hey premasagar, thanks for this script, is awesome.

About the issue that don't display the correct original size photos, can you change it to display too the page that shows the original size photo inside the All Sizes instead of the direct photo url?
Or maybe an option to switch between it or current way.
Posted 29 months ago. ( permalink )

view photostream

Afulki  Pro User  says:

Dr-Leech I second that, just going to the view original page would be cool
Posted 29 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

@Dr-Leech / Afulki - I'm not entirely sure what you are suggesting. I think you mean one of these possibilities:

1) Have a button or an easy way to access the Original Size version of the photo, as displayed on the standard Flickr AllSizes page (e.g. this).

2) Have an option to include the url of the Original Size AllSizes page within the HTML code of the script's pop-up window.

Or something else...
Posted 29 months ago. ( permalink )

view photostream

Afulki  Pro User  says:

I was meaning, if you can't display the correct URL in the copy / paste box, the next best thing (on clicking the "original" size link in your popup) would be to have the popup redirect to the Flickr original size page.

i.e. flickr.com/photo_zoom.gne?id=412383398&size=o

Gary
Posted 29 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

OK. Thanks for clarifying, Gary.
Posted 29 months ago. ( permalink )

view photostream

forzet says:

cool


Posted 28 months ago. ( permalink )

view photostream

davebushe  Pro User  says:

Is anyone else finding that when they try and look at original size with the script on Flickr comes up with a photo not found?

Turn script off and it works just fine.
Posted 28 months ago. ( permalink )

view photostream

kellan  Pro User  says:

I don't think the script has been updated to respect original secrets.
Posted 28 months ago. ( permalink )

view photostream

~ fernando  Pro User  says:

yes, if I try to look at the original size, it says that the photo is not found. I have to then go to Safari (for example) to view it.
Posted 28 months ago. ( permalink )

view photostream

teaeff says:

m, I am also having this problem, although it is a very fine script indeed.
Posted 27 months ago. ( permalink )

view photostream

apurdam (Andrew)  Pro User  says:

w.r.t. getting photo not found on original, I agree with Kellan that it is due to a change in flickr displaying original pics, which the script hasn't caught up with yet.
In the mean time, if large isn't big enough for you, simply double click the All Sizes Button and you will still get flickr's usual All Sizes page to select the original from.
Posted 27 months ago. ( permalink )

view photostream

premasagar  Pro User  says:

Thanks for all your continued feedback, folk. I've not forgotton about this - just really, obscenely, unavoidably busy... And I want to give a thorough, quality upgrade to the script. ASAP
Posted 27 months ago. ( permalink )

view photostream

splitlenz says:

Done! - My highest compliment. I give it a 9.8.
Posted 27 months ago. ( permalink )

view photostream

2nihon  Pro User  says:

The Original Sizes link seems to be broken recently, I think since they started renaming the photographs 'for privacy'. I have to go to the regular All Sizes page to grab my originals.

Edit: Never mind! I see it's already being addressed. My apologies.
Originally posted 27 months ago. ( permalink )
2nihon edited this topic 27 months ago.

view photostream

paradox4600 says:

I get the "Photo unavalible" photo whenever i use this now.
Posted 25 months ago. ( permalink )

view photostream

Robin "Evil Bob" A  Pro User  says:

@premasagar: Excellent script, use it all the time. Any chance there will be an update soon for the "secrets" issue?
Posted 25 months ago. ( permalink )

view photostream

Engineer J says:

Hi, thanks for a wonderful help. But a lot of my contacts have IE, and i think you should provide a bookmarklet (or favelet) version of the script as well. It will help many users who are not on FF.
Posted 24 months ago. ( permalink )

view photostream

# Cid # says:

Internet Explorer? i dont remember whats that...
Posted 24 months ago. ( permalink )

view photostream

Engineer J says:

Neithr do i. I am aware of Opera too. There Must be something for everyone (i am talking 'bout script).
Posted 24 months ago. ( permalink )

view photostream

splitlenz says:

Excellent scripts!!!!!
Posted 24 months ago. ( permalink )

view photostream

PhotoComiX  Pro User  says:

when is chosed Original size the script display often a page not found message.,but same images become available by turning off greasemonkey
Posted 23 months ago. ( permalink )

view photostream

B G  Pro User  says:

Why my all sizes script stopped working? When I press 'all sizes' button it flashes the script text and proceeds to the standard Flickr's all sizes. I uninstalled old version and installed the latest one. It did not help.

The main advantage for me as admin was that it has the user name in the script as 'by username'. Without it I have to go to the user page to extract those extravagant names.

Can someone help me please?
Originally posted 23 months ago. ( permalink )
B G edited this topic 23 months ago.

view photostream

youpidou says:

I'm seeing the same problem than B_G, the script text flashes real fast and then goes away. Any idea?
Posted 23 months ago. ( permalink )

view photostream

sequentverdure says:

Same problem here. I tried uninstalling and reinstalling (worth a shot) but no luck..
Posted 23 months ago. ( permalink )

view photostream

-Nicole-  Pro User  says:

sequentverdure Same problem here as well :-(
Posted 23 months ago. ( permalink )

view photostream

matt-hurst  Pro User  says:

same problem here too, only the menu wont even flash for me
Posted 23 months ago. ( permalink )

< Prev 1 2 3 4
(1 to 100 of 318 replies in GM Script: AllSizes+ v1.5)
RSS 2.0 feedSubscribe to a feed of stuff on this page...</!!> Feed – Subscribe to Flickr Hacks discussion threads
Add to My Yahoo!