![]() |
#61 |
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Thanks to you!
I use notepad++, and I found really strange that it works for my kindle (and for a friend's of mine) but not for yours! Anyway, I changed the realease notes. Let me know if you find any problem or if you have any suggestion! |
![]() |
![]() |
#62 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
This bat file renames jpgs to increment numbers in file names according to order of their original names to adapt them to this extension (imagegallery)
(take a backup of your jpg's before using) how to use it:
Last edited by thomass; 03-06-2012 at 05:03 PM. |
![]() |
Advert | |
|
![]() |
#63 |
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
I just added a landscape support for this app based on the work of fe26aes.
It just open another htlm page. It works in the same way of the other except for this: - in reading mode, tapping on a bottom strip scrolls down the page. To use it, just extract index.html and rotation.html in /imagegallery/bin (you'll have to replace the old index.html). You'll see a small "go to landscape mode" in the app. It isn't fully integrated with the orientation script because I can't run shell script from inside an html page (i.e. I can't set the orientation from inside the app) but if you set the orientation before opening the app, it works fine. |
![]() |
![]() |
#64 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2012
Device: kindle touch
|
Quote:
No longer would want is a good job. Thank you very much ![]() |
|
![]() |
![]() |
#65 | |
Member
![]() Posts: 16
Karma: 10
Join Date: Jan 2012
Device: kindle touch
|
I'm using the sync extension,somehow the change doesn't work,it still add sub dir for Gallery as collection,so I look into the file.
I found it hard to understand what the "\" in "grep -v "\Gallery$" means, since the "\" already change to "-" in the previous sed procedure. (also the \.sdr$ ![]() I try to change it to my more familiar form: grep -v "/mnt/us/documents/Gallery/" | grep -v "/mnt/us/documents/Gallery$" and put all grep -v before the sed procedure it works for me,and should be little bit faster too. Quote:
Last edited by dir194; 03-06-2012 at 09:24 AM. |
|
![]() |
Advert | |
|
![]() |
#66 | |
Member
![]() Posts: 16
Karma: 10
Join Date: Jan 2012
Device: kindle touch
|
forget it.. stupid questions…… mistake the \ to /
just use Code:
find /mnt/us/documents -type d |grep -v "/mnt/us/documents$" | grep -v "\.sdr$" | grep -v "^$" | grep -v "/mnt/us/documents/Gallery/" | grep -v "/mnt/us/documents/Gallery$" | sed "s/^\/mnt\/us\/documents\///g" | sed "s/\//-/g" | while read dir; do Quote:
|
|
![]() |
![]() |
#67 | |
Groupie
![]() ![]() Posts: 153
Karma: 113
Join Date: Jan 2012
Location: Russia
Device: Kindle Touch
|
You can do it faster if you do
Quote:
|
|
![]() |
![]() |
#68 |
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Thanks for the interest!
I forgot to update this! I'm currently using this command: PHP Code:
![]() |
![]() |
![]() |
#69 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
3 remarks:
1. the two sed commands can be combined into one: ... |sed -e "s/^\/mnt\/us\/documents\///g" -e "s/\//-/g" | grep ... 2. your second-last grep is wrong. Should probably be "\-Gallery", not "\Gallery". \G is not a valid escape code ![]() 3. Your last grep is probably useless: you already replaced /mnt/us/documents by "", so there are no occurrences of -mnt-us-documents "Probably" everywhere because I also didn't test it ![]() Last edited by ixtab; 03-06-2012 at 05:07 PM. |
![]() |
![]() |
#70 |
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Thanks for the advices!!!
All i did is to add one more grep, the rest was the original code! I edited index.html and rotation.html to use external js files. I also edited rotation.html to add: - adjust scroll: while reading, you can increase or decrease the scroll down by hitting the "menu". The default scroll is 600px. Increase and decrease change it by steps of 330px. This means: you hit decrease ==> the new scrolldown is (600-330)=270px. I choosed 330px because this was the perfect size for "3 strips page" comics like this: http://imageshack.us/photo/my-images/136/ratman72.jpg/ You can choose your perfect scroll size by editing the rotationJS.js file: PHP Code:
- I removed the dropdown menu in landscape mode because the popup window appears in an odd place (not centered). This means that long folders list are cut. I moved back to the old text input box. Just write the folder name in it and press "choose folder". I know it's boring, but, afaik, I can't choose where to open the popup window. **************INSTALLATION************** As always, just replace files in /imagegallery/bin *************************************** |
![]() |
![]() |
#71 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2012
Device: Kindle Touch
|
@silver18 Could you post full Image Gallery package with all modifications and updates? I don't want to read all posts to get it working.
Thanks in advance. |
![]() |
![]() |
#72 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
|
![]() |
![]() |
#73 |
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
I'm going to open a new 3d as soon as I'll finish what I have in mind to do (general rewrite plus some interface improvements).
Sorry to delay this, but it really needs some improvements to deserve a dedicated 3d! Till then, you can find the "core" here: https://www.mobileread.com/forums/sho...8&postcount=37 and the last update here (just replace files): https://www.mobileread.com/forums/sho...9&postcount=70 |
![]() |
![]() |
#74 |
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
New features added:
- speed up page turning - new menu - some code improvements to make the waf lighter I'm currently working on: - image processing (brightness - contrast - lightness) to provide a way of adjusting the image to suit the kindle's screen. This should be handy when you're viewing colour images. Be patient, I'll release it asap! |
![]() |
![]() |
#75 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2012
Device: Kindle Touch
|
Hi Silver18!, First of all, thank you for all ur work, the WAF work's great on my Kindle Touch... But i have a question!... For your next release, will it be necessary uninstall the previous version of the waf or is just an update?, and how do i uninstall the core?... (https://www.mobileread.com/forums/sho...8&postcount=37)
Thanks dude! |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PDF images upside down - a solution | Fingerstoo | Conversion | 4 | 12-21-2011 11:57 AM |
Double tap doesn't zoom images full screen | nonsequito | Apple Devices | 0 | 01-15-2011 05:03 PM |
Display images full-screen? | jttraverse | ePub | 3 | 01-09-2011 04:59 AM |
Full-Screen images on the K2? | Thorkin | Amazon Kindle | 1 | 03-12-2009 07:48 PM |