Displaying 20 results from an estimated 1000 matches similar to: "Attachment_fu ImageScience FreeImage thumbnail quality"
2007 May 23
8
ImageScience, Mini-Magick and RMagick
I''m going to be generating thumbnails from user uploaded images. I''m
looking around at the libraries available to do this sort of thing and
there are three that look promising.
ImageScience -- http://seattlerb.rubyforge.org/ImageScience.html
Mini-Magick -- http://rubyforge.org/projects/mini-magick/
RMagick -- http://rmagick.rubyforge.org/
It looks like a lot of people are
2007 Dec 17
1
attachment_fu error? Help!
FreeImage exception for type ???: IPTC: Invalid key ''Tag 0x0275
Anyone seen this?
FreeImage exception for type ???: IPTC: Invalid key ''Tag 0x0275''
[RAILS_ROOT]/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/image_science_processor.rb:14:in
`with_image''
Thank you so much in advance for your help!
Mike
--
Posted via
2007 Apr 08
13
attachment_fu thumbnail not created
I followed the instructions on Mike Clark''s weblog and everything
works perfectly except the thumbnail column in my DB is alwas NULL.
I''m using S3 as my storage system. Anyone else having this issue with
thumbnails?
has_attachment :content_type => :image,
:storage => :s3,
:max_size => 500.kilobytes,
:resize_to =>
2007 Jan 22
1
imagescience
hi ya all,
i am tryin to deploy imagescience on a small app i made.
and i found no good tutorial/introduction on how to do so...
i installed the gem and all the dependencies but when I try to call the
ImageScience object:
uninitialized constant ImageScience
some code sample can save me.
thanks all,
K
--
Posted via http://www.ruby-forum.com/.
2007 Jan 17
18
mongrel memory usage ballooning and process stomping
Hi,
I have mongrel 0.3.14, with ruby 1.8.5, rails 1.1.6 and mongrel cluster
0.2.1, on debian sage 3.1 with apache 2.0, and fastthread 0.6.1.
I am load balancing 3 mongrel processes using the random port trick.
When I start mongrel the processes have about 60MB, but after some hour of
usage the memory ballons upto more than 180MB and the site becomes terribly
slow. Forcing me to restart mongrel
2007 Jul 11
7
Best way to upload an image and make a thumbnail
Hi, which is the best way to upload an image, keep that and also make a
thumbnail?
The images should not be stored in the database, but as normal image
files in a specific directory.
I think that for the thumbnail i should use rmagick, but for the upload
? (something which work with and without javascript, in every browser)
Thanks :)
--
Posted via http://www.ruby-forum.com/.
2007 Apr 21
3
attachment_fu thumbnails
howdy!
I had the problem that attachment_fu didn''t make a thumbnail, but
everything else worked. I read this post
http://www.ruby-forum.com/topic/104213 and added a parent_id column. now
I get the following error when I trie to add a photo:
undefined method `find_or_initialize_by_thumbnail_and_parent_id'' for
Photo:Class
my code is:
class Photo < ActiveRecord::Base
2008 Oct 14
0
Attachment_fu, db_file and Windows
I''m having trouble serving images which I have saved as db_files with
attachment_fu. I use this code to serve the images:
Controller --
class PhotoController < ApplicationController
def image
@photo=Photo.find(params[:id])
send_data(DbFile.find(@photo.db_file_id).data,
:type => @photo.content_type,
:filename =>
2006 Dec 15
6
RMagick=bad, ???=good
I know that Zed has made mention of the fact that using RMagick with
mongrel and rails is a bad thing. I''m currently using FlexImage (which
in turn uses RMagick) on my application and really haven''t had too
many problems. We get a restart for memory usage every 8-10 hours on
one mongrel of twelve running, but I''m not sure if that''s an RMagick
issue. Either way,
2011 Dec 29
1
rmagick and imagemagick
I am having issues loading imagemagick and rmagick on webfaction.
I have installed a rails app called balder that organizes images.
my main problem is that i can''t seem to upoload the image sthrough balder.
balder uses imagemagick and rmagick
when i use the console and do this:
irb(main):003:0> require ''RMagick''
=> nil
I don''t think rmagick is
2007 Jul 22
3
Attachment fu on windows
I''ve tried and tried. I couldn''t get freeimage installed. I got
mini_magick installed, but everytime I try Mike Clark''s tutorial, I
get the error ''Size is not in the list''. I found some people fixed
this by putting a sleep statement in their controller, but this didn''t
work for me. Any help out there?
2007 May 07
1
attachment_fu seems to be searching the wrong location for my images
I just installed attachment_fu and for some reason, it seems to be
looking in the wrong location for my images.
I have a Product model that belongs to a photo model. the photo model
has the attachment_fu installed and configured like so:
class Photo < ActiveRecord::Base
has_attachment :content_type => :image, #Allow
standard image formats
:path_prefix
2007 Dec 13
0
acts_as_attachment -> attachment_fu, db_system -> file_system
Hi
I currently have an app running with acts_as_attachment and db_system. I
would like to convert it to attachment_fu and file_system.
Has anyone done this? Are there any pitfalls? I am aware that the change
from acts_as_attachment to attachment_fu is just a matter of replacing the
plugins, but I am wondering about the switch from db_system to file_system.
Is it as easy?
Just fishing for
2008 Oct 25
1
attachment_fu replace thumbnail
hi.
I use attachement_fu and create this two thubnails of an image.
:thumbnails => {
:medium => ''380x>'',
:thumb => ''x100>''
}
Is it possible to replace the existing :thumb image with another image?
The main Image and the :medium should remain unchanged.
thanks
michael
--
Posted via http://www.ruby-forum.com/.
2007 Mar 28
3
attachment_fu Not Resizing
Hello,
Recently attachment_fu stopped resizing images for me. I''m puzzled
because before today it was resizing them and I don''t know what''s
changed. Here''s my code:
class Product < ActiveRecord::Base
has_attachment :content_type => :image,
:storage => :file_system,
:max_size => 18.megabytes,
2007 Apr 17
1
attachment_fu - propagating attributes to thumbnails
I have a model using attachment_fu (via has_attachment) and I''m
creating thumbnails for the attached images. I have an extra field
''foo'' that I''m validating on create with validates_presence_of :foo.
One problem arises when I upload an image:
The ''foo'' is not propogating down to the thumbnails. What should I
put in my model to grab the
2008 Sep 25
1
Will acts_as_paranoid work with attachment_fu?
I''ve got a problem in that users are deleting a paranoid model through
the application, including dependents. Some of these dependents are
paranoid too, but not the attachments. (I''m using DB file storage.) I
need to be able to un-delete these things and I''m now wondering if
acts_as_paranoid will work with models that use attachment_fu? If so, in
what model to I add the
2010 Sep 29
4
Best image upload plugin?
Hey everyone,
I''ve been dealing with Rails 3, Paperclip and Windows 7 for a few nights
now and don''t feel like I''m actually getting anywhere. I''ve hit config
issue after config issue and it''s a bit of a nightmare. Can anyone
recommend any other gems that will accomplish the same thing?
Thanks, Brandon
--
Posted via http://www.ruby-forum.com/.
--
2008 Jun 30
1
building theora for windows
Hi,
I?m trying to build a static theora library for windows from sources with
Visual Studio Express.
Building the ogg-library was a piece of cake, but after converting the
project-files for theora, I still get numerous errors, such as:
fatal error C1083: Datei (Quelle) kann nicht ge?ffnet werden:
"..\..\..\lib\dec\x86_vc\x86state.c": No such file or directory mmxstate.c
Probably
2007 Dec 06
0
saving the user id for thumbnails using attachment_fu
I am using attachment_fu to create thumbnails, and it is working
great. However, I am have a view with all my users thumbnails
displayed and am trying to make it so when you click on a thumbnail of
their avatar, it shows that users profile. In order to accomplish
this I have saved a user_id identifier for each avatar, but the
problem is that attachment_fu only saves this user_id for the main