Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8981645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:23:17+00:00 2026-06-15T20:23:17+00:00

I am using paperclip version 3.x.x for uploading image .When i tried to upload

  • 0

I am using paperclip version 3.x.x for uploading image .When i tried to upload image i am getting 2 error,

Avatar C:/Users/ABC~1/AppData/Local/Temp/PNG_transparency_demonstration_120121214-6968-3t461n.png is not recognized by the 'identify' command.
Avatar C:/Users/ABC~1/AppData/Local/Temp/PNG_transparency_demonstration_120121214-6968-3t461n.png is not recognized by the 'identify' command.

My model,

class User < ActiveRecord::Base
      attr_accessible :name , :avatar
      has_attached_file :avatar, :styles => { :medium => "300x300>", :thumb => "100x100>" }
    end

View

<%= form_for @user , :url => users_path, :html => { :multipart => true } do |f| %>
  <% if @user.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>

      <ul>
      <% @user.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>
  <div>
    <%= f.file_field :avatar %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

I am using ImageMagic for processing image….
Is there anything i have to set in my Environment file.

Thanks in advance…..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T20:23:18+00:00Added an answer on June 15, 2026 at 8:23 pm

    Paperclip behind the scene use ImageMagick to process the images. You can use ImageMagick with the command identify.

    First check that you have installed ImageMagick.

    Second, check that you can process the files (.png, .gif, etc.) with the identify command from the command line. ImageMagick need to be installed/compiled with support for the different image formats.

    Third, setup Paperclip to tell it where it can find the ImageMagick identify command, it depends on where you installed ImageMagick, but you can setup it on a initializer (like /config/initializers/paperclip.rb) and put a content like

    Paperclip.options[:command_path] = 'C:/Progra~1/ImageM~1.8-q'
    

    But make sure that it points to the place where you have the identify command and ImageMagick installed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting the following error when trying to upload an image using paperclip
I'm using Paperclip to handle avatar's for users and currently set a default image
I tried storing the images in database using paperclip and it displays an error.
I'm using paperclip to allow users to upload a logo, which is stored in
I am using paperclip to upload user avatar.Evrery thing work well but when i
I am using Paperclip for uploading the Profile image in my application (rails) My
I am using Paperclip to upload an image to my Project model and I
I'm saving an image upload using Paperclip in Rails, which is working fine. has_attached_file
I am using paperclip to upload files to s3 storage. Once the file is
Currently I'm using Paperclip to handle my avatar uploads and usage in Rails 3.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.