Skip navigation.

exploreopera

| Help

Sign up | Help

Opera FAQ's, Tips, Tricks & Tweaks

More about Opera browser

Bookmarklets to view gallery images quickly

,

If you want to view images in thumbnail gallery, you have to open them all in new tab or view them one by one in single tab. First will clutter your tab bar and second will take time to view all the images.

Super page bookmarklet will show all links in a single page. Create a bookmark with the following.
javascript:if(frames.length>1)alert('This bookmarklet does not work with frames.');else{var wnd=open('','imgwin','width=600,height=600,top=0,left=0,scrollbars,resizable');var lnks=document.links;with(wnd.document){var s='<html><base target=_blank>';for(var i=0;i<lnks.length;i++){s+='\n<IFRAME SRC='+lnks[i].href+' WIDTH=800 HEIGHT=800></IFRAME><p>';}s+='</html>';writeln(s);void(close());}}

Limitations:
  1. It will try to open all links in a page. So, it may open unwanted pages.
  2. Images won't be saved if you save generated page.

Path Generator bookmarklet will show all images in a single page.

Limitations:
  1. It won't work if site servers configured only to send images based on referrer. You can fake referrer using Proxomitron.
  2. Images won't be saved if you save generated page.

Suppose, if image path is like following,
http://www.some-site.com/images/01/pic-1.jpg
http://www.some-site.com/images/01/pic-2.jpg
http://www.some-site.com/images/01/pic-3.jpg
http://www.some-site.com/images/01/pic-4.jpg
http://www.some-site.com/images/01/pic-5.jpg
http://www.some-site.com/images/01/pic-6.jpg
http://www.some-site.com/images/01/pic-7.jpg
http://www.some-site.com/images/01/pic-8.jpg
http://www.some-site.com/images/01/pic-9.jpg
http://www.some-site.com/images/01/pic-10.jpg
http://www.some-site.com/images/01/pic-11.jpg
http://www.some-site.com/images/01/pic-12.jpg
http://www.some-site.com/images/01/pic-13.jpg
http://www.some-site.com/images/01/pic-14.jpg
http://www.some-site.com/images/01/pic-15.jpg

You have to change the following values.
var p1 = 'http://www.some-site.com/images/01/pic-';
var ext = '.jpg';
var begin2 = 1;
var end2 = 15;
var zerofill2 = 0;

Suppose, if image path is like following,
http://www.some-site.com/images/01/pic-01.jpg
http://www.some-site.com/images/01/pic-02.jpg
http://www.some-site.com/images/01/pic-03.jpg
http://www.some-site.com/images/01/pic-04.jpg
http://www.some-site.com/images/01/pic-05.jpg
http://www.some-site.com/images/01/pic-06.jpg
http://www.some-site.com/images/01/pic-07.jpg
http://www.some-site.com/images/01/pic-08.jpg
http://www.some-site.com/images/01/pic-09.jpg
http://www.some-site.com/images/01/pic-10.jpg
http://www.some-site.com/images/01/pic-11.jpg
http://www.some-site.com/images/01/pic-12.jpg
http://www.some-site.com/images/01/pic-13.jpg
http://www.some-site.com/images/01/pic-14.jpg
http://www.some-site.com/images/01/pic-15.jpg

You have to change the following values.
var p1 = 'http://www.some-site.com/images/01/pic-';
var ext = '.jpg';
var begin2 = 1;
var end2 = 15;
var zerofill2 = 1;

Suppose, if image path is like following,
http://www.some-site.com/images/01/pic-01.jpg
...
http://www.some-site.com/images/01/pic-15.jpg

http://www.some-site.com/images/02/pic-01.jpg
...
http://www.some-site.com/images/02/pic-15.jpg

...

http://www.some-site.com/images/10/pic-01.jpg
...
http://www.some-site.com/images/10/pic-15.jpg

You have to change the following values.
var p1 = 'http://www.some-site.com/images/';
var p3 = '/pic-';
var ext = '.jpg';
var begin = 1;
var end = 10;
var zerofill = 1;
var begin2 = 1;
var end2 = 15;
var zerofill2 = 1;

Suppose, if image path is like following,
http://www.some-site.com/images/india/pic-01.jpg
...
http://www.some-site.com/images/india/pic-15.jpg

http://www.some-site.com/images/norway/pic-01.jpg
...
http://www.some-site.com/images/norway/pic-15.jpg

http://www.some-site.com/images/switzerland/pic-01.jpg
...
http://www.some-site.com/images/switzerland/pic-15.jpg

You have to change the following values.
var p1 = 'http://www.some-site.com/images/';
var p3 = '/pic-';
var ext = '.jpg';
var begin2 = 1;
var end2 = 15;
var zerofill2 = 1;
pArray = new Array('india', 'norway', 'switzerland');

How to share Opera settings between Windows & Linux?Listed under Opera community featured bloggers

Comments

avatar
Hi Tamil

The link to Proxomitron is wrong.
It should be so:
http://my.opera.com/community/forums/topic.dml?id=76301

and not:
http://my.opera.com/Tamil/blog/=/community/forums/topic.dml?id=76301

Regards
:wink: :wink: :wink:

By el_esponjoso, # 6. October 2007, 21:17:40

avatar
Thanks.

By Tamil, # 7. October 2007, 04:04:54

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

Please type this security code : 8619a6

Smilies

May 2008
SMTWTFS
April 2008June 2008
123
45678910
11121314151617
18192021222324
25262728293031