First of all i wanted to thank the owner who created this script. It is rather useful although it lacks a bit of documentation for the moment. Anyways, the last days i am experiencing with the script and i wanted to see how to work with the image galleries of various websites
To give an example, we have an album with thumbnails for example:
Code: Select all
http://xxx.com/gallery/thumbnails.php?album=27
In that album when you click on the thumbnails you go to another page that contains the full size image, i.e
Code: Select all
http://xxx.com/gallery/displayimage.php?album=27&pos=0
when you clik on the image through javascript it opens another window with the full size image i.e
Code: Select all
http://xxx.com/gallery/displayimage.php?pid=154&fullsize=1
Although the url of the thumbnail and the actual full size image are very easy i.e
Code: Select all
http://xxx.com/gallery/albums/something/something/thumb_filename.jpg
http://xxx.com/gallery/albums/something/something/filename.jpg
it didn't work either with the regexp or the wrapped method, because the url of the links are different with the thumbnail and the fullsize images
I did wrote the match, pattern and the template correctly:
Code: Select all
Matcher: http://xxx\.com/gallery/albums/directory1/directory2/\d+\.jpg
Pattern: http://xxx\.com/gallery/albums/directory1/directory2/thumb_(.+)
Template: http://xxx.com/gallery/directory1/directory2/$1
but because the links of the urls are different that the actual images the script doesn't work
I think we can use custom script for this job but i don't know what to write...
Just to mention that those galleries don't use element_id for the images so it doesn't work the wrapped method, so it can be done either with regexp or custom
Also the galleries have many subdirectories, so after the /gallery subdirectory there are various directories that need to be included in the script in order to work for all album galleries because most of them have the same functionality
Any help would be appreciated...
Greetings...
Nick