similar to: SuperImage plugin

Displaying 20 results from an estimated 110 matches similar to: "SuperImage plugin"

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. --
2010 May 03
7
rendering images dynamically
Hi, I have a rails application where I respond to a request by fetching image urls from various web api calls and need to display them as they come available. I am able to display all the images once I get them all, but that causes an unacceptable delay for my user. One approach I am trying is, from my controller, set an @image variable, and then pass in a block to the model that retrieves the
2007 May 02
1
problem in: img_options["size"] = img_size
hi guys, I have show_image problem. I have the following code in application_helper.rb in my rails project def show_image(src,img_size) img_options = { "src" => src.include?("/") ? src : "/images/#{src}" } img_options["src"] = img_options["src"] + ".gif" unless img_options["src"].include?(".")
2006 Mar 21
4
activerecord - mysql blobs...
I''m struggling with activerecord and mysql blobs (uploading files)... blobs over 400K-ish cause the below exception... ActiveRecord::StatementInvalid in File#upload Mysql::Error: Lost connection to MySQL server during query: I''ve tried blob, mediumblob, and longblob... I''m using windows xp for development - and have not installed the mysql gem... simlar google
2006 Jul 05
1
send_data image
I''m trying to display an image in a view from MySQL, but I''m not sure where to put the send_data call. Any help would be great. :) -- Posted via http://www.ruby-forum.com/.
2008 Oct 08
11
Using image_tag and send_data
I am using image_tag to load an image that I''ve saved to the database (using attachment_fu if you''re curious but that''s probably not relevant here): VIEW <%= image_tag ''/photo/get_image/5'' %> CONTROLLER def get_image @photo=Photo.find(params[:id]) send_data(DbFile.find(@photo.db_file_id).data, :type =>
2006 Apr 26
3
re-sizing pictures.....
So i followed the steps in the agile development book and everything is working just fine... i even added a few new functions to list and manage the pics. but what if i start uploading big pics? i don''t want to have huge desk-top size pics taking up the whole page all the time. right? so does anyone have a sort-of thumbnail thing they''d be willing to share? any help would
2006 Aug 05
3
Four Days on Rails
I''ve been reading the tutorial and I have problems with the TinyInt(1) for the attribute "item.done". I thought this thread would be the best to post it. I''m using Rails 1.1.14. When in the partial template _list_stripes appears: <%= list_stripes["done"] == 1 ? show_image("done_ico.gif") : "&nbsp;" %> it always returns the
2006 Jun 07
1
Upload to DB hang mentioned in wiki
I''m uploading files to a mysql database, using a mediumblob size. Following the wiki here: http://wiki.rubyonrails.org/rails/pages/HowtoUploadFiles , I got past the first mysql 500kb limitation with the max_allowed_packet = xM trick, setting it to 1000M. However, as the person at the very bottom of the wiki notes, I too cannot upload more than around 10mb. I also tried the suggested
2007 Jun 17
1
Problem: Upload file size limit to 500KB
hi, i''m sure some of you had come across this problem before, but i was unable to find the answer after spending quite some time searching. i have a basic file uploader, code similar to rails recipe (or rails manual). problem occurs when i try to upload files (images) greater than 500KB. the largest file i could upload was 493KB and i''ve uploaded a bunch files under 490KB and
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
2006 Jun 07
0
Create new Image Plugin?
I''m working on a CMS for some time now. I need some kind of functionality to deal with images. As I know there are to plugins available: SuperImage and FileColumn. Neither of these have exactly what I want. What I want is a plugin with the following functions: - A poppup window (or ajax field) where you can search for, scroll trought pictures, find the one you will have, press on that,
2006 Jan 30
2
Rake and NOT using schema.rb for clone_structure_to_test
Is there a way to specify not not use schema.rb but instead using a native sql file to clone structure to the test db? Schema.rb doesn''t really work that well for mediumblobs ... Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Jul 18
0
another 2 newbie questions
Hey all, Ok I have three tables: Images(id,name,dirid) #dirid is a foreign key to Album.url, the path to the image Albums(id,url) Tags(id,name) ImagesTags(image_id,tag_id) I have a HABTM relation for tags and images and a belongs_to/has_many relation for albums and images. Now in my views/tag/show.rhtml I have this: <% for album in @albums %> <% for image in @images %> <% if
2005 Dec 18
1
Showing images secure way
Hello all, I am working a big project for a kind of image storing and sharing website. Whole idea is to be member and store your images on the site and make some of them public. For security reasons; I store images outsite of public and in Administration section def show_image image = Image.find(params[:id]) raise "You are not owner of this image" if image.member != @member
2013 Apr 30
0
[ANNOUNCE] pixman 0.29.4 now available
A new pixman release 0.29.4 is now available. This is a release candidate for a stable 0.30.0 release. News in this release: - More fast paths in the MIPS DSP r2 backend [Nemanja Lukic] - Better-looking gradients [S?ren Sandmann] Plus bug fixes and improvements to the test suite. Please test, and report bugs to pixman at lists.freedesktop.org or file them at
2006 Dec 26
0
[806] trunk/wxruby2/samples/treectrl: Restored demonstration of use of icons and fonts within TreeCtrl
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Sep 05
0
rake craziness with Migrate as a dependency
Hi everyone, For one of our projects we have a need to deploy and maintain a demo. As a result I''ve attempted to setup a set of rake tasks for the job. My goal is have one rake task called "deploy_demo" which purges the database, migrates to the current schema, and loads the db from a set of fixture files in a specified location. I''ve written two new tasks the perform
2006 Jun 06
8
How do I wrap a <%= link to %> around an image?
I''ve got a bunch of dynamically generated link paths that I want to use to link some dynamically-generated image paths. Specifically, I want to link thumbnails in a gallery to the larger images. But I''m stymied by Rails'' syntax. I can''t figure out how to do this. I tried this: <%= link_to(image_tag("../../images/photos/photo.photogroup/TN_
2007 Mar 29
0
[928] branches/wxruby2/wxwidgets_282/samples/treectrl/treectrl.rb: Fixed on_insert_item, call to insert_item had arguments in wrong order/missing.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: