Displaying 20 results from an estimated 100 matches similar to: "setting image resolution with Rmagick"
2007 Aug 07
6
Which spandsp & unicall version to use with 1.2?
Hi all,
Anyone have an idea which version of spandsp, libunicall, libmfcr2,
libsupertone, app_rxfax/app_txfax and chan_unicall I should use for the
latest asterisk 1.2?
Would that be the ones listed below?
http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.4pre4.tgz
http://www.soft-switch.org/downloads/snapshots/spandsp/test-apps-asterisk-1.2/
2006 May 04
3
File Upload problem when file is small, under 19k(read method returns nothing)
Hi
I hope someone can shed some light on this have searched a lot but found
nothing definite. This happens on Ubuntu and Fedora 2.
I am having a problem with uploading small files (images gif or jpeg
under 19k).
According to ruby documentation these are stored temporarily as StringIO
objects rather than temporary files (as is done with the larger file
uploads).
The problem is that when it
2009 Feb 17
1
cloning an already uploaded image using attachment_fu
Hi,
I have an Image model that is attached to a item. The image was uploaded
through attachment_fu. Now, I want to reuse the same image for a new
item. I tried several tips found online. For example in
http://danieloshea.com/articles/254-cloning-images
# Create a clone of an image and it''s thumbnails.
def create_clone
c = self.clone
self.thumbnails.each do
2007 Mar 28
1
attachment_fu & update_attributes... bug?
It seems that attachment_fu is a pretty popular plugin (it''s great), but
I''ve been having a terrible time trying to figure out an issue when
using "update_attributes". I''m storing files on the file system rather
than in a database.
It seems that when "update_attributes" is called with a new file,
upload_data= tries to copy a file that
2007 Dec 13
4
Attachment_fu problems on updates
On the creation of a member the member''s picture uploads as it should.
However, when updating the member, while selecting a new picture, an
error is thrown:
can''t convert nil into String
RAILS_ROOT: /Users/chris/Documents/Projects/Rails/CommunityCMS/trunk
Application Trace | Framework Trace | Full Trace
2007 Aug 22
8
How to spec an attachment_fu model
First off, I''m not trying to spec attachment_fu, I know it''s been tested.
But, I added some code to that model that I do need to test. Basically,
I need to somehow fulfill the "uploaded_data" property so I can actually
run my tests(otherwise they fail because of validations). The
"uploaded_data" field is what would grab the multipart data from form.
Here
2007 Jun 29
1
attachment_fu validation error
I have this class:
class Logo < ActiveRecord::Base
has_one :something
has_attachment :content_type => :image,
:storage => :db_file,
:max_size => 500.kilobytes
:thumbnails => {:web => ''150x100'', :pdf =>
''150x100''},
:processor =>
2009 Jul 24
1
Attachment_fu - watermark tmp file before saved to S3
Hi there,
I''d like to use RMagick to watermark an image in the tmp directory
before Attachment_fu saves it to Amazon S3.
I took a look at the callbacks available in attachment_fu. There''s an
''after_attachment_saved'' method but this would be too late, and a
''before_thumbnail_saved'' but this is no good because it''s for
thumbnails.
I
2010 Oct 05
2
Feature request for maildir style boxes
greetings,
i'd like to ask for a certain feature request.
dovecot:maildir_uidlist_recreate() to set the gid of new files based on
the parent directory group ownership and normally that's desired, an
appropriate security method. on our server, we use directory
permissions to more stringently isolate access between users and
services. we have three group ids used for this, and i'll
2009 Dec 14
2
4 crashes, dovecot 1.2.8, with backtrace
Program terminated with signal 6
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was
2009 Oct 15
2
FS Quota broken for delivering BIG message
Hi everybody.
I have Linux file system quota for users and enabled "fs quota" and quota
plugin for LDA. My test user is already deep over quoted:
---
Filesystem blocks quota limit
nfse:/export 23768* 10240 10240
---
1. If I tries to deliver _short_ message to user mbox - quota works:
$ echo "123123123123" | /usr/local/libexec/dovecot/deliver -d koc
---
Quota
2017 Aug 16
1
dotlock causing crashes
OS: CentOS 7 x86_64
Dovecot version: 2.2.31 (65cde28) (GhettoForge RPM)
Filesystem: GlusterFS, but working on changing that. Only one server is receiving activity.
Was getting messages about corrupt dovecot.map.index files. Changed to dotlock from fcntl to try to fix that.
Reading symbols from /usr/libexec/dovecot/imap...(no debugging symbols found)...done.
[New LWP 74012]
Core was generated by
2006 May 01
0
Upload problem when file is small/StringIO (read method return nothing)
Hi
I am having a problem with uploading small files.
These are StringIO objects rather than temporary files as with the
larger file uploads.
The problem is that when it is a StringIO rather than a temporary file
nothing is returned from the read method.
example code where "image" is the file upload form parameter, it works
fine if image is over round 19k but is it is smaller then
2006 Apr 29
0
Upload problem when file is small/StringIO
Hi
I am having a problem with uploading small files.
These are StringIO objects rather than temporary files as with the
larger file uploads.
The problem is that when it is a StringIO rather than a temporary file
nothing is returned from the read method.
example code where "image" is the file upload form parameter, it works
fine if image is over round 19k:
File.open(path_1 +
2007 Mar 11
4
Faking it... import local files into attachment_fu
Hello,
I''m working on an import utility that will match the functionality of
uploading an object of a model that uses attachment_fu for
thumbnailing, etc.
Rather than uploading the file via a form, I want to populate the
params[:image][:uploaded_data] with data from a file already on the
server''s file system.
So far, I''ve been able to copy to an instance of Tempfile
2018 Feb 23
2
Assertion during dsync receive
Hi,
I'm getting an assertion failed on the receiving side, causing syncs to fail for one user. The servers are setup so that
only one is receiving any traffic other than replication at any time. The one that's only receiving replications is the
one that's failing.
I've tried deleting the user's home on the receiving server, but it still crashes during the sync. Oddly, the
2017 Jan 24
1
Quota count does not work with lock_method=dotlock
On 24.01.2017 11:31, Tom Sommer wrote:
> On 2017-01-24 10:25, Aki Tuomi wrote:
>> On 24.01.2017 11:13, Tom Sommer wrote:
>>> On 2017-01-18 15:27, mkliewe at gmx.de wrote:
>>>
>>>> dovecot crashes when I switch the quota tracking from dict to count.
>>>
>>> I have the same problem, but I use 'dict:file' as quota backend -
>>>
2008 Sep 15
1
[attachment_fu] Allways triggering after_attachment_saved callback
Hi,
I use attachment_fu in one of my apps and recently I''ve realized that
udpates are taking too much time. After some debugging I''ve found that
attachment_fu is calling after_attachment_saved callback no mather if
attachemnt has changed or not.
For example this code:
after_attachment_saved do |photo|
logger.info "after_attachment_saved"
end
# in console - always
2010 Jul 11
0
Attachement_fu error when updating existing photos
Hi,
I am attempting to replace an exiting photo with a new one uploaded by
the user. I am using attachment_fu and I am coming up with the
following exception:
can''t convert nil into String
/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb:23:in
`join''
2015 Jul 18
0
Use cairo fallback resolution greater than 72dpi in cairo_pdf and cairo_ps in grDevices
The 'at a minimum' information requested by the posting guide is missing.
According to their documentation the cairo default fallback resolution
is now 300dpi, and when I run your example on Fedora 21 that is what the
emitted postscript says it is.
You can easily alter the R code to set it to something different: see
http://cairographics.org/manual/cairo-cairo-surface-t.html for the