similar to: Resizing images and creating thumbnails

Displaying 20 results from an estimated 10000 matches similar to: "Resizing images and creating thumbnails"

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
2010 Nov 11
1
samba over internet slow with images/thumbnails
Hello, Iam providing access to many images on a share to windows users from my linux samba over the internet. The problem is that I need thumbnail viewing because of the nature of this library and thumbnails take to much time to load it seems as though it is actually loading the entire image to then display the small thumbnail. Is this true? Also isnt there some kind of caching that can be
2006 Jun 07
7
file_column image versions
does anyone know much about resizing different versions of images with file_column? i tried it and everything works fine, but my question is can you do more than just make sizes with a version of image? i''m working on a photo album and i would like to resize the image to a medium size, but create a thumbnail as well and crop anything left to make the thumbnail a perfect square. --
2006 Jan 10
3
Serving lots of images to only registred users
Hello guys, I am building a photo website and I have some questions before I really start programming the site. My system will be Debian + lighttpd + mysql +fastcgi + ImageMagick I plan to use file_column for image handling/verification and thumbnail creation. My question is; I need to store images in a place outside of webroot so only registered members can see them. To serve them secure
2006 Jan 20
2
Creating thumbnail on the fly
I was doing some research about creating thumbnail images on the fly after an image has been uploaded in a form, but for some reason it''s not working for me. I''ve downloaded ImageMagick 6.2.5 for Mac but when I run a test (identify image.gif) it gives me this error: dyld: Library not loaded: /sw/lib/libjpeg.62.dylib Referenced from: /Developer/ImageMagick-6.2.5/bin/identify
2006 Feb 24
1
File Column
Has anyone any experiance with the FileColumn plugin. I''m trying to create thumbnails, and also alow non picture uploads. Here''s some working code, but if I try and upload a zip, it says ''File invalid image''. Is there anyway of having both image uploads (and thumbnail generation) while also allowing non image uploads? class Entry < ActiveRecord::Base
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
2006 Mar 08
6
best practices for handling uploaded images and capistrano
Quick question: I am going to use the file_column plugin to manage uploading thumbnails. By default the images are stored in the public/ dir of the rails project. The problem I see is that when capistrano redeploys a new build and symlinks it in none of the images will be in the new public/ dir... Does anyone have a solution for this? Thanks, Zack -------------- next part -------------- An
2005 Oct 18
3
hand writing sql for eager loading of thumbnails
Can anyone point me to a resource for hand coding some sql so I can create my own for the following models: I''m using single table inheritance to store related objects eg: Thumbnail < Image < File :: ActiveRecord:Base Image has_many thumbnails Thumbnail has_one image When I come to list thumbnails I''d like to be able to: 1. List all images relating to a product 2.
2006 Mar 08
3
attribute or instance method or what?
Hi! Uhm are attributes just something like additional members of a class, other than those that come from the names of columns in the table? I''ve got images table, which has ''name'' column. I''ve added support for creating thumbnails out of uploaded pictures and i''d like to have an easy way of accessing them in my views. How to do it? I.e. my 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,
2006 Jun 20
0
file_column Trying to Create Thumbnails of Non-Image Files??
Howdy. We use the handy file_column plug-in in some of our apps. We have a model with a file field and we upload both images and non-images into this field. It is specified as follows: file_column :file_uri, :magick => {:versions => {:thumbnail => {:size => ''200x''}}} Well, it works great for images but for non-images, the save fails. The root cause is an
2006 Jun 01
9
More flexible file column?
The file column plug-in is great, but there is a problem with it. Well, two... But the other is well documented now. :^) Consider a time when you''ve created a CMS for a client and it''s been in use for over a year. Say 1500+ images have been uploaded so far. Now the client comes back with a simple request... ''Can you change the thumbnail size to 80/90, rather than
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
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
2012 Mar 29
4
link Explorer Shell extensions to Gnome thumbnailer
Programs with special uncommon file formats (not jpg) often register a shell extension in Explorer that offers thumbnails for these files (since the files otherwise wouldn't have previews). When I trigger in a Wine application (eg. SketchUp) the File Open dialog, I can see previews of the files (skp files) in the preview panel. This means the shell extension does work in Wine. The Shell
2008 Jun 30
1
javascript onclick for thumbnails
Hi, i was struggling for a function where only 1 thumbnail should be active and others inactive when clicked on the particular thumbnail. code: 1. view: 2. <script type="javascript"> 3. function PlayVideo_options(videoFile, id) { 4. document.getElementById(id).className = ''video_option active_video''; 5. } 6. </script> 7. 8.
2006 Jun 16
4
Depot App: Upload Images
Hello, I''m a newbie to Ruby on Rails and like many others, I have been working through the depot application in the Agile Web Development book. I was wondering if anyone had enhanced the depot application to include the upload of images for each product? The following describes the sort of thing that I have been asked to produce for a client, so apologies if the information is not
2008 Mar 14
2
attachment_fu attributes in db
I''m using file_column for upload images. now,I want to use the plugin attachment_fu. I have seen that for use it, i must create the attributes like: class CreateMugshots < ActiveRecord::Migration def self.up create_table :mugshots do |t| t.column :parent_id, :integer t.column :content_type, :string t.column :filename, :string t.column :thumbnail,
2007 Jan 08
6
Thumbnail plugin
Hi, With some help from Quinn_Storm, iXce, maniac103, mikedee and KristianLy :), I've managed to modify switcher.c and make a new plugin: thumbnail. The plugin shows thumbnails of windows when cursor is moved over a task button in taskbar. Screenshot: http://pix.nofrag.com/b0/7a/051d45e25bfffed09eeb9b00e383.jpeg Download: