search for: imageupload

Displaying 8 results from an estimated 8 matches for "imageupload".

2012 Apr 02
0
tinymce-rails-imageupload
Hi. I have a beginner level. And I can not get the image url (i do not know how). https://github.com/Atlantia/tinymce-rails-imageupload Create name = params[:file].original_filename directory = "public/data" #create the file path path = File.join(directory, name) #write the file File.open(path, "wb") { |f| f.write(params[:file].read) } Render image: { url: view_context.imag...
2011 Dec 10
2
Can't get GTA San Andreas to work on Linux
...aphics HD - OS : Linux Mint 11/Kubuntu 11.04, both 64-bit OS - Wine 1.2/1.3 - DirectX 9.0c, same result with no DirectX - Worked perfectly on my Windows 7 at work - Also, it's a non install version of the game. Just unzip and execute. Here is a screenshot of how it appears: [Image: http://imageupload.org/thumb/thumb_147516.jpg ] (http://imageupload.org/?d=DEAD9E231)
2011 Feb 07
1
Problem for migrate Debian (Vmware) to XEN
...ware Server 2.0 for use Xen source. The process has worked but I when start virtual machine (Debian) show message *Warning boot device may be renamed . Try root =/dev/sda1. *This problem hasn''t relationship with XEN ? Sombody can help me ? This link has screenshot problem --> http://imageupload.org/?di=312970843787 Thank very much . Bruno Steven -- Bruno Steven - Administrador de sistemas. *CompTIA Security+ - Code: JYN7BD9BJGRECFM8 * *LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4 * *MCP/MCSA Windows 2003 - TranscriptID: 793804 / Access Code: 080089100 * ____________________...
2011 Nov 25
2
Haruki Jade Dynasty Problem
Today i tried running this game but got stoped by error. You can get the game at: http://www.harukijd.com/ with patch. This are the logs i collected from console: > > fixme:shdocvw:PersistStreamInit_Load (0x12e368)->(0x160948) > fixme:shdocvw:PersistStreamInit_Load (0x12e7b8)->(0x160948) > fixme:shdocvw:navigate_url Unsupported args (Flags 0x4b8f28:10; TargetFrameName
2008 Sep 25
2
jquery, format.js and IE
...e code. Also note that this is for an image upload, so it''s not a real AJAX request, and I''m using the jQuery Form plugin to post to an iframe. The details of my ajax call: var options = { url: /pictures/1.js, iframe: true, beforeSubmit: prepImageArea, success: imageUploaded, dataType: ''script'', beforeSend: function(xhr) {xhr.setRequestHeader("Accept", "text/javascript")} } And my respond_to block: respond_to do |format| format.html { redirect_to edit_picture_path(@picture) } format.js { render :...
2012 Aug 25
0
accepts_nested_attributes_for and fields_for not working!
...es, :dependent => :destroy has_many :dinners, :dependent => :destroy accepts_nested_attributes_for :lunches, :dinners, :brunches end Brunch, lunch, dinner models: class Lunch < ActiveRecord::Base attr_accessible :menu_id, :lunch_menu belongs_to :menu mount_uploader :lunch_menu, ImageUploader end Menu Form: <%= form_for @menu, :html => {:multipart => true} do |f| %> <% if @menu.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@menu.errors.count, "error") %> prohibited this menu from being saved:</h...
2013 Sep 19
0
Performance problem generating URL for thousands of images, due to hitting HDD for each one
Hi, I have a model where I''m using Carrierwave to let users upload their avatars. I have one version for the avatar, cropped to a square called "cropped". class User mount_uploader :avatar, AvatarUploader end class AvatarUploader < ImageUploader version :cropped do process :crop end end In one of my pages, where I''m listing a few thousand users, each with their avatar, the call to generate the URL for these images is taking a long time. The problem seems to be that just by accessing to the model attribute that has t...
2007 Feb 01
2
file_column 2nd try....
Looks like my first question a couple of days ago wasn?t very clever asked, at least very sucessfull.... So, anyway...i will try it again: I have to prefix that I am far away from fully understanding the overall concept yet, and there?s no way to get some hints in the www so far, at least my resaerches dont lead to any helpfull stuff. image_controller.rb: def create MiddleMan.new_worker