Displaying 6 results from an estimated 6 matches for "mediumblobs".
Did you mean:
mediumblob
2006 Apr 27
7
SuperImage plugin
Greetings all,
This is the first release of the SuperImage plugin. The idea is you
upload images to the database, and then pull them out at any size you
want. Combine this with caching and it will stay light and fast.
More info and instructions are here:
http://beautifulpixel.textdriven.com/articles/2006/04/27/superimage-plugin-making-resizeable-uploaded-images-easy
svn:
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 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/.
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 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