similar to: delay displaying rmagick resizing of uploaded images

Displaying 20 results from an estimated 10000 matches similar to: "delay displaying rmagick resizing of uploaded images"

2006 Mar 27
3
RMagick and thumbnails
I''ve based my code on the Agile example for uploading files, pages 362-365. I''ve successfully loaded the Picture object to the database, but I come unstuck when trying to replicate this for a thumbnail version of the original image: thumbnail = Thumbnail.new thumbnail.name = ''thumbnail_'' + @picture.name.to_s
2008 Sep 15
1
RMagick Image Rendering Problem
RMagick Image Rendering I am fairly new to Ruby on Rails and I have been trying to upload images and create thumbnails using the "Processing Uploaded Images" recipe from the Rails Recipes book. The script uses RMagick to create thumbnails of the uploaded images and saves both the uploaded images and the thumbnails in the public/uploaded_images directory. However when I upload an image,
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 Feb 22
0
Cropping images with RMagick after uploading with acts_as_attachment
Hi, I''m using acts_as_attachment to create thumbnails in a filesystem (no problem there), but I''m having a rough time figuring out how modify the image to crop it, and then put it back into the filesystem. I think that I can pull the image OK and modify the Image OK with RMagick. So really I just need a pointer on putting it back into the filesystem as a modified thumbnail,
2007 Feb 13
4
PDF Thumbnail - RMagick
Hi, I need to create a preview of a PDF upload to a CMS I''m building. Does anyone know how to create a thumbnail of the first page of a PDF using RMagick? Any ideas welcome, ~ Mark -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2006 Mar 27
14
Image manipulation/resizing server-side?
I''d like to implement a system in a Rails app where I allow the user to upload an image file, and then the app takes that image and manipulates it, saving a thumbnail, small, and original size version of the file to the server. How would I go about doing that? Thanks, Jeff -- Posted via http://www.ruby-forum.com/.
2006 Mar 05
4
Resizing images and creating thumbnails
Hi, 1. How to resize an image uploaded by a web form before saving it to the disk? (i need all uploaded images to have similar size) 2. How to create thumbnails? Is it enough if i specify small size of the image in html or would the image look horrible? Can i do it somehow in ''realtime'' using javascript? Or is it best to create thumbnail as a separate file? 3. How to get
2006 Aug 11
0
File column and rmagick not creating resizing some images
I am new to RoR. I am trying to use file_column and rmagick to resize images uploaded to my RoR app. The problem is that only images larger than the dimensions specified in my code will resize. For instance, if the uploaded image is 98x98, then the new images will remain that size. How can I enlarge images using file_column and rmagick? Here is the code in my model: file_column
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,
2005 Dec 19
3
RMagick Resizing Issue
Hello ~ I have RMagick and file_column working in RoR. In my model I am setting up some standard sizes for the submitted photos. The photo files are created and named correctly, but the sizes are wrong. Only the second argument of my geometry call is used, with the width dimension being resized proportionately. file_column :image, :magick => { :versions => { "medium" =>
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/.
2008 Jul 29
1
can't crop images using ImageMagick
I''m using Attachment_Fu to save several thumbnails of a photo (resizing with ImageMagick) But when I try to crop them, nothing seems to happen to the file I want to drop and no error messages. I check the file timestamp of the thumbnail I want to crop and it looks updated. What''s strange is that ALL the other thumbnails and the original image''s file timestamps are
2008 Apr 15
4
is there a way to outsource image uploads?
I''m trying to keep my rails app lean and mean and want to avoid (if possible) dealing with image uploads, thumbnail generation, running RMagick etc. I was excited about Amazon letting you upload files directly from the browser to your S3 bucket (http://doc.s3.amazonaws.com/proposals/ post.html) but I couldn''t figure out how to generate thumbnails - has anyone figured this out?
2006 Aug 07
1
Image resizing
Does anyone know of a library to resize images aside from RMagick? RMagick looks awesome but I''ve heard it doesn''t really work on Windows, and it doesn''t work with Ruby 1.8.4. Also, all I need to do is resize some images. With RMagick that might be trying to swat a fly with a howitzer. Thanks. M. -- Posted via http://www.ruby-forum.com/.
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
2006 Jul 21
1
setting image resolution with Rmagick
Hi Has anyone had success with setting image resolution with Rmagick. I am resizing an uploaded image with Rmagick, problem is it keeps the original images resolution and I want to change it to 72dpi. <<<<<< code example >>>>>>>>>> # these are the various techniques I have tried when and after reading the file, trying any or all of them does
2009 Apr 16
6
Using Paperclip::Processor and RMagick to sharpen my thumbnails
Hi, I''m brand new to RMagick (and pretty new to Rails for that matter!). Right now, site owners are allowed to upload product and ingredient photos to the website. Everything works great, ingredients are sized down and proportioned correctly...the problem is that the resulting images are so blurry! So I''ve been doing some research and it looks like Paperclip::Processor may be the
2006 Apr 09
2
Substruct v0.6
I just put the finishing touches on Substruct v0.06. As always, you can check out a demo over at http://substruct.subimage.com/ What''s new? Version 0.6 --------------------------------------- Added: - Tagging for products - Maintenance of product tags - Automatic image thumbnail / small size creation via RMagick Updated: - Better shopping cart experience with AJAX cart
2006 Apr 23
2
file_column and Thumbnails
I see that the SVN version of the excellent file_column plug-in can create thumbnails using the url_for_image_column helper. This uses Rmagick to create the thumbnail... Quick question... Let''s say the file is a TIFF image - can the helper create a JPG version of the thumbnail for display in the browser? Curious if the plug-in can handle that transform with some creative use of the
2006 Aug 15
5
Conditional extend of active record
Hi list, I''m trying to figure out the best way to add some functionality to active record. I have a table of files, and need to write a set of core functions that do different things depending on the type of file eg: class file < ActiveRecord::Base def resize ....does stuff end end the problem is the "....does stuff". For example, if the file is an image it