Displaying 20 results from an estimated 50000 matches similar to: "Picture upload - picture gets chopped"
2006 Mar 28
5
Is it possible to upload file with form_remote_tag?
I have tried to upload a picture file with file_column plugin and
form_remote_tag, but no success.
When I do request.params.inspect it shows null for picture parameters.
With normal form the file uploads nicely, so is it possible to upload
file with form_remote_tag?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 25
3
file upload and check width and height of the picture
i have an file upload in my rails app and i''m saving the picture in the
filesystem.
i need to validate if the uploaded picture have a certain width and
height.
how can i do this
thank you very much
--
Posted via http://www.ruby-forum.com/.
2006 Mar 11
2
Customising FCKeditor
I would like to customise my FCKeditor-instance so that when the "add
image" button is pressed, it opens my own add_image popup.
In this popup i would handle the image upload/image browser/etc. tasks
with rails.
How can I open the popup and pass the picture information from there
back to FCKeditor''s textarea?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 30
1
Doubt on composite index
The AWDwR book has the following:
add_index :categories_products, [:product_id, :category_id]
add_index :categories_products, :category_id
The first, composite index actually serves two purposes: it creates an index which can be searched
on both foreign key columns, and with most databases it also creates an
index that enables fast lookup by the product id. The second index then
completes
2006 Apr 17
8
file upload
This is probably me having an issue with the mvc way of living.. .I''m
used to perl/php scripting...
I''ve got a photo blog I''m making... and in past iterations of this
website, I''d just name the photos after the id of the entry. For
instance:
/photos/id.jpg
/photos/id_thumb.jpg
However, I''m having trouble finding an easy way to do this with rails.
2011 Aug 05
1
uploading picture
hi
how to upload picture in rails 3... as in the file attached with this mail.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2007 Apr 10
3
FLAC: software for displaying embedded picture
hi,
I tried to put a picture in a FLAC file (I'm learning all the command line
options), but unfortunately I can't find any software that can display the
picture when playing the file.
I tried Winamp, VLC media player, ... but none of them displays the picture.
Can somebody tell me what player I need to actually see this picture while
playing the FLAC file?
thx
-------------- next part
2007 Apr 11
1
FLAC: software for displaying embedded picture
hi,
does somebody else knows more software that can display the embedded picture
in FLAC files?
The software must run on windows.
thx
2007/4/10, Jud White <jwhite@cdtag.com>:
>
> I just installed foo_ui_columns and foo_uie_albumart, however the
> albumart plugin only supports images in the directory. Thought I'd let
> you know that path is a dead end (for embedded art) :)
2006 Jan 09
1
Saving an upload
I am creating a database for movies (films) and television shows (shows)
that will have has_and_belongs_to_many relationships with the pictures
table.
CREATE TABLE screenshots (
id serial NOT NULL,
filename character varying NOT NULL,
content_type character varying NOT NULL,
primary key (id)
);
CREATE TABLE films (
id serial NOT NULL,
name character varying NOT NULL,
2007 Mar 29
2
FLAC: flac t-shirt picture
Hi,
Is there a picture somewhere on the Internet of the FLAC t-shirt? Then I can
see how it looked because I'm making my own T-shirt just with my inkjet
printer and T-shirt transfer paper. I wanted to make it the same as the
original because it seems there are not T-shirts left :(
I hope somebody has a picture of it
thanks in advance
-------------- next part --------------
An HTML
2008 Jun 15
11
Ouch! Can't figure out this file upload issue...
Okay, so this is driving me crazy. I''m trying to do a file upload
using code from a book.
What happens:
I get wrong number of arguments (1 for 0) in the upload controller
save action. No idea why.
Schema:
The schema for the picture model object is just a textfield named
comments and a binary field called data.
Upload controller:
def get
@picture =Picture.new
end
def save
2007 Aug 23
4
Calculating diameters of cirkels in a picture.
Hi,
Maybe this is more a programming questions than a specific R-project question, but maybe there is someone who can point me in the right direction.
I have a picture of cirkels which I took with a digital camera.
Now I want to use the diameter of the cirkels on the picture for analysis in R.
I can use pixmap to import the picture, but how do I find the outside cirkels and calculate the
2010 Mar 09
1
create picture (k -the nearest neighbours)
Hi
I want to create a nice picture about my result of k -the nearest neighbours
algorithm. Here is my easy code:
#################################
library(klaR)
library(ipred)
library(mlbench)
data(PimaIndiansDiabetes2)
dane=na.omit(PimaIndiansDiabetes2)[,c(2,5,9)]
dane[,2]=log(dane[,2])
dane[,1:2]=scale(dane[,1:2])
zbior.uczacy=sample(1:nrow(dane),nrow(dane)/2,F)
2007 Mar 19
1
HOWTO: Multiple file upload with file_column
Lots of requests but not many answers on this topic. Here is how you do
it:
FORM:
<table>
<% for i in 1..6 %>
<tr>
<td class=''Label''><label>Title</label></td>
<td><input id="<%= "picture_#{i}_title" %>" name="<%=
"picture[#{i}][title]" %>" size="30"
2008 Dec 03
2
Making a picture that is wide and small height
How do I make a picture that is a horizontal strip? I tried
> plot(x=c(1,2,3,4),y=c(1,1,1,1)) #works but screen image is square.
> pdf("ratio.pdf",height=1,width=6)
> plot(x=c(1,2,3,4),y=c(1,1,1,1))
I got the following error message:
Error in plot.new() : figure margins too large
Is it possible to produce an on-screen picture that is a horizontal strip?
(I use Mac Os X
2006 Jan 09
3
Chopped files when downloading from database
I have some files stored in db. When I try to download these I only get
65535 bytes from the database even if the file is a lot bigger. Is it a
Rails setting I''ve missed or a database setting? Anything else?
Using Rails 1.0, WinXP and MySQL4.1
/Marcus
2006 Jul 26
4
Upload File
I got this error:
NoMethodError in PictureController#new
You have a nil object when you didn''t expect it!
The error occured while evaluating nil.uploaded_file=
and the line code is here:
@picture.uploaded_file = @params[''picture_file'']
--
Posted via http://www.ruby-forum.com/.
2006 Aug 10
4
How to upload all images in a folder?
Instead of making a form to upload one picture at a time, I''d like to
have the File Column plugin accept a directory, and have each picture be
uploaded and thumbnails created (w/ RMagick).
Has anyone done this?
Anyone have a good idea where to start if I were to do it on my own?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2008 Sep 05
3
how to draw the legend about color from 3d picture
I have drawed a picture with persp, it's 3d map with different color,
indicate different altitude. In gnuplot, the corresponding command
'splot' will generate a picture beside to indicate the relationship
between color and altitude. But in R, how to draw it? I have read the
manual of legend, but they are all about how to draw a legend with
colored text, not a continuous varing color
2010 Aug 16
1
xyplot - I can't find colors in my picture
Hi,
Anybody can tell me why I don't have colors in my picture?
library(lattice)
my.pch<-c(17,16,15,18,20,9,10,12)
my.fill<-c('yellow','black','green','red','blue','cyan','magenta','pink')
wzorzec1<- c(1,3,2,4,6,4,2,3)
wzorzec2<- c(5,3,6,6,2,3,4,1)
a<-factor(wzorzec1)
b<-factor(wzorzec2)