Displaying 20 results from an estimated 50000 matches similar to: "how to change photo size from 300k -> 100k?"
2012 Jan 04
1
Image Croping in simple way..
Hi All,
From the past two weeks i am working on image croping using
ImageMagic,Paperclip gems.It''s big headache to install ImageMagic
gem.actually i am hosting my site in engineyard.so it''s difficult to
configure ImageMagic in engine yard.
can anyone please give me a suggestion to do image croping in ror.
thanks,
manikyalarao.p
--
You received this message because you are
2012 Oct 27
7
Photo Paperclip::CommandNotFoundError
Hi all,
I am using paperclip plugin. when i am trying to upload photo i am
getting this error " Photo Paperclip::CommandNotFoundError "
and i am getting this error on my server production mode. if i run on
development mode on my server i can able to upload the pic. why this is
happening i have no idea.
can any help me out.
Cheers,
Kp
--
You received this message because
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
2011 May 20
4
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
Hello all,
I am trying to implement a feature in my app where a user posts a
message along with an image.
This is something similar to what is there in `www.diasp.org` .
I dealing with a pretty much outdated configuration of Rails 2.0.2 and
Ruby 1.8.7 , both running on Ubuntu 10.04 OS for project specific
purposes.
Initially, I found a problem in finding an appropriate plugin for
paperclip
2010 Apr 01
2
paper clip plugin error
coming this error in my paper clilp plugin m getting this error
* Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/
hrithik_roshan1,3756,1.jpg is not recognized by the ''identify''
command.
* Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/
hrithik_roshan1,3756,1.jpg is not recognized by the ''identify''
command.
* Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/
2011 Oct 05
3
Rails 3 routes with same name, different param name based on constraint
Hello there fellow RoR enthusiasts,
I have been wrestling with rails 3 routes for hours trying to accomplish
the following:
I want to use the *same url helper* (photo_url) in my views but have a
different route match made depending on the format of the parameter I
pass. Seems simple enough, right??
If the parameter looks like nn.nn.nnnnnn.whatever, I want the param
passed to
2010 Oct 29
8
Amazon s3 - paperclip - Rails3 - basic setup Noob simple problems
Hi all, I''ve got a feeling from other posts that this should be very
simple, but believe me I''ve looked around many tutorials / blogs, but
still cant even get the most basic setup working with paperclip and s3.
I am however pretty new to Rails, so could be doing something dumb.
-------
Firstly, to install and use paperclip and aws-s3 I''ve got them both in
by Gemfile:
2012 Aug 18
2
Paperclip images are not stored in my directory
It is my User.rb model,
My images are not stored in my assets directory..
has_attached_file :photo, :styles => { :small => "100x100#", :large =>
"500x500>", :thumb => "60x60>" },
:url => "/assets/users/:id/:style/:basename.:extension",
:path =>
2011 May 28
4
Rais 3, nested attributes problem with paperclip
I have two models, one model girl and one girl_photos (a file upload
asset). The only code I have in models which describes the association
is:
For the girl => belongs_to :girl and has_attached_file :photo
For the model girl_photos => has_many :girl_photos and
accepts_nested_attributes_for :girl_photos
I''ve tried to save as a nested attribute the photo, it saves the
association
2011 May 06
3
Rails 3 Routing problems
I have an UploadsController and UsersController where Users''
has_many :uploads'' via polymorphic attachment in uploads.rb.
Now we i navigate to http://localhost:3000/users/1/uploads
I get re-routed to Uploads#index and rendered is called multiple times
as shown below:
Started GET "/users/1/uploads" for 127.0.0.1 at 2011-05-06 22:00:38
+0100
Processing by
2011 Aug 27
5
image override*
Hi Team,
I have create one ruby on rails application ,i have one issue for
that image upload ,the image will override the some user , so any can solve
the issues
************************
contoller
class PhotosController < ApplicationController
# GET /photos
# GET /photos.xml
def index
@photos = Photo.all
respond_to do |format|
format.html # index.html.erb
2010 Apr 05
5
paperclip question
Hi All,
My application is using paperclip and its working fine without any
problems, I am able to generate the thumb images and big images from
actual uploaded images. There are many images already uploaded by the
users. Now I want to create small images from the original uploaded
image. For the newly uploaded images its working fine but how can I do
the same for already uploaded image??
if
2013 Jan 25
4
store pdf directly to amazon
Hello Everyone,
I am using wicked pdf and rails 3.2.8.
I can generate pdf (html to pdf).
How can i store my pdf file into amazon s3 without storing in *Local.*
*
*
*Please help*
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
2011 Jan 03
2
Adding style to model (paperclip)
hello,
I have a model (item) with one attachment (photo) and one style (small):
class Producto < ActiveRecord::Base
has_attached_file :photo, :styles => { :small => "50x50"},
end
I would like to add a new style (:large), so I modify item.rb:
class Producto < ActiveRecord::Base
has_attached_file :photo, :styles => {{ :small => "50x50"},{ :large =>
2010 Mar 30
2
setting up has_many
Do I have to manually set a column in a dependent table for the id of
the object to which it belongs?
I have a collection of objects called photos that are owned by a
analysis object. When I try to show an attribute of each of the photo
objects I get this error:
Mysql::Error: Unknown column ''photos.analysis_id'' in ''where clause'':
SELECT * FROM `photos` WHERE
2011 Sep 08
10
Image upload with progress bar
Hello there,
I try already third day to find a way, how to improve my upload about
progress bar. I use for upload of images the paperclip gem and in my app
jQuery library.
Could anyone give me, please, any help or tip, how to do? I tried to
search, read a discussions, but I still don''t know, how to do...
So, thank you so much for every advice.
--
Posted via
2010 Sep 15
5
Hide an image in show.html.erb
I have the following "show.html.erb" script, and I get as an output TWO
images since I use a method to draw an image.
How can I HIDE the RESOURCE image?
Thanks.
Here is the script:
<canvas id="line" height="512" width="512">
</canvas>
<p id="notice"><%= notice %></p>
<p>
<b> Name </b>
<%=
2013 Feb 20
1
Ruby on Rails developer opportunity
Hello. We currently have an opportunity for a R-o-R developer to support an
existing photo database. The time frame is from now until the end of June
and the budget is 200 hours. The candidate has to be a U.S. citizen. Please
let me know if there is an interest.
Contact: konstantine.boukhvalov-2tTMhPARiYZBDgjK7y7TUQ@public.gmane.org
Subject: R-o-R developer
Thank you.
Konstantine G.
2011 Oct 10
2
nested attributes question
Hi,
I have a product that has many photos, so when creating a new product
the user can upload as many photos as they want. This all works fine
using nested attributes for. I want the user to be able to set one of
the photos as the default/primary photo, so i have played around with
using a radio button to decide which photo to select as the default
but i cant seem to figure out how to save this
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
2010 Mar 07
8
Parsing XML file with no style info with Hpricot
Hello,
I''ve been trying for hours to parse an XML using Hpricot. Usually it''s
not a problem. Here''s my simple code:
#This works and outputs the proper xml data
@url1 = ''http://www.sportingnews.com/stories/sportingnews/MLB/rss.xml''
@page1 = Hpricot(open(@url1))
<%= @page 1 %>
#This does not work, and I''m scratching my head
@url1 =