Close
MDGeist said:
btw. what about rsync ?

i dont want to dl these "big previews" for backup...
The previews are all in sample/, so you can probably use the --exclude rsync option.

ViBaYo said:
I'm using firefox and until I have turned off the option I still had the pixelated resized image when I pressed the hi res option. Now with the option deselected the images load on hi res properly
It loads the file in the background, and doesn't show it loading progressively, it just loads the whole file and then changes over. I want to improve that, but in the meantime, are you sure it wasn't working (did you wait long enough for it to load)?
petopeto said:
It loads the file in the background, and doesn't show it loading progressively, it just loads the whole file and then changes over. I want to improve that, but in the meantime, are you sure it wasn't working (did you wait long enough for it to load)?
No, sorry. I didn't wait. When I saw the image completely displayed I thought that the image had this quality. And with the utorrent working the image was probably being loaded very slowly. Now I have tried it and waiting long enough the image loads properly. The problem is that there isn't any sign that indicate that the image is still loading. I pressed the hi-res option, the image was resized instantaneously and I didn't saw anything that could made me think that another image was being loaded.
I just wanted to say that I think this is a very niec change. Not only do you potentially save a LOT of bandwidth (people only have to load the full image if they like it), I can browse around a lot faster.

Very smart move, thanks to all involved.
My complaint is that you need to make it even more obvious that it is a 'preview' (Of course some people will want the preview)

Perhaps an coloured border around the image?
I like it, makes viewing much faster. And for the ones I do want to save, I can just view original size.

As for whether or not its still loading, it seems that firefox will show "transferring data from..." in the status bar until it's done loading. Just doesn't show it in the tab.
That would make images ugly, and that's the last thing an image board should be doing.

I guess there could be a floaty dialog when you mouseover the image (eg. saying "preview"). It's explained in neon lights already, though. The confused comments seemed to have stopped, are people still flagging (are people really still confused)?
Unless there are more confused users, then I think I could live with the way things are.
I know I'm in no place of suggesting stuff here (I'm fairly new to moe.imouto and I'm kinda a hevy leecher ~~;) but I think it would be nice if you could mark some sort of option at your account that you wish to have the images resized down and than have the link for the full stuff or not.

But if your goal is to use less BW, than my stupid suggestion is totally trashed...

Thanks for reading me.
You can set a option in your profile to always show the high res instead of having to click.
admin2 said:
You can set a option in your profile to always show the high res instead of having to click.
For those that haven't setted it yet, the first option used will set it for the account anyway, correct?
It defaults on, and clicking "always show original images" is just a shortcut for turning it off in settings.
The auto resize function is great, although I use FF2 it doesn't tend to get ugly either. And watching pics on this 26" is awesome. I get some 1 mb/sec+ most of the time.

And then again bw is not a problem here in Europe, at least not here in Sweden ^_^
Probably due to the change of the login classes and with my almost zero knowledge of ruby I can't seem to solve this problem:
ActionView::TemplateError occurred in post#show:

undefined method `show_samples' for #<LoginSystem::AnonymousUser:0x2dfa3e8>
On line #18 of post/show.html.erb

15: This post was deleted. Reason: <%= format_text(@post.deletion_reason, :skip_simple_format => true) %>. MD5: <%= @post.md5 %>
16: </div>
17: <% end %>
18: <% if !@post.is_deleted? and @post.use_sample(@current_user) %>
19: <div class="status-notice" style="display: none;" id="resized_notice">
20: This image has been resized. Click Original File to view the original image.
21: <br>

app/models/post.rb:1142:in `use_sample'
app/views/post/show.html.erb:18:in `_run_erb_47app47views47post47show46html46erb'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `compile_and_render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in `render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in `render_file'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1100:in `render_for_file'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:836:in `render_with_no_layout'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:262:in `render_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1153:in `default_render'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1159:in `perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:725:in `run_before_filters'
app/controllers/application.rb:139:in `cache_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:469:in `send!'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:469:in `call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:722:in `run_before_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:695:in `call_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in `process_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in `with_signal_handler'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in `process_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in `process_each_request'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:612:in `each_cgi'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:609:in `each'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:609:in `each_cgi'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in `process_each_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in `process!'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in `process!'
/home/moe/danbooru/public/dispatch.fcgi:24

-------------------------------
Request:
-------------------------------

-------------------------------
Session:
-------------------------------

  • session id: "BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--e05937ad618bcfc3cc289fe006b6f5d804104c77"
  • data: {"flash"=>{}}
-------------------------------
Environment:
-------------------------------

  • DOCUMENT_ROOT : /home/moe/danbooru/public/
  • FCGI_ROLE : RESPONDER
  • GATEWAY_INTERFACE : CGI/1.1
  • HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/msword, */*
  • HTTP_ACCEPT_ENCODING: gzip, deflate
  • HTTP_ACCEPT_LANGUAGE: ja
  • HTTP_CONNECTION : Keep-Alive
  • HTTP_COOKIE : __utma=177868217.859983213.1199926627.1203646919.1203652515.175; __utmz=177868217.1199926627.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); mode=view; tos=1; __utmb=177868217.11; moe.imouto.org=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7AA%253D%253D--e05937ad618bcfc3cc289fe006b6f5d804104c77; __utmc=177868217.11
  • HTTP_HOST : moe.imouto.org
  • HTTP_REFERER : http://moe.imouto.org/post?tags=&searchDefault=Search
  • HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Sleipnir/2.6.2
  • PATH_INFO :
  • QUERY_STRING :
  • REDIRECT_STATUS : 200
  • REDIRECT_URI : /dispatch.fcgi
  • REMOTE_ADDR : 123.225.61.66
  • REMOTE_PORT : 49556
  • REQUEST_METHOD : GET
  • REQUEST_URI : /post/show/17434/hatsune-miku-vocaloid-2
  • SCRIPT_FILENAME : /home/moe/danbooru/public/dispatch.fcgi
  • SCRIPT_NAME : /dispatch.fcgi
  • SERVER_ADDR : 67.159.46.66
  • SERVER_NAME : moe.imouto.org
  • SERVER_PORT : 80
  • SERVER_PROTOCOL : HTTP/1.1
  • SERVER_SOFTWARE : lighttpd/1.4.18
  • Process: 60782
  • Server : hatsune.imouto.org
-------------------------------
Backtrace:
-------------------------------

On line #18 of post/show.html.erb

15: This post was deleted. Reason: <%= format_text(@post.deletion_reason, :skip_simple_format => true) %>. MD5: <%= @post.md5 %>
16: </div>
17: <% end %>
18: <% if !@post.is_deleted? and @post.use_sample(@current_user) %>
19: <div class="status-notice" style="display: none;" id="resized_notice">
20: This image has been resized. Click Original File to view the original image.
21: <br>

app/models/post.rb:1142:in `use_sample'
app/views/post/show.html.erb:18:in `_run_erb_47app47views47post47show46html46erb'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `compile_and_render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in `render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in `render_file'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1100:in `render_for_file'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:836:in `render_with_no_layout'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:262:in `render_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1153:in `default_render'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1159:in `perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:725:in `run_before_filters'
app/controllers/application.rb:139:in `cache_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:469:in `send!'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:469:in `call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:722:in `run_before_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:695:in `call_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in `process_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in `with_signal_handler'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in `process_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in `process_each_request'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:612:in `each_cgi'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:609:in `each'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:609:in `each_cgi'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in `process_each_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in `process!'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in `process!'
/home/moe/danbooru/public/dispatch.fcgi:24
Saving images
I'm having a problem saving images with this new image preview thing. When I right click the "Original file" link and go to "Save Target As" (in Opera), it doesn't save completely. In fact, only about 1/4 of the picture is actually saved correctly; the rest presents an "unexpected end of file".

On the other hand, opening the link to the image and saving it like that works fine.
The "original file" link is just a regular anchor link (with a JavaScript onclick hook on it for switching the main view); there's nothing special about it. It goes to the same place as the direct link on the index. Just tried it in Opera and it works for me.

You might want to try a download manager. Most in-browser downloaders are (for no reason I can guess) useless...
petopeto said:
The "original file" link is just a regular anchor link (with a JavaScript onclick hook on it for switching the main view); there's nothing special about it. It goes to the same place as the direct link on the index. Just tried it in Opera and it works for me.

You might want to try a download manager. Most in-browser downloaders are (for no reason I can guess) useless...
Yeah, I'm aware of that, but if you right click the link, the address is the .jpg file for some reason. If you go to "Save Target As..." it is also a .jpg file most of the time.

I tested with this: http://moe.imouto.org/post/show/18170

Go to "Original file (1240x1754, 266K)" and right click it. Go to "Copy Link Address" and paste it. I get:
http://moe.imouto.org/data/81/c0/81c0c02fe837b8b8a1280bfc946c366d.jpg

Right click it and go to "Open in new tab". A new tab should open http://moe.imouto.org/data/81/c0/81c0c02fe837b8b8a1280bfc946c366d.jpg

However, when I simply click the link, the picture changes on that page (as it, I assume, should).
i usually do a DTAll on page=1 til whatever :)
That's the correct link to the image; what's the problem?
petopeto said:
That's the correct link to the image; what's the problem?
Opera doesn't like some of the javascript fucntions, I would recommend disabling image preview if you want to use Opera that badly
I see some rendering glitches after changing to the full display (this goes away if I dismiss the "this image has been resized" box), but I can copy the link and open tabs. That part doesn't use JavaScript.
Never mind, I realized now that I misread what you said originally; by "direct link on the index", I thought you were referring to the pictures on the index (rather than the stars underneath).

The problem was going to "Save As Target" wouldn't save the picture properly for whatever reason—it'd have an "unexpected end of file" and about 3/4 of the picture would be blank, even if I redownloaded it.

However, I think I'm fine now; I turned off image previews and so far I haven't seen the same problem as the one from saving the link's target.